Hi,
Last night I played around with the f1gstate.sav (GP2 gamestate save
file), and made a quick attempt at two utilities. They are not really
useful but feel free to check them out (they are pkzipped in
http://www.racesimcentral.net/~snurmela/gp2util.zip)
The other (KBDSTEER.EXE) allows disabling Steering help and Opposite
lock when playing using the default keyboard settings. Steering lock is
also adjustable. (But be forewarned, it's impossible to drive :)
Usage: KBDSTEER n [lock], where n is a number between 0..3 (0=both helps
off, 1=steering help off/opposite lock on, 2=steering help on/opposite
lock off, 3=both helps on). lock is an optional lock angle in degrees.
KBDSTEER operates directly on your F1GSTATE.SAV file, so make a backup
copy!
The other (GPGRAPH.EXE) shows the graphics detail settings and
additionally, allows editing them.
Usage: GPGRAPH savefile [edit], lists the graphics options in file
'savefile' (F1GSTATE.SAV or a copy of it) and if a second parameter is
given, allows editing the settings. Edit keys are the following:
m or M: toggles VGA/SVGA
f : raises framerate, F: lowers
d : detail level up, D: down
t or T: toggles textures shown in mirrors
k : toggles Kerb textures, K: Kerbs in mirrors
e : toggles Fence textures, E: Fences in mirrors
v : toggles Verge textures, V: Verges in mirrors
r : toggles Track textures, R: Track in mirrors
b : toggles Bank textures, B: Banks in mirrors
h : toggles Hill textures, H: Hills in mirrors
s : toggles Smoke in front, S: Smoke in mirrors
o : toggles trackside object textures, O: trackside objects in
mirrors y or Y: toggles Sky textures
ENTER : exits and prompts saving changes
ESC : exits not saving changes
GPGRAPH operates directly on your gamestate file, so make a backup copy!
NOTE: editing your graphics options with GPGRAPH does not yield the same
binary changes in your save file as changing them in GP2. If there is
interest, I'll add the code to make 'syntactically correct' save files.
Neither program does much error checking so crashes may occur if
misused. I'm not responsible for any software and/or hardware damage
that may occur when using these programs. They are tried only on my
machine and my copy of GP2 UK 1.0b. If your GP2 refuses to work after
using these utils, remove the f1gstate.sav file.
--