Skip to content
robotanarchy edited this page Feb 8, 2015 · 8 revisions

The menu should look just like the original one, with only a few differences:

  • Add game controller support
  • Add mouse support
  • New Split Screen option, that opens a completely new splitscreen setup screen (which map, game type, players, ...)
  • Options doesn't open the GTA2manager, but a new screen in the menu where you can actually edit the options (screen resolution, fullscreen? etc.)
  • Different/added credits

Loading original GTA2 resources

Fonts

Original GTA2 menu font is in data/fstyle.sty, for example the Q of QUIT is here:

X: 0
Y: 174
Page: 5
Width: 20
Height: 22

You can use the STY Tool to view the file.

Background Graphics

The background images consist of a bunch of TGA files in the folder data/frontend/. Code has already been implemented to load them with SDL_image. The colors are swapped, because of an upstream bug, but there's workaround code until they fix it.

Other graphics

data/fstyle.sty also contains the image for a red circle with a white border, that gets used to select the city you're playing in single player mode (screenshot). So we'll also need this.

Sound files

Black_Phoenix wrote a simple C program that converts GTA2 sound files to the WAV format: sdt2wav

It works pretty well and the author allows using his source code for this mod, so it has been added.