2024-07-26 08:12:07 +10:00

1.1 KiB

Keys stored in save file

%LocalAppData%\CrabChampions\Saved\SavedGames

SaveSlot.sav

save appears to be seralised as

This was an incorrect assumption

PropertyName (Fixed size) Property Type (Fixed size) Property (Dynamic based on type?)

These were also somewhat incorrect, I don't think the fields are byte aligned anymore

Propertyname:

  • Not fixed size
  • Appears to be NULL terminated strings
  • Appears to be fit into 16 byte chunks
  • IE: 'Keys' is stored in 16 bytes and 'AccountLevel' is stored in 32 bytes
  • After keys there is an 0x0C that I am not sure what that is yet, its after the NULL byte for a few strings
  • There is always a value after the NULL byte I've seen 0x0C and 0x0D so far (Might indicate the size of the data or the data is always a fixed size)

PropertyType

  • Not fixed size
  • Appears to be fit into 16 byte chunks
  • IE: 'IntProperty' is stored in 32 bytes
  • Value is directly after padding
  • Value stored in MAYBE 16 bytes ( HIGHLY DOUBT IT)
  • 16 bytes contain 19 00 00 00 0B 00 00 00
  • 19 being the current keys I have

Property/Type/Offset Keys/Int/0x12DB