msnyderinfo

GTA2 Registry Controls

While working through getting GTA2 working in Wine, I discovered that since the configuration manager may not work, the controls are specified in the Windows registry (or system.reg for Wine). However, there's no real indication of what controls are which, and which keys they're mapped to, as they're using some kind of proprietary indexes. This was my original configuration, which wasn't usable as I have an Apple Wireless Keyboard and some of these values were using the Numpad.

[Software\\DMA Design Ltd\\GTA2\\Control] 1311643216
"0"=dword:000000c8
"1"=dword:000000d0
"10"=dword:00000038
"11"=dword:00000036
"2"=dword:000000cb
"3"=dword:000000cd
"4"=dword:0000001d
"5"=dword:0000009d
"6"=dword:00000039
"7"=dword:0000002c
"8"=dword:0000002d
"9"=dword:00000052

I found a configuration on the Internet, a 'stock' set of settings which map Car Horn to h and Enter Car to Return. I don't know which command is which, but the changed values are

"5"=dword:0000001c
"9"=dword:0000000f

If I find any more useful information, or decide through trial and error to sort out more of this, I'll update this scrap. I imagine this sort of thing could be very useful to someone trying to retrofit/rewrite the GTA2 engine.