Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (85,180 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

spaceeinstein

Save File Format Documentation

Recommended Posts

spaceeinstein

This topic documents GTA 2's save file format in preparation for documentation at GTAModding.com. This is for binary files named plyslot*.svg, where * is the player number beginning with 0. People have documented this before but I'm unable to find it. It would be great if you can help out.

 

Offset Type      Description0x00   char[17]  gmp name0x18   char      0xA0x19   char[17]  sty name0x31   char      0xA0x32   char[17]  scr name0x4a   char      0xA0x4b   char      ?0x4c   char      ?0x4d   char      ?0x54   dword     x0x58   dword     y0x5c   dword     z0x60   word      heading0x64   dword     money0x68   dword     multiplier0x6c   word      healthSTATISTICS0x90   dword     ?0x94   dword     number of times player has damaged a car0x98   dword     number of times player has fired a loud weapon0x9c   dword     number of cars blown up0xa0   dword     ?0xa4   dword     number of cars jacked0xa8   dword     number of civilians run down0xac   dword     number of civilians murdered0xb0   dword     number of lawmen killed0xb4   dword     number of gang members killedWEAPON AMMO0xba   byte      Pistol0xbb   byte      S-Uzi Machine Gun0xbc   byte      Rocket Launcher0xbd   byte      ElectroGun0xbe   byte      Molotov Cocktails0xbf   byte      Grenades0xc0   byte      Shotgun0xc1   byte      ElectroBaton0xc2   byte      Flamethrower0xc3   byte      Silenced S-Uzi Machine Gun0xc4   byte      Dual Pistol0xc5   byte      giant L0xc6   byte      giant M0xc7   byte      giant N0xc8   byte      giant ORESPECT0xc9   byte      gang10xca   byte      gang20xcb   byte      gang30xcc   byte      gang40xcd   byte      gang50xce   byte      gang60xcf   byte      gang70xd0   byte      gang80xd1   byte      gang90xd2   byte      gang100xd3   byte      character mapping (default 25)0xd4   byte      lives0xd6   word      weapon slot0xd8   dword     auto damage cost0xdc   dword     fugitive factor0xe0   word      chaos level (affects wanted level)
Edited by spaceeinstein

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.