Sleeping Dogs (Definitive Edition)

Reading, editing and everything related to the files created by games to contain savegames and configurations
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Sleeping Dogs (Definitive Edition)

Post by Ekey »

Code: Select all

struct SGHeader
{
   DWORD    dwID; // TC01
   DWORD    dwVersion; // SAVEGAME_VERSION_NUMBER -> 0x60001
   DWORD64  dwTimeStamp;
   BYTE     pSaveTitle[32];
   DWORD    dwFileSize;
};


Data seems encrypted?
Last edited by Ekey on Tue Oct 14, 2014 3:51 pm, edited 1 time in total.
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Sleeping Dogs (Definitive Edition)

Post by Ekey »

Ok found Scramble and Descramble functions for savegame.
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Sleeping Dogs (Definitive Edition)

Post by Ekey »

Done. Here my tool for decrypt and encrypt back savegames :)

Example usage.

Code: Select all

        SDDEGSTool -d "HK Options" "HK Options Decrypted"
        SDDEGSTool -e "HK Options Decrypted" "HK Options"