Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MM US VC save file manipulation - Documentation
- --------------------------------------------------
- The save data is stored in the EEP_NZSE file.
- The game ID is 000100014e415245 - the folder in sd:\savegames\ must be
- named like that for SaveGame Manager GX to be able to install it.
- Both 2 save slots are twice in that file, probably as a backup copy.
- Each save slot is 0x2000 bytes long (=8 kilobytes).
- If you want to edit a save slot, you have to edit both the "real" one and the "copy".
- --------------------------------------------------
- Addresses of save slots (0x2000 bytes each):
- Slot #1: 0x00000 to 0x01FFF
- Slot #1 copy: 0x02000 to 0x03FFF
- Slot #2: 0x04000 to 0x05FFF
- Slot #2 copy: 0x06000 to 0x07FFF
- Address of filename (0x8 bytes):
- Slot offset + 0x0002C to 0x00033
- Addresses of Lottery, Spiderhouse, Bomber code, checksum (0x32 bytes total):
- Slot offset + 0x00FEC to 0x0100B
- Address of settings (targetting, audio, ...):
- 0x18000 to 0x18005
- (unsure on this one, didn't take a closer look)
- --------------------------------------------------
- Filename details:
- The filename is 8 bytes. Each byte is 1 character of the file name.
- The characters are stored in the same order as ingame, so 0x0002C is the first character.
- HEX codes for characters are:
- 0 - 9: 00 to 09
- A - Z: 0A to 23
- a - z: 24 to 3D
- Space: 3E
- Dot: 40
- Hyphen: 3F
- --------------------------------------------------
- Lottery, Spiderhouse, Bomber code, checksum details:
- The Lottery code is 9 bytes. Each byte is 1 digit of a Lottery number.
- The Lottery digits are stored in the same order as ingame, so 0x00FEC is the first digit on the first day.
- The Spiderhouse code is 6 bytes. Each byte is 1 color of the code. The colors are 0123 = RBYG.
- The Spiderhouse colors are stored in the same order as ingame, so 0x00FF5 is the first color to hit.
- The Bomber code is 5 bytes. Each byte is 1 digit of the Bomber code.
- The Bomber code digits are stored in the same order as ingame, so 0x00FFB is the first digit of the code.
- The checksum is 2 bytes. It is an unsigned short.
- The checksum is the sum of all bytes prior to the checksum in the save slot.
- --> This means it's the sum of all bytes from 0x00000 to 0x01009.
- --> For a completely new, untouched slot it is 685B + filename + codes (lottery, spider, bomber).
- --------------------------------------------------
- Example (save slot #1, fresh file):
- _____________________________________________________________
- | ... |
- | 0x00020: 04 00 00 00 5A 45 4C 44 41 33 00 00 15 2C 31 2E |
- | 0x00030: 3E 3E 3E 3E 00 30 00 30 00 30 00 00 00 00 00 00 |
- | ... |
- | 0x00FE0: 00 00 00 00 00 00 00 00 00 00 00 00 01 02 03 01 |
- | 0x00FF0: 02 03 01 02 03 00 01 02 03 02 03 05 04 03 02 01 |
- | 0x01000: 00 35 FA 74 01 01 FA FB 8A AC 6A 1F 00 00 00 00 |
- | ... |
- ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
- The filename here is "Link ". (Hex: 15 2C 31 2E 3E 3E 3E 3E)
- ...
- The Lottery codes are "123, 123, 123". (Hex: 01 02 03 01 02 03 01 02 03)
- The Spiderhouse code is "R B Y G Y G". (Hex: 00 01 02 03 02 03)
- The Bomber code is "5 4 3 2 1". (Hex: 05 04 03 02 01)
- [The following part is static, don't change that: 00 35 FA 74 01 01 FA FB 8A AC]
- The checksum is "6A 1F" (685B + filename + the three codes).
- That means you can switch around the Bomber code without modyfying the checksum!
- The checksum can be easily calculated using the Windows calculator in scientific mode.
- Don't forget that everything you change in save slot #1 also has to be changed in the COPY!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement