Saves (GTA 3)

From GTAMods Wiki
Revision as of 14:45, 6 January 2015 by Seemann (talk | contribs) (initial layout)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This article deals with the format of a save game file for the PC version of GTA 3.

Location

By default, the game places its save game files into the folder "GTA3 User Files" which is located in the current user's Documents folder. The location of this folder varies depending upon the version of Windows installed.

The save files themselves are named in the format GTA3sfX.b where X represents the in-game slot number. There are 8 slots available in the game (1-8).

Format Details

  • Save files are ALWAYS 0x3145C (201820) bytes long.
  • Byte order is little endian. For example, the number 3452 is represented as as 0x7C 0x0D.
  • File is divided into 22 blocks, followed by a 4-byte checksum (more info on the checksum below).

Data Blocks

There is a DWORD value preceding any block of data which is equal to the size of the block.

Block 1: Miscellaneous

Block 2: Peds pool

Block 3: Garages

Block 4: Vehicles pool

Block 5: Objects pool

Block 6: Path find

Block 7: Cranes

Block 8: Pickups

Block 9: Phone info

Block 10: Restarts

Block 11: Radar

Block 12: Zones

Block 13: Gangs

Block 14: Car Generators

Block 15: Particle objects

Block 16: Audio script objects

Block 17: Player info

Block 18: Stats

Block 19: Streaming

Block 20: Ped types

See also

External links