Save Games

robotanarchy edited this page Apr 17, 2015 · 7 revisions

To replicate the original GTA2 menu, we'll need to be able to display some information about the players, and also the highscore files. All of them are located in the player folder in the GTA2-path.

Files

hiscores.hsc

Score Entry:

00-15 PLAYER_NAME (0x00 after each letter => 8 letters)
16-19 ???
20 SCORE / 1000 * 8 / 5 (wait what?)
21-23 ???

plyslot*.dat

I guess the player names are stored here.

plyslot*.svg

These are full save games, we don't need to parse them for the main menu. A check if these files exist is enough to make the "Resume Save Game" button disabled or not.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.