close_btn
로그인, 회원가입후 더 많은 혜택을 누리세요 로그인 회원가입 닫기

기타 Game hacking - Hex editing save games

2017.02.12 20:53

처벌 조회 수:178 추천:3

Before the internet most people would get their cheat codes from gaming magazines, gaming guide books or a BBS. In my circle writing walk throughs and cheat sheets for games and posting them to "our" BBS was the quickest way to fame. Modifying your save games to gain endless wealth or lives is very simple as still a valid technique today, and I'm going to show you how to do it.

In order to follow this "tutorial" you will need five things:

  1. A computer
  2. The internet (to read this article and download software)
  3. A hex editor (I use HxD)
  4. A game where you can save your progress
  5. Basic understanding of hex (or this cheat sheet)

For my tutorial I am using the free game Decker. It is a "hacking" game based on neuromancer/shadowrun. Grab a copy from http://www10.caro.net/dsi/decker/, microwave some popcorn and lets have from fun.

So lets fire up decker, choose to start a new game then pick your character's name and image. Then as soon as we enter the game, save it. I named mine "first-save.dsg". This is your baseline file to compare against.
decker-character-initial.pngdecker-spend-some-cash.PNG
Next enter the shop and spend some of your $100 starting money. Then save the game again. This time I named mine "spent-money.dsg". Now comes the fun part, open both dsg files in HxD and use the Analyse->Compare->File compare operation (ctrl+k).

Here is where some basic hex knowledge comes in handy, we know we started with $100 (xx in hex) and you should know how much money you had left in your second save game. If the changes matches both values then you should have the right offset.
decker-compare-files-money-offset.png

Now we change this value to FF FF to give ourselves a decent amount of cash. Open decker again and load your modified save game to confirm that you have $65535 (FF FF = 65535). Now you have the option of spending this money, if you do then remember to save a new base line file for comparing against before you do the next step.

decker-compare-files-changed-money-offset.png
decker-character-richguy.png

Next it's time to do a mission, I picked a simple IO mission and found the controlling node right away. I disabled the alarms and disconnected from the matrix. This gained me a skill point. This is a great time to save a baseline file (which I didn't) and then you can load it and reuse it to find the offset for each skill. However I spent it right away on stealth. I then saved the file and opened spent-money.dsg and sneaky-guy.dsg in HxD to do a file compare. This time there was more than one change.
decker-mission-success.pngdecker-sneaky-guy.PNG

decker-compare-files-sneaky-first-change.png
The first change is in an offset we know is money.

decker-compare-files-sneaky-second-change.png
The second change is unknown to us, and although it has changed in value by 1, it does not match the before and after values we expect.

decker-compare-files-sneaky-third-change.png
The third change has the right values in the before and after files. I changed the offset to FF ,saved the file and opened it up in decker. With a stealth skill of 255 you don't have to upgrade your gear or software to complete missions with ease.
 
decker-hacked-stealth.png

However, it would be nice with some symmetry between the skills, hardware and software levels. I'll leave that as exercise for you.

Here are some other offsets you might want to change:

[ Character stats ]
00000010 06-08 = Money
00000010 0A = Lifestyle (00-04)
00000020 02 = Mission success/failure tracking value (for next attribute point?)
00000020 06 = Attack attribute/skill
00000020 0A = Defense attribute/skill
00000020 0E = Stealth attribute/skill
00000030 02 = Analysis attribute/skill
00000030 06 = Programming attribute/skill
00000030 0A = Chip design attribute/skill
[ Cyber deck stats ]
00000100 0D = CPU Rating
00000110 02 = Attack firmware
00000110 06 = Defense Firmware
00000110 0A = Stealth Firmware
00000110 0E = Analysis Firmware
00000120 02 = Coprocessor

 

번호 제목 글쓴이 날짜 조회 수
669 뉴 설렁탕 웹! file 나인티 2017.02.18 46
668 그체 db file 검은손 2017.02.18 16
667 프리서든 구축 강의영상 [1] file 낙연 2017.02.18 59
666 프리서든 구동기 노팅 [1] file 낙연 2017.02.18 34
665 프리서든 접속기 메이커 [1] file 낙연 2017.02.18 47
664 윈도우10 정품인증 file kimjijn554 2017.02.17 97
663 나비캣 8.0.18 한글 크랙버전 [1] file ErosRose 2017.02.17 127
662 그랜드체이스 접속기 file MBserver 2017.02.16 44
661 CD스페이스4.1 file 뭉커피 2017.02.16 7
660 ip2 ip내부 외부 보는프로그램 뭉커피 2017.02.16 12
659 안카메라 구버전 2,3.0 file pokerc 2017.02.15 9
658 엘소드 핵 file wfhwpfpaw 2017.02.15 155
657 버블파이터 원클릭 [1] file wfhwpfpaw 2017.02.15 135
656 CPU야 살아나라! CPU 최적화 (키젠 포함) file 천상비 2017.02.15 20
655 명함 내손으로 제작~ 굿굿 file 천상비 2017.02.15 15
654 시크릿 폴더 (폴더 비번걸기) file 천상비 2017.02.15 13
653 vmware 워크스테이션 (키젠 포함!) file 천상비 2017.02.15 30
652 오토 마우스 클릭 아시죵? 사용법 간단 file 천상비 2017.02.15 83
651 파이널 데이터 3.0 (복구 프로그램) file 천상비 2017.02.15 67
650 GTA 5 PC 버전 아이언맨 패치 file 천상비 2017.02.15 26
649 hp, 최근업뎃 인젝 file zxzx897 2017.02.15 13
648 T.Dism 2.0 윈도우복구 프로그램 file 닥터스 2017.02.14 24
647 카스온라인 Nar 파일 추출기 file tduby3705 2017.02.14 74
646 데카론 클라이언트 자동업데이트 만들기 file 픽스몬 2017.02.14 47
645 치트엔진 6.6버전 file 닥터스 2017.02.14 178
644 치트엔진 6.4. 한글패치 file 닥터스 2017.02.14 308
643 디아블로3 헬퍼 2.0버전 file 닥터스 2017.02.14 51
642 오버워치 이미지 에임도우미 file uoiiuo124 2017.02.13 149
641 ZeKixD [2] file bgshht 2017.02.13 550
640 칼무리 (Knife guys) file 유진쟝 2017.02.12 6
639 스타크래프트 한글판 file 유진쟝 2017.02.12 19
638 XGamma (엑스감마) file 유진쟝 2017.02.12 10
» Game hacking - Hex editing save games [3] file 처벌 2017.02.12 178
636 크로노스 명령어파일 [1] file 조아이씨 2017.02.12 184
635 카페자동출석기 file 빼애애액 2017.02.12 39
634 Cdaudio file 게임가드 2017.02.12 11
633 Rview 50.rev.2 file 게임가드 2017.02.12 7
632 Trc2Tr4 file 게임가드 2017.02.12 8
631 WinTrscp file 게임가드 2017.02.12 11
630 TombPcEditor file 게임가드 2017.02.12 21
629 TBuilder 2.3 file 게임가드 2017.02.12 8
628 TrEditor(Dx)3d.1.1.rev.1 file 게임가드 2017.02.12 9
627 (Textures Finder) View (sprites) files file 게임가드 2017.02.12 18
626 OGC Files ver. 1.0.18 season 2 manuel 2017.02.12 24
625 MuServer Season 11 - Test manuel 2017.02.12 33
624 SQL SERVER / PHP editar string manuel 2017.02.12 110
623 [Source] MuOnline Season 10 Episodio 2 - zTeam MuServer SX Part II file manuel 2017.02.12 41
622 I Have Files Season Chaos [Need Help] manuel 2017.02.12 11
621 Java Source Code - Launcher Mu Online manuel 2017.02.12 12
620 IGCN Season 9.5 (src-x9.5 9.5.1.15) SRC (April/2016) manuel 2017.02.12 23