Author Topic: About Gears' Save Format  (Read 3640 times)

fuchisasquatch

  • *
  • Posts: 111
    • View Profile
    • http://aa.1asphost.com/sasquatch/
About Gears' Save Format
« on: 2004-08-14 14:40:27 »
I was looking at the gears ff7 save file format documentation and noticed that the hex offsets are incorrect. eg.

0x0004: Lead Char's Level - is located at 0x000D.

And i am 100% sure of this as i checked most of the other offsets and they dont match up. There the same length and order in my save files, but yeah the offsets are wrong.


MY DOCUMENTATION
Quote

0x000D (1 Byte)   Lead Character Level
0x000E (1 Byte)   Character 1 Portrait
0x000F (1 Byte)   Character 2 Portrait
0x0010 (1 Byte)   Character 3 Portrait
0x0011 (16 Bytes)   Lead Character’s Name
0x0021 (2 Bytes)   Lead Character’s Current HP
0x0023 (2 Bytes)   Lead Character’s Maximum HP
0x0025 (2 Bytes)   Lead Character’s Current MP
0x0027 (2 Bytes)   Lead Character’s Maximum MP
0x0029 (4 Bytes)   Amount of Gil
0x002D (4 Bytes)   Seconds Played


GEARS DOCUMENTATION
Quote

0x0004 1 byte Preview: Lead character's level.
0x0005 1 byte Preview: Lead character's portrait.
0c0006 1 byte Preview: 2nd character's portrait
0x0007 1 byte Preview: 3nd character's portrait
0x0008 16 bytes Preview: Lead character's name, terminated with 0xFF
0x0018 2 bytes Preview: Lead character's Current HP
0x001A 2 bytes Preview: Lead character's Max HP
0x001C 2 bytes Preview: Lead character's Current MP
0x001E 2 bytes Preview: Lead character's Max HP
0x0020 4 bytes Preview: Amount of Gil
0x0024 4 bytes Preview: Total number of seconds played


i appoligize if i have posted in the incorrect place

Synergy Blades

  • Guest
About Gears' Save Format
« Reply #1 on: 2004-08-14 14:56:03 »
halkun's offsets do not include the header. I have to say that when I posted the ones I discovered, the offsets included the header, so they may not match up correctly to halkun's docs either.  :-?

fuchisasquatch

  • *
  • Posts: 111
    • View Profile
    • http://aa.1asphost.com/sasquatch/
About Gears' Save Format
« Reply #2 on: 2004-08-14 15:18:30 »
oh hmm..thatd make sense then hope he reads this then so he can fix it up

halkun

  • Global moderator
  • *
  • Posts: 2097
  • NicoNico :)
    • View Profile
    • Q-Gears Homepage
About Gears' Save Format
« Reply #3 on: 2004-08-14 18:45:53 »
Nope, this is the right plce for errata.

However, the reason why the header is stripped in gears is because the PSX and PC verisons use differnt headers and the offsets are different, but the data is exactly the same. It's to allow a "generic" fomat of the save data.

Unless I'm mistaken and the PSX and PC file formats havve the same header....

As I'm off to work on the field system, and have considered the menu section "beta" I would like input on how to fix it. Better yet, I'm going to make a new post, post any problems with Gears there....

Alhexx

  • *
  • Posts: 1894
    • View Profile
    • http://www.alhexx.com
About Gears' Save Format
« Reply #4 on: 2004-08-15 02:11:47 »
fuchisasquatch: Scale down your avatar a bit, we've had too much problems with over-sized avatars in last time...

 - Alhexx

fuchisasquatch

  • *
  • Posts: 111
    • View Profile
    • http://aa.1asphost.com/sasquatch/
About Gears' Save Format
« Reply #5 on: 2004-08-15 02:21:05 »
sorry about that..as you can see i fixed it