Amongst the data files inside Carmageddon IIs
DATA folder, the savedgames.ars file stores the savegame slots.
The file consists of blocks of 808 bytes. Each block is a save game slot. As the game is played, slots are added. The file does not have a fixed size and can handle many blocks.
Content of a slot
Each slot stores:
- Slot version
- Player name
- Save date/time
- APO and max APO
- Current car
- Current race
- Is mission race enabled
- Bought cars
- Other undocumented information like race stats
For the items above, the information is not encrypted and can be edited by Carmeditor 2.
The file is organized in the Little-endian format (most significant byte on the right).
|0x000||4 bytes||Format version.||Usually |
|0x004||11 bytes||Player name, null (0x0) terminated string.||Shut|
|0x012||10 bytes||Chosen car's text file.||SEMI2.TXT|
|0x032||10 bytes||Save date, padded with null (0x0).||29/12/98|
|0x052||8 bytes||Save time, padded with null (0x0).||2:18:30|
|0x204||4 bytes - int32||Credits.|
|0x208||4 bytes||Difficulty as 0=easy, 1=normal and 2=hard.|
|0x20C||4 bytes||Probably filler.|
|0x210||4 bytes - int32||Bought cars count.|
|0x214||240 bytes - 60 int32||Bought cars array, each int32 is a bought car index.|
|0x304||4 bytes - int32||Current car.|
|0x308||4 bytes - int32||Current race.|
|0x30C||4 bytes - int32||Mission enabled boolean (as int32).|
|0x310||12 bytes - 3 int32||APO structure, order is Armor, Power and Offensive.|
|0x31C||12 bytes - 3 int32||APO slots structure, order is Armor slots, Power slots and Offensive slots.|
This editor allows one to open a hex file with templates. Templates allow the user to quickly see what parts of the file mean what in raw hex mode. For a template and more info about
SAVEDGAMES.ARS, please read this page.