![]() |
|
#1
|
|||
|
|||
|
I made two user edittable (plain text) .reg files. You just double click on one of them and it will update the key mapping for Tomb Raider Underworld. Here is a link to a zip that includes the two registry files and a readme.txt that explains the values and codes used. You can start with either .reg file and edit that file then double click on it to update the key mapping.
http://jeffareid.net/tr/trukeymap.zip You can also just use regedit on: HKEY_CURRENT_USER\Software\Crystal Dynamics\Tomb Raider: Underworld\Input and edit the entries for 0 to 24, the left side is the function, the right side is the raw key code + 128 (except mouse buttons are 96, 97, 98, for left, right, middle): These are the codes I use: Code:
"0"="146" ;interact == E "1"="98" ;grapple == C Mouse "2"="97" ;crouch/roll == R Mouse "3"="185" ;jump == <space> "4"="161" ;target lock == F "5"="96" ;shoot == L Mouse "6"="170" ;sprint == <shift> "7"="162" ;grenade == G "8"="175" ;center camera == V "9"="172" ;manual aim == Z "10"="129" ;pause == <esc> "11"="143" ;pda == <tab> "12"="174" ;use medipac == C "13"="176" ;camera == B "14"="144" ;light == Q "15"="147" ;change weapon == R "16"="160" ;right == D "17"="158" ;left == A "18"="159" ;down == S "19"="145" ;up == W "20"="157" ;walk == <ctrl> "21"="96" ;vehicle shoot == L Mouse "22"="185" ;vehicle brake == <space> "23"="145" ;vehicle gas == W "24"="159" ;vehicle reverse == S 96 L Mouse 97 R Mouse 98 C Mouse 99 LS Mouse 100 RS Mouse 129 <esc> 130 1 131 2 132 3 133 4 134 5 135 6 136 7 137 8 138 9 139 0 140 - 141 = 142 <backspace> 143 <tab> 144 Q 145 W 146 E 147 R 148 T 149 Y 150 U 151 I 152 O 153 P 154 [ 155 ] 156 <enter> 157 <ctrl> 158 A 159 S 160 D 161 F 162 G 163 H 164 J 165 K 166 L 167 ; 168 ' 169 ` 170 <left shift> 171 \ (shows as /) 172 Z 173 X 174 C 175 V 176 B 177 N 178 M 179 , 180 . 181 / 182 <right shift> 183 <pad *> 184 <alt> 185 <space> 186 <caps lock> 187 F1 188 F2 189 F3 190 F4 191 F5 192 F6 193 F7 194 F8 195 F9 196 F10 197 <num lock> 198 <scroll lock> 199 <pad 7> 200 <pad 8> 201 <pad 9> 202 <pad -> 203 <pad 4> 204 <pad 5> 205 <pad 6> 206 <pad +> 207 <pad 1> 208 <pad 2> 209 <pad 3> 210 <pad 0> 211 <pad del> 214 <pad /> 215 F11 216 F12 327 <home> 328 <up> 329 <page up> 331 <left> 333 <right> 335 <end> 336 <down> 337 <page down> 338 <insert> 339 <delete> Last edited by jeffareid; 12-02-2008 at 11:52 AM. |
|
#2
|
||||
|
||||
|
Nice.
|
|
#3
|
|||
|
|||
|
AWESOME Thanks for this!
|
|
#4
|
|||
|
|||
|
Thanks much for this. Figures (won't say shocked) they wouldn't "fix" this limitation in time for release, however HUGE it is a limitation.
![]() Just an important addition, though... 99 = Left side mouse button 100 = Right side mouse button And remember you can set multiple keys separated with commas, I believe 3 max. Last edited by IntelliMoo; 11-21-2008 at 04:54 PM. |
|
#5
|
|||
|
|||
|
I don't see anywhere in your code list the keyboard arrow keys. Legend and anniversary both had the same problem of not being able to assign the arrows to any action. It is very frustrating. Any way to fix this for all three games?
|
|
#6
|
|||
|
|||
|
The arrow keys already do the same as the wsad keys, there's no need to remap them.
Jeff, you rock. Thank you so much for the mappings. What a blunder on the part of CD. This just goes to show you, they don't care much for PC users anymore.
__________________
Metaboli ripped me off, do not purchase digital downloads from them. |
|
#7
|
||||
|
||||
|
Thank you, very much, jeffareid!
(Funny isn't it, how much we lose when they go to porting console-games to our PCs.) User.ini and .cfg files, along with a full set of Console Commands, have been making all of these key-assignments and a lot more "easily adjustable" with something like NotePad, for decades? (And if I have a "dire need" to adjust those arrow-keys, AutoHotKeys will be there for those and again, a lot more, like I did in TRA and TRL.)
__________________
Flight Mode Tool (TRAFly) to keep your "TR Adventuring Spirit" BRIGHT! Non-critical maps to replace Time-trials? Last edited by tiger; 11-21-2008 at 04:01 PM. |
|
#8
|
|||
|
|||
|
Quote:
There is a need to remap them. If I want to use the arrow keys and remap the up arrow as jump, I just can't. Quote:
Also what would be the code for the arrow keys to put in the registry? |
|
#9
|
|||
|
|||
|
exile550,
I understand your question but do not know the answer to that one. I only play on pc and have never used the arrow keys for anything but forward, back, left and right. Then I map r ctrl, r shft, enter, \, del, ins, hime pg up, pg dn, and the numpad keys around them, and use a 5 button mouse shift or outside left mouse are my jump button.
__________________
Metaboli ripped me off, do not purchase digital downloads from them. Last edited by sqrly; 11-22-2008 at 07:58 AM. |
|
#10
|
|||
|
|||
|
< arrow keys
The arrow keys will always work in addition to any key you assing for up, down, left, or right, so there's no need to assign them. Note, each arrow key generates 2 PS2 scan codes: 0xe0 + the scan code for the arrows on the numpad (pad 8 == up, pad 2 == down, ...). The keys listed below also generate a double PS2 scan code (0xe0 + ...) but underworld lets you assign them using these values (or you can just assign them in game): 327 <home> 329 <page up> 335 <end> 337 <page down> 338 <insert> 339 <delete> < mouse values < 99 = Left side mouse button < 100 = Right side mouse button Thanks, I don't have a 5 button mouse. Last edited by jeffareid; 11-21-2008 at 06:37 PM. |
|
#11
|
|||
|
|||
|
Well we do need them for the in-vehicle mode, because I got to the motorcycle now and the up/down arrow keys won't work for me (but the left/right do).
|
|
#12
|
|||
|
|||
|
I stand corrected, on the vehicles the arrows do not work the same as the ws keys do for movement. So, I need to figure out how to map them seperately as well.
__________________
Metaboli ripped me off, do not purchase digital downloads from them. |
|
#13
|
|||
|
|||
|
Pengy had to register for this, but this is indeed worth it to say:
THANK YOU! Pengy has been looking for something like this to play because Pengy hates not being able to map the controls to suit Pengy's game style. It's hard to understand WHY Eidos didn't put something as simple as mappable mouse keys into the game. Oh well. Thank you yet again. You're a life saver |
|
#14
|
|||
|
|||
|
So if I want to assign mu up arrow key to jump, th code is 294? Is that right?
|
|
#15
|
|||
|
|||
|
I got it!
up = 328 down = 336 left = 331 right = 333 PS I've found turning on manual aim while you have no weapons out makes her walk carefully, very handy in many places. I spent alot of time figuring this out not knowing much about it to begin with. I got the hexa scancodes from http://download.microsoft.com/downlo.../translate.pdf then converted them to decimal numbers with http://www.easycalculation.com/hex-converter.php. The PS/2 Set 1 Break codes are the ones I used.
__________________
Metaboli ripped me off, do not purchase digital downloads from them. Last edited by sqrly; 11-22-2008 at 10:25 AM. |
|
#16
|
|||
|
|||
|
Thanks, the list of extended codes is now:
327 <home> 328 <up> 329 <page up> 331 <left> 333 <right> 335 <end> 336 <down> 337 <page down> 338 <insert> 339 <delete> |
|
#17
|
|||
|
|||
|
Thanks you guys, much much appreciated!
|
|
#18
|
|||
|
|||
|
Have you figured something out? Because this also applies to the gamepad... I'm playing using a Logitech Rumblepad 2 on the PC and I can steer the motorcycle left and right using the left analog stick but can't accelerate/reverse. Very frustrating because everytime you need to use the bike you have switch to the keyboard.
|
|
#19
|
|||
|
|||
|
Jeff, who started this thread, gave us the bulk of the info here.
Intellimoo figured out the numbers for the outside L and outside R for 5 button mice. I figured out the numbers for the arrow keys on the keyboard. As for a gamepad on a PC, I have no idea. I personally would never hook a gamepad to anything but a console that I personally, would never own in the 1st place, but that's just me so.... If your so inclined, start researching "scancodes". When you push a button on your gamepad, mouse, keyboard, joystick, any input device, it generates a "scancode". Since binary boggles the human brain we look at these in hexdecimal format. (which only boggles it slightly less) In an earlier post I linked a tool to convert hexdecimal numbers into decimal ones for use in the registry file for the game. Microsoft has a few handy programs you can download that might help you figure out what specific codes come out of your gamepad as well as a few other places offering freeware. Also, there only seems to be a little over 300, you could try trial and error on one key setting. I wish you the best. I'm sure there's others who would appreciate the info too.
__________________
Metaboli ripped me off, do not purchase digital downloads from them. |
|
#20
|
|||
|
|||
|
Any idea if mouse button 4 can be mapped?
__________________
I7 920 @ 3.5 gig, Asus P6T, 3x1024 DDR3 1600 , GTX 280, X-Fi Xtreme Gamer Pro, 2 WD 250 gig SATA HDDs, WD 750 gig (eSata), Z-5500 5.1, Corsair TX750w, XP Pro |
|
#21
|
|||
|
|||
|
That should be 99 or 100, the same as left side or right side mouse button. I tried this but the button menu display didn't show anything, and I don't have a 5 button mouse to test with.
|
|
#22
|
|||
|
|||
|
I'll give 99 and 100 a try. I have a 5 button mouse but really don't use the 5th button as it is on the side behind button 4. A little too hard to reach when you need it hit it quickly. I use button 4 though. It still kind of amazes me how long 5 button mice have been out and still a lot of games don't recognize those buttons.
BTW, thanks much for doing the work on this to now allow the user to set the controls properly for this game. I was very bummed at first when this game would not let me do it. Your solution helped me out big time.
__________________
I7 920 @ 3.5 gig, Asus P6T, 3x1024 DDR3 1600 , GTX 280, X-Fi Xtreme Gamer Pro, 2 WD 250 gig SATA HDDs, WD 750 gig (eSata), Z-5500 5.1, Corsair TX750w, XP Pro Last edited by Mike89; 11-25-2008 at 08:35 AM. |
|
#23
|
|||
|
|||
|
Nice stuff just what i needed for my mouse :P
Check this out if u have a ps3 controller u wanna play on the pc. this thing rox lolll ![]() http://forums.eidosgames.com/showthr...825#post900825 |
|
#24
|
|||
|
|||
|
""8"="" ;not used (vehicle switch target in Legends)"
I could be mistaken but I think that is actually a "hidden" (read: they forgot about it) hard coded function for "Center the camera behind Lara". On my gamepad that defaults onto button 8 and if I bind, say, grenade to that button, it will do both functions, toss a grenade and center the camera. |
|
#25
|
|||
|
|||
|
Yep, tried it, 99 is mouse button 4.
__________________
I7 920 @ 3.5 gig, Asus P6T, 3x1024 DDR3 1600 , GTX 280, X-Fi Xtreme Gamer Pro, 2 WD 250 gig SATA HDDs, WD 750 gig (eSata), Z-5500 5.1, Corsair TX750w, XP Pro |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|