Death Rally Shareware/Full version savegame in detail
Hi to all,
As user Simo develops a savegame editor (great utility!) based on my investigations of the Death Rally executable I want to publish the format of the savegames in the full and shareware version.
Savegame files are crypted using the first byte of the file.
The file structure is:
Offset (byte) | Size (bytes) | Information |
---|---|---|
0 | 1 | Crypt key |
1 | 1 | Driver id |
2 | 1 | Use weapons (true-false) |
3 | 1 | Dificulty (1-3) |
4 | 15 | Savegame name |
19 | 108*20 | Drivers’s data |
Driver’s data is as follows:
Offset (byte) | Size (bytes) | Information |
---|---|---|
0 | 12 | Name |
12 | 4 | Damage |
16 | 4 | Engine upgrade (0-4) |
20 | 4 | Tyre upgrade (0-4) |
24 | 4 | Armour upgrade (0-4) |
28 | 4 | Car type(0-5) |
32 | 4 | ? |
36 | 4 | ? |
40 | 4 | ? |
44 | 4 | Colour |
48 | 4 | Money |
52 | 4 | Loan Type |
56 | 4 | Loan races left |
60 | 4 | Actual car value |
64 | 4 | Face id |
68 | 4 | Points |
72 | 4 | Rank |
76 | 4 | Races won |
80 | 4 | Total races |
84 | 4 | Last race income |
88 | 4 | Total income |
92 | 4 | Mines purchased (number of mines) |
96 | 4 | Spikes purchased |
100 | 4 | Rocket purchased |
104 | 4 | Sabotage purchased |
The main diference between shareware and full version it is that full version savegame is a 2179 bytes file while shareware savegame occupies 2195 bytes. The only difference are the extra bytes that the shareware version has.
To know how to decrypt the full version file see https://github.com/enriquesomolinos/DreeRally/blob/master/tools/savegameDecrypt.py
In order to crypt the full version file you can use: https://github.com/enriquesomolinos/DreeRally/blob/master/tools/savegameCrypt.py
To know how to decrypt the shareware file see Shareware savegame decryptor
In order to crypt the shareware file you can use: Sahreware savegame crypt