Skip to content

Instantly share code, notes, and snippets.

@bmaupin
Last active January 10, 2023 22:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bmaupin/a9f55a4fd167aad40857db2a26e1672f to your computer and use it in GitHub Desktop.
Save bmaupin/a9f55a4fd167aad40857db2a26e1672f to your computer and use it in GitHub Desktop.
  • gzipped binary file
    • 12 byte gzip "extra field" set
      • Not sure how important this is or what it contains. It doesn't appear to be related to the version of the game.
      • Subfield ID 1 (SI1) is always: C (0x43)
      • Subfield ID 2 (SI2) is always: T (0x54)
      • Data:
        • Sample 1: 0x8C 2A 00 00 07 35 01 00
          • .bkp file: 0x78 2A 00 00 C7 34 01 00
        • Sample 2: 0x44 30 00 00 CD 56 01 00
          • .bkp file: 0x40 30 00 00 CD 56 01 00
        • Sample 3: 0x9C 5A 00 00 AE EA 01 00
          • .bkp file: 0x9E 5A 00 00 AE EA 01 00
  • Linked to Steam profile? Apparently save files can't be transferred between users
  • In addition to being gzipped, it seems to be signed (SignKey.GameLocal), likely making modifications impossible
  • .bkp file
    • Simply an older version of the player profile. Can be be used to overwrite PlayerProfile.dat if it becomes corrupted for any reason. There doesn't seem to be any kind of validation between the contents of PlayerProfile.dat and PlayerProfile.dat.bkp
$ file PlayerProfile.dat
PlayerProfile.dat: gzip compressed data, extra field, from FAT filesystem (MS-DOS, OS/2, NT), original size modulo 2^32 87757
$ binwalk PlayerProfile.dat

DECIMAL       HEXADECIMAL     DESCRIPTION
--------------------------------------------------------------------------------
0             0x0             gzip compressed data, has 12 bytes of extra data, from FAT filesystem (MS-DOS, OS/2, NT), last modified: 1970-01-01 00:00:00 (null date)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment