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 [2018/08/11 21:31]
jvh147 more blocks.
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 somewhat similar to SNES SRAM $1600-$1FFF. +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 | +|  ''$2000-$23FF''   Data extension for slot 1 | 
-|  ''$1F20''        | 0x01: Game has been saved at least once. | +|  ''$2400-$27FF''   Data extension for slot 2 | 
-|  ''$1F21-$1FEF''  | Seems empty | +|  ''$2800-$2BFF''   Data extension for slot 3 |
-|  ''$1FF0''        | Most Recently Saved Slot. | +
-|  ''$1FF1-$1FF7''  | Seems empty | +
-|  ''$1FF8-$1FFF'' FF6 static save mark: 0x1BE4 x4 +
-|  ''$2000-$23FF''   Extra space for slot 1 | +
-|  ''$2400-$27FF''   Extra space for slot 2 | +
-|  ''$2800-$2BFF''   Extra space for slot 3 |+
 |  ''$2C00-$2FFF''   | Bestiary for slot 1 | |  ''$2C00-$2FFF''   | Bestiary for slot 1 |
 |  ''$3000-$33FF''   | Bestiary for slot 2 | |  ''$3000-$33FF''   | Bestiary for slot 2 |
Line 23: Line 16:
 |  ''$5C00-$FFFF''   | Unused space - Filled with 0xFF | |  ''$5C00-$FFFF''   | Unused space - Filled with 0xFF |
  
-==== Slot data ====+==== Slot data ==== 
 +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 87: Line 81:
 | ''$02A9-$0568'' | Spells for the other 11 characters | | ''$02A9-$0568'' | Spells for the other 11 characters |
 | ''$0569-$06F4'' | Seems empty. Probably leftovers from moving the item data to another location. | | ''$0569-$06F4'' | Seems empty. Probably leftovers from moving the item data to another location. |
-| ''$06F5'' | Active group number. (Used in multiparty dungeons.) |+| ''$06F5'' | Active group number. (Note! Different location in SNES version.) |
 | ''$06F6'' | Trance bar/counter. | | ''$06F6'' | Trance bar/counter. |
 | ''$06F7'' | Learned Bushido | | ''$06F7'' | Learned Bushido |
-| ''$06F8-$0727''Static marks? SNES version had Bushido names here. |+| ''$06F8-$0727''Legacy Japanese Bushido names from SNES (Static marks) |
 | ''$0728'' | Learned Blitzes | | ''$0728'' | Learned Blitzes |
 | ''$0729-$072B'' | Learned Lores | | ''$0729-$072B'' | Learned Lores |
Line 167: Line 161:
 | ''$0870-$087F'' | Seems empty. Leftover bytes from treasure bits. | | ''$0870-$087F'' | Seems empty. Leftover bytes from treasure bits. |
 | ''$0880-$08DB'' | Event bits | | ''$0880-$08DB'' | Event bits |
-| ''$08DC-$08DD'' | Active party members in shops | +| ''$08DC-$08DD'' | Active party members in shops/menu 
-| ''$08DE-$08DF'' | Active party members in airship |+| ''$08DE-$08DF'' | Active party members in airship (last two bits are event bits.) |
 | ''$08E0-$095F'' | NPC event bits | | ''$08E0-$095F'' | NPC event bits |
 | Position data || | Position data ||
Line 219: Line 213:
 | ''$09FE-09FF''  | Slot data checksum (Sum 16 from $0000-$09FD) | | ''$09FE-09FF''  | Slot data checksum (Sum 16 from $0000-$09FD) |
  
-==== Extra Space ==== +==== Save marks ==== 
-Extra block of data was added to the GBA port. Item inventory and Esper data were moved here when compared to the SNES version. The block repeats three times for the three save slots.+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 ==== 
 +block of data was added to the GBA port. Item inventory and Esper data were moved here when compared to the SNES version. The size of the block is 1024 bytes including a two byte checksum and it repeats three times for the three save slots.
 ^ Offsets ^ Description ^ ^ Offsets ^ Description ^
 | ''$2000-$2003'' | Current Espers | | ''$2000-$2003'' | Current Espers |
 | ''$2004-$2007'' | | | ''$2004-$2007'' | |
-| ''$2008''01: Autodash config setting | +| ''$2008'' | Autodash config setting 01:On 00:Off 
-| ''$2009'' | |+| ''$2009''Japanese version script selection 00: Hiragana 01: Kanji |
 | ''$200A'' | 01: Game has been marked as completed (a star appears next to the save slot when viewed from the loading screen). | | ''$200A'' | 01: Game has been marked as completed (a star appears next to the save slot when viewed from the loading screen). |
 | ''$200B-$200F'' | | | ''$200B-$200F'' | |
 | ''$2010-$212F'' | Current Items (288 slots; to get GBA specific items, 0x80 is added to the quantity.) | | ''$2010-$212F'' | Current Items (288 slots; to get GBA specific items, 0x80 is added to the quantity.) |
 | ''$2130-$224F'' | Item Quantities | | ''$2130-$224F'' | Item Quantities |
-| ''$2250-$23FB''(Mostly empty) +| ''$2250-$225F'' | GBA added [[ff6a:doc:eventbits|event bits]] | 
-| ''$23FC-$23FD'' | Static mark? 0x474D +| ''2260-$23FB''Seems Empty 
-| ''$23FE-$23FF''Extra space checksum (Sum 16 + 1 from $2000-$23FD) |+| ''$23FC-$23FD'' | Static mark 0x47, 0x4D (Slot will appear as empty if not present.) 
 +| ''$23FE-$23FF''Data extension checksum (Sum 16 + 1 from $2000-$23FD) |
  
 ==== Bestiary ==== ==== Bestiary ====
Line 251: Line 257:
 A quicksave option was included in the GBA port and it enables the player to temporary save the game almost anywhere. Quicksave cannot directly be transferred to the other slots in-game, but contains the same data as the other slots plus some additions. A quicksave option was included in the GBA port and it enables the player to temporary save the game almost anywhere. Quicksave cannot directly be transferred to the other slots in-game, but contains the same data as the other slots plus some additions.
  
-| ''$3800-41FF''Regular save slot data | +| ''$3800-41FF''Quicksave Slot data | 
-| ''$4200-45FF''Extra data slot space +| ''$4200-45FF''Quicksave Data extension 
-| ''$4600-49FF'' | Bestiary data +| ''$4600-49FF''Quicksave Bestiary | 
-| ''$4A00-5BFF''Quicksaveslot specific data; Last two bytes being a checksum? |+| ''$4A00-5BFF''Quicksave Slot specific data; Last two bytes being a checksum? |
  
  • ff6a/doc/savefile.txt
  • Last modified: 4 years ago
  • by bacteriamage