The 7th Saga/RAM map

From Data Crystal
Jump to navigation Jump to search

SRAM

File Structure (0x2000 = 8192 bytes)

	Offset | Len  | Description
	_______|______|_____________________
	0x0000 |    2 | Checksum?
	0x0002 |  510 | Unused
	0x0200 | 1280 | Save Slot 1?
	0x0700 | 2560 | Unused
	0x1100 | 1280 | Save Slot 1? (Identical contents to 0x200-0x6FF)
	0x1600 | 2560 | Unused

Save Slot Structure (0x400 = 1024 bytes?)

	Offset | Len | Description
	_______|_____|______________________
	0x0005 |   1 | Number of times saved?
	0x0064 |   1 | 2nd PC's shield slot
	0x0080 |   1 | Inventory slot 1 item type
	0x0081 |   1 | Inventory slot 1 item quantity
	0x0082 | 106 | Inventory slots 2 through 54
	0x00EC |   1 | Inventory slot 55 item type
	0x00ED |   1 | Inventory slot 55 item quantity
	0x00EE | 2*? | Inventory slots 56-?? (100 slots?)
	0x0280 |   ? | Start of what looks like quest flags?
	0x03FE |   2 | Checksum?

Character Structure A (Unknown size)

	Offset | Len | Description
	_______|_____|_____________________
	0x0000 |   ? | ?

Default for 0x0002-0x1100 is 0x60 until a saved game exists, and then 0xFF.  Default for 0x1100-1FFF seems to be 0x00.  Unused areas generally follow this pattern.