Reverse Engineering for Beginners

(avery) #1

CHAPTER 85. MILLENIUM GAME SAVE FILE CHAPTER 85. MILLENIUM GAME SAVE FILE


...> FC /b 2200save.i.v1 2200SAVE.I.V2


Comparing files 2200save.i.v1 and 2200SAVE.I.V2
00000016: 0D 04
00000017: 03 04
0000001C: 1F 1E
00000146: 27 3B
00000BDA: 0E 16
00000BDC: 66 9B
00000BDE: 0E 16
00000BE0: 0E 16
00000BE6: DB 4C
00000BE7: 00 01
00000BE8: 99 E8
00000BEC: A1 F3
00000BEE: 83 C7
00000BFB: A8 28
00000BFD: 98 18
00000BFF: A8 28
00000C01: A8 28
00000C07: D8 58
00000C09: E4 A4
00000C0D: 38 B8
00000C0F: E8 68
...


The output is incomplete here, there are more differences, but we will cut result to show the most interesting.


In the first state, we have 14 “units” of hydrogen and 102 “units” of oxygen. We have 22 and 155 “units” respectively in the
second state. If these values are saved into the save file, we would see this in the difference. And indeed we do. There is
0x0E (14) at position 0xBDA and this value is 0x16 (22) in the new version of the file. This is probably hydrogen. There is
0x66 (102) at position 0xBDC in the old version and 0x9B (155) in the new version of the file. This seems to be the oxygen.


Both files are available on the website for those who wants to inspect them (or experiment) more:beginners.re.

Free download pdf