10-12-17, 00:47 | #1 |
Member
Joined: Apr 2006
Posts: 2,139
|
TR3 PC Default Key Mapping Up/Down Corrupt
I've just noticed my installation of TR3 has what is a known problem: the Default Key mapping controls for Run and Back are corrupt. In my case Run was shown defaulted to "2" and Back as "BAD".
I use a joypad with the game's User Keys options. The problem, at least in my case, did not affect those mapping controls at all which is why I've not noticed it up until now. The problem was fixed by going to my TLA installation, which was installed from the same PC 'big box' TR3/TLA CD1/CD2 disc set and simply editing the two corrupt TR3 config.txt "DEFKEY" key mapping entries (show as "3" and "0" respectively) to match ie. "200" and "208". That restored the correct key assignments but I later learned you could do the same simply by deleting the entire corrupt TR3 config.txt and, on reboot, a new, refreshed, default config.txt would have been created. All the other settings would have been returned to default too so I'm actually glad I just edited it to fix the problem. So all is good now but I have two questions:- 1), Does anyone know what causes it to become corrupt because I've not touched control settings since I set it up. 2). The thing I'm really more interested in is the:- DEFKEY 200 208 203 205 52 53 54 184 157 57 51 82 207 1 USERKEY 72 80 75 77 260 261 263 259 258 256 264 262 257 265 settings. Can anyone here explain that key and joypad button numbering code? |
10-12-17, 15:09 | #2 | |
Member
Joined: Jan 2010
Posts: 384
|
Quote:
All values equal or above 256 are joypad codes. Just subtract 255 to get number between 1 and 32. Game uses joyGetPosEx function to get JOYINFOEX struct (dwButtons field for joypad buttons). There are different code mappings for different joystick vendors. Note: keyboard mapping table size is 255 (count from 1). Joystick mapping table size is 32. So maximum valid value for the game is 287 (255+32). Last edited by Arsunt; 10-12-17 at 15:18. |
|
11-12-17, 00:30 | #3 |
Member
Joined: Apr 2006
Posts: 2,139
|
Big thanks for explaining this.
As you can see the USERKEY first four codes: 72, 80, 75 and 77 are PAD codes even though used on a joypad. That confused me as all the other USERKEY codes are 256 and above but when I checked the game I realised they are shown as PAD2 etc rather than JOY2. I guess the D-pad is treated as the number pad by the game rather than the keyboard number keys. Last edited by fallenangle; 14-12-17 at 13:46. |
11-12-17, 04:17 | #4 | |
Member
Joined: Jan 2010
Posts: 384
|
Quote:
|
|
11-12-17, 14:34 | #5 |
Member
Joined: Apr 2006
Posts: 2,139
|
Thanks again for that explanation - interesting and useful.
|
14-12-17, 04:27 | #6 |
Member
Joined: Mar 2006
Posts: 8,008
|
Okay I have this same issue I posted this issue in the technical forums but no one has responded to it. I am a tad confused as to how you fixed it. I installed my game from the TR3 disk and I do not see a config file. How do I fix the controls so I don't have to use my xbox controller to play the game. Help please
|
14-12-17, 14:04 | #7 |
Member
Joined: Apr 2006
Posts: 2,139
|
You have to go to:-
Program Files (x86) > Core Design > Tomb Raider III > config It should be the first text file in the Tomb Raider III folder fact the first file after the "Support" folder. You can open (and edit) it in Notepad/Wordpad to view the content. All you should need to do is delete that whole "config" text file. I'd suggest you back it up first then reboot TR3. A default "config" text file will then be automatically rewritten and the corrupted DEFKEY mapping for Forward and Back should be fixed. You may need an administrator account rights to copy, delete or alter the "config" file. Alternatively, particularly if you have other custom configuration settings for things like gamma, music levels etc which would also be reset to default if you deleted the whole file, you can edit the "config" file just as I did. Hope this helps. |
18-01-18, 23:04 | #8 |
Member
Joined: Mar 2006
Posts: 8,008
|
Okay so I had forgotten to check this thread for a bit, but I did as you said and there is no config file anywhere inside that folder.
|
19-01-18, 00:06 | #9 |
Member
Joined: Apr 2006
Posts: 2,139
|
If it really is not there, I'm guessing, that maybe you actually have to make some changes to the default game settings for it to be generated.
As said it was only by checking my TLA installation (CD2) that I could find out what the correct DEFKEY value settings should be. The TR3 (CD1) install disc does not contain a default "config" file that I can find so it must be generated at or after installation. This is what the whole of the contents of my corrupted TR3 "config" file looked like before I manually changed the key values back to what they should be (copied from the "config" file opened with Notepad):- DD 0 D3D 1 D3DTF 1 DS 0 DI 14 VM 19 ZBUFFER 1 DITHER 1 FILTER 1 AGP 1 SOUND 1 JOYSTICK 1 MMX 1 SFX 10 MUSIC 8 GAMMA 3.000000 DEFKEY 3 0 203 205 52 53 54 184 157 57 51 82 207 1 USERKEY 72 80 75 77 260 261 263 259 258 256 264 262 257 265 Apart from the joypad keys I think I've changed the Gamma from the default so if you haven't changed any other default settings perhaps you should try doing that. Then shutdown TR3, restart it and see if a "config" file has been created. |
19-01-18, 00:41 | #10 |
Member
Joined: Mar 2006
Posts: 8,008
|
EDIT***
Okay this is what I did, uninstalled, ran trupdate launch clean registry, reinstalled and the controls were back to normal. Then when I left the game and went back in the controls were corrupt. What do I do now? I've tried deleting the config file, going in game editing settings then leaving. It did nothing, it didn't recreate the config file. Last edited by Lara Coft Baby; 19-01-18 at 00:51. |
Thread Tools | |
|
|