
Following the BLOCK character is always a dword specifying the size of the block, starting at the beginning of BLOCK characters.
Last mission name is prefixed with either "TLAD - " or "TBoGT - " for Episodes From Liberty City savesĮach data block consists of the 5 characters BLOCK followed by a variable amount of data in general, each block has its own unique internal format. Savegame version number value is set under the section in the GTA IV/common/data/version.txt file. A savegame consists of 32 data blocks, two blocks with metadata and a checksum number.Ī savegame file starts with this block, which has a constant length of 0x110 bytes. For example, the number 3452 (0x0D7C) is represented as as 0x7C 0x0D.
Save file size varies but is typically just under 2 megabytes. There are 12 slots available in the game (1-12) plus an additional auto-save slot (SGTA400). The save files themselves are named in the format SGTA4XX where XX represents the in-game slot number.
This article deals with the format of a save game file for the PC version of GTA 4.īy default, the game places its save game files into the "%LocalAppData%\Rockstar Games\GTA IV\savegames\user_XXXXXXXXXXXXXXXX\" folder where XXXXXXXXXXXXXXXX is a 16-character string tied to the user's Games for Windows Live account.