Okay, so since we time warped a week and a half back, I’ll just repost my plans quickly:
SAVE NAME SAVE OFFSET SAVE LENGTH DEFAULT LENGTH EXPANSION SIZE
meta 0x00 0xD4 0xD4 0x0
suspend 0xD4 0x2E78 0x1F78 0xF00
save1 0x2F4C 0x1344 0xDC8 0x57C
save2 0x4290 0x1344 0xDC8 0x57C
save3 0x55D4 0x1344 0xDC8 0x57C
empty 0x6918 0x04 0x0 0x04
link_arena 0x691C 0xAE4 0xAE4 0x0
other 0x7400 ??? ??? 0x0
Notes:
80A3064 is a function that gets the offset of a section.
Allocation within a suspend save:
NAME OFFSET LENGTH NOTES
??? 0x0 0x4C Saves from location in *0x3000014 = 0x0202BCF0
??? 0x4C 0x38 Saves directly from 0x203A958
player_units 0x84 0xA5C Copies units first to 0x2020188(working space), then saves that. 51 units' space
??? 0xAE0 0x18 ???
??? 0xAF8 0x1C Not saved to?
all_other_units 0xB14 0xC30 Room for 60 units (50 enemies, 10 other)
trap_data 0x1744 0x200 Copied directly from 0x0203A614
??? 0x1944 0xB0 ?
??? 0x19F4 0x460 B/W/L data? Copied directly from 0x0203E894?
??? 0x1E54 0xC0 Copied directly from 0x0203ECF4?
??? 0x1F14 0x10
??? 0x1F24 0x19 Might not go up to the next section exactly. Investigate routine at 0x80A3150.
??? 0x1F3D 0x7 Not word aligned!?
??? 0x1F44 0x24
??? 0x1F68 0xC
??? 0x1F74 0x4
expanded_data 0x1F78 0xF00
Allocation within a save file:
NAME OFFSET LENGTH NOTES