ff6a:doc:savefile

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
ff6a:doc:savefile [2019/02/12 09:51]
127.0.0.1 external edit
ff6a:doc:savefile [2019/02/27 18:29]
jvh147 some info.
Line 1: Line 1:
 ===== GBA Save File ===== ===== GBA Save File =====
  
-All the test have been made on a (U) save file (.sav). The first $1E00 bytes of the file are 3 blocks of $A00 bytes for the save slotsThey are mostly similar to SNES [[ff3:ff3us:doc:asm:ram:field_ram#fffsave_ram|$1600-$1FFF: Save RAM]]. +Most of the test have been made on a (U) save file (.sav). The save file contains three save slots, a quicksave slot and some identifying save marks. A large portion of the file goes unused. The following table lists the data blocks of the save file including their hex offsetsScroll down for the content of the blocks.
 ^  Offsets  ^  Description  ^ ^  Offsets  ^  Description  ^
 |  ''$0000-$09FF''  | Slot 1 data | |  ''$0000-$09FF''  | Slot 1 data |
 |  ''$0A00-$13FF''  | Slot 2 data | |  ''$0A00-$13FF''  | Slot 2 data |
 |  ''$1400-$1DFF''  | Slot 3 data | |  ''$1400-$1DFF''  | Slot 3 data |
-|  ''$1E00-$1EFF''  | Seems empty | +|  ''$1E00-$1FFF'' Save marks |
-|  ''$1F00-$1F1F''  | Ascii mark: FINAL FANTASY VI ADVANCE | +
-|  ''$1F20''        | 0x01: Game has been saved at least once. | +
-|  ''$1F21-$1FEF''  | Seems empty | +
-|  ''$1FF0''        | Most Recently Saved Slot. | +
-|  ''$1FF1-$1FF7''  | Seems empty | +
-|  ''$1FF8-$1FFF'' FF6 static save mark: 0x1B, 0xE4 *4 |+
 |  ''$2000-$23FF''   | Data extension for slot 1 | |  ''$2000-$23FF''   | Data extension for slot 1 |
 |  ''$2400-$27FF''   | Data extension for slot 2 | |  ''$2400-$27FF''   | Data extension for slot 2 |
Line 24: Line 17:
  
 ==== Slot data ==== ==== Slot data ====
-Regular save data space.+This block is the regular save data space and the first $1E00 bytes of the file are 3 blocks of $A00 bytes for the 3 save slots. They are mostly similar to SNES [[ff3:ff3us:doc:asm:ram:field_ram#fffsave_ram|$1600-$1FFF: Save RAM]].
 ^ Offsets ^ Description ^ ^ Offsets ^ Description ^
 | Character block (repeat 16 times) || | Character block (repeat 16 times) ||
Line 219: Line 212:
 | Checkum || | Checkum ||
 | ''$09FE-09FF''  | Slot data checksum (Sum 16 from $0000-$09FD) | | ''$09FE-09FF''  | Slot data checksum (Sum 16 from $0000-$09FD) |
 +
 +==== Save marks ====
 +This block contains various identifying save marks.
 +^ Offsets ^ Description ^
 +|  ''$1E00-$1EFF''  | Seems empty |
 +|  ''$1F00-$1F1F''  | Ascii mark: FINAL FANTASY VI ADVANCE |
 +|  ''$1F20''        | 0x01: Game has been saved at least once. |
 +|  ''$1F21-$1FEF''  | Seems empty |
 +|  ''$1FF0''        | Most Recently Saved Slot. |
 +|  ''$1FF1-$1FF7''  | Seems empty |
 +|  ''$1FF8-$1FFF''  | FF6 static save mark: 0x1B, 0xE4, 0x1B, 0xE4, 0x1B, 0xE4, 0x1B, 0xE4 |
  
 ==== Data extension ==== ==== Data extension ====
  • ff6a/doc/savefile.txt
  • Last modified: 4 years ago
  • by bacteriamage