Realms of the Haunting
 Тема закреплена. Скорее всего, здесь есть важная информация.
WASD keybind remapping guide
Hi everyone! I couldn't stand fumbling around with my left hand on arrow keys and right hand mouse, and all the other goofy stuff that comes with old DOS game mapping, and I did not want to download a third party mod just to do it for me, so I decided to unfurl the keymapping for everyone. This is just basic WASD and spacebar = jump support, as I could not get strafing to function, sadly. Everything else is as is in the manual.

Navigate to your Steam/SteamApps/common/Realms of the Haunting folder, and open mapper.txt and drop this in. Save it, start the game, and WASD + Spacebar should function like modern stuff does. Oh, and make a backup, just in case you want to mod it your own way (I'll explain how after).

hand_shutdown "key 290 mod1"
hand_capmouse "key 291 mod1"
hand_fullscr "key 13 mod2"
hand_pause "key 19 mod2"
hand_mapper "key 282 mod1"
hand_speedlock "key 293 mod2"
hand_recwave "key 287 mod1"
hand_caprawmidi "key 289 mod1 mod2"
hand_scrshot "key 286 mod1"
hand_video "key 286 mod1 mod2"
hand_decfskip "key 288 mod1"
hand_incfskip "key 289 mod1"
hand_cycledown "key 292 mod1"
hand_cycleup "key 293 mod1"
hand_caprawopl "key 288 mod1 mod2"
hand_swapimg "key 285 mod1"
key_esc "key 27"
key_f1 "key 282"
key_f2 "key 283"
key_f3 "key 284"
key_f4 "key 285"
key_f5 "key 286"
key_f6 "key 287"
key_f7 "key 288"
key_f8 "key 289"
key_f9 "key 290"
key_f10 "key 291"
key_f11 "key 292"
key_f12 "key 293"
key_grave
key_1 "key 49"
key_2 "key 50"
key_3 "key 51"
key_4 "key 52"
key_5 "key 53"
key_6 "key 54"
key_7 "key 55"
key_8 "key 56"
key_9 "key 57"
key_0 "key 48"
key_minus "key 45"
key_equals "key 61"
key_bspace "key 8"
key_tab "key 9"
key_q "key 60"
key_w "key 119"
key_e "key 46"
key_r "key 114"
key_t "key 116"
key_y "key 121"
key_u "key 117"
key_i "key 105"
key_o "key 111"
key_p "key 112"
key_lbracket "key 91"
key_rbracket "key 93"
key_enter "key 13"
key_capslock "key 96"
key_a "key 32"
key_s "key 115"
key_d "key 100"
key_f "key 102"
key_g "key 103"
key_h "key 104"
key_j "key 106"
key_k "key 107"
key_l "key 108"
key_semicolon "key 59"
key_quote "key 39"
key_backslash "key 92"
key_lshift "key 304"
key_lessthan "key 60"
key_z "key 122"
key_x "key 120"
key_c "key 99"
key_v "key 118"
key_b "key 32"
key_n "key 110"
key_m "key 109"
key_comma "key 44"
key_period "key 46"
key_slash "key 47"
key_rshift "key 303"
key_lctrl "key 306"
key_lalt "key 308"
key_space "key 118"
key_ralt "key 307"
key_rctrl "key 305"
key_printscreen "key 316"
key_scrolllock "key 302"
key_pause "key 19"
key_insert "key 277"
key_home "key 278"
key_pageup "key 280"
key_delete "key 127"
key_end "key 279"
key_pagedown "key 281"
key_up "key 119"
key_left "key 97"
key_down "key 115"
key_right "key 100"
key_numlock "key 300"
key_kp_divide "key 267"
key_kp_multiply "key 268"
key_kp_minus "key 269"
key_kp_7 "key 263"
key_kp_8 "key 264"
key_kp_9 "key 265"
key_kp_plus "key 270"
key_kp_4 "key 260"
key_kp_5 "key 261"
key_kp_6 "key 262"
key_kp_1 "key 257"
key_kp_2 "key 258"
key_kp_3 "key 259"
key_kp_enter "key 271"
key_kp_0 "key 256"
key_kp_period "key 266"
jbutton_0_0
jbutton_0_1
jaxis_0_1-
jaxis_0_1+
jaxis_0_0-
jaxis_0_0+
jbutton_0_2
jbutton_0_3
jbutton_1_0
jbutton_1_1
jaxis_0_2-
jaxis_0_2+
jaxis_0_3-
jaxis_0_3+
jaxis_1_0-
jaxis_1_0+
jaxis_1_1-
jaxis_1_1+
jbutton_0_4
jbutton_0_5
jhat_0_0_0
jhat_0_0_3
jhat_0_0_2
jhat_0_0_1
mod_1 "key 305" "key 306"
mod_2 "key 307" "key 308"
mod_3


There you go!

Now, if you want to customize your own controls, things get a bit hairy. First, open the Manual.pdf you were given in the same folder and put it near your mapper.txt
The key legend is actually BACKWARDS from what probably makes the most sense. Treat it like the "key NNN" being the actual key value on your keyboard, and "key_X" as being the emulated key value in DOSBOX.

This means, to change move forward, you have to actually move "key 119" to key_up. This is because there's no way to change the raw input that ROTH is expecting, so you're just mapping the keyboard emulation backwards like an extremely rudimentary input profiler. key 119 is w on your keyboard according to the mapper, and so when you put that in front of key_up, you get this mapping:

"key 119" (w on keyboard) -> key_up (ROTH translation) -> move forward.
"key 97" (a on keyboard) -> key_left (ROTH translation) -> turn left.
"key 115" (s on keyboard) -> key_down (ROTH translation) -> move backwards.
"key 100" (d on keyboard) -> key_right (ROTH translation) -> turn right.
and so forth.

Hope this helps my fellow ROTH fans and newcomers alike!

Отредактировано Cirrusstrafe; 25 апр. 2014 г. в 18:32
< >
Сообщения 3145 из 51
This works great, but in the end I preferred to get all the controls like I wanted them and it proved much easier to use DOS-box own keymapper with ctrl-F1 as mentioned by others.

It was a bit confusing at first but this thread here helped a lot;
http://www.gog.com/forum/realms_of_the_haunting/tips_for_beginners/page1

Does anyone know if you can stop the mouselook-mode from making your character walk back/forward? I just want to look around with the mouselook and use keys for walking.

I just noticed you can't strafe and such when you mouselook, so using the mouse to look around while moving wasn't very practical anyway.

But by changing the mouse sensitivity (sensitivity) in the dosboxROTH.config to 25 and raising the sensitivity in the ingame options I wasn't moving around so fast which makes the mouselook/walk much easier to use. You can even look around on the spot a bit easier.
@BlindeKillen you can have strafe keys as I mentioned here:
Автор сообщения: Fox Cunning
...
...it's just not very convenient.
Автор сообщения: Fox Cunning
@BlindeKillen you can have strafe keys as I mentioned here:
Автор сообщения: Fox Cunning
...
...it's just not very convenient.
Hmm, yeah, so those fixes so you can strafe while in mouse-look?

I'm not too fond of the rest of the control scheme though, but maybe I can change those and just keep the strafing settings somehow. I'll give it a try when I have time.
Автор сообщения: BlindeKillen
I'm not too fond of the rest of the control scheme though, but maybe I can change those and just keep the strafing settings somehow. I'll give it a try when I have time.
Sure, in that case try replacing only these lines in the OP's scheme:

key_a "key 32"
key_d "key 46"
key_comma "key 97"
key_period "key 100"
key_left "key 276"
key_right "key 275"

Haven't tried yet, but should be enough to fix strafing without changing anything else.
Отредактировано Fox Cunning; 14 янв. 2016 г. в 10:44
Here is a more standard FPS key layout (change contents of mapper.txt in the main folder):

hand_shutdown "key 290 mod1"
hand_capmouse "key 291 mod1"
hand_fullscr "key 13 mod2"
hand_pause "key 19 mod2"
hand_mapper "key 282 mod1"
hand_speedlock "key 293 mod2"
hand_recwave "key 287 mod1"
hand_caprawmidi "key 289 mod1 mod2"
hand_scrshot "key 286 mod1"
hand_video "key 286 mod1 mod2"
hand_decfskip "key 288 mod1"
hand_incfskip "key 289 mod1"
hand_cycledown "key 292 mod1"
hand_cycleup "key 293 mod1"
hand_caprawopl "key 288 mod1 mod2"
hand_swapimg "key 285 mod1"

key_esc "key 27"
key_f1 "key 282"
key_f2 "key 283"
key_f3 "key 284"
key_f4 "key 285"
key_f5 "key 286"
key_f6 "key 287"
key_f7 "key 288"
key_f8 "key 289"
key_f9 "key 290"
key_f10 "key 291"
key_f11 "key 292"
key_f12 "key 293"

key_grave
key_1 "key 49"
key_2 "key 50"
key_3 "key 51"
key_4 "key 52"
key_5 "key 53"
key_6 "key 54"
key_7 "key 55"
key_8 "key 56"
key_9 "key 57"
key_0 "key 48"
key_minus "key 45"
key_equals "key 61"
key_bspace "key 8"

key_tab "key 9"
key_q "key 60"
key_w "key 119"
key_e "key 46"
key_r "key 114"
key_t "key 116"
key_y "key 121"
key_u "key 113"
key_i "key 9"
key_o "key 111"
key_p "key 112"
key_lbracket "key 91"
key_rbracket "key 93"
key_enter "key 13"

key_capslock "key 304"
key_a "key 32"
key_s "key 115"
key_d "key 100"
key_f "key 102"
key_g "key 103"
key_h "key 104"
key_j "key 106"
key_k "key 107"
key_l "key 108"
key_semicolon "key 59"
key_quote "key 39"
key_backslash "key 92"

key_lshift "key 304"
key_lessthan "key 60"
key_z "key 306"
key_x "key 120"
key_c "key 99"
key_v "key 118"
key_b "key 32"
key_n "key 110"
key_m "key 109"
key_comma "key 97"
key_period "key 100"
key_slash "key 47"
key_rshift "key 303"

key_lctrl "key 116"
key_lalt "key 308"
key_space "key 118"
key_ralt "key 307"
key_rctrl "key 305"

key_printscreen "key 316"
key_scrolllock "key 302"
key_pause "key 19"

key_insert "key 277"
key_home "key 114"
key_pageup "key 101"

key_delete "key 174"
key_end "key 102"
key_pagedown "key 279"

key_up "key 119"
key_left "key 111"
key_down "key 115"
key_right "key 112"

key_numlock "key 300"
key_kp_divide "key 267"
key_kp_multiply "key 268"
key_kp_minus "key 269"

key_kp_7 "key 263"
key_kp_8 "key 264"
key_kp_9 "key 265"
key_kp_plus "key 270"

key_kp_4 "key 260"
key_kp_5 "key 261"
key_kp_6 "key 262"

key_kp_1 "key 257"
key_kp_2 "key 258"
key_kp_3 "key 259"
key_kp_enter "key 271"

key_kp_0 "key 256"
key_kp_period "key 266"

jbutton_0_0
jbutton_0_1
jaxis_0_1-
jaxis_0_1+
jaxis_0_0-
jaxis_0_0+
jbutton_0_2
jbutton_0_3
jbutton_1_0
jbutton_1_1
jaxis_0_2-
jaxis_0_2+
jaxis_0_3-
jaxis_0_3+
jaxis_1_0-
jaxis_1_0+
jaxis_1_1-
jaxis_1_1+
jbutton_0_4
jbutton_0_5
jhat_0_0_0
jhat_0_0_3
jhat_0_0_2
jhat_0_0_1
mod_1 "key 305" "key 306"
mod_2 "key 307" "key 308"
mod_3

Pressing A and D makes the character strafe instead of OP turning, CTRL = crouching, SHIFT = switch walk and run, E centers view after looking up and down, TAB opens inventory.

If you want to use your own bindings, do as follows:

1) Find what key is assigned to the desired action in the Manual (also in the main folder)
2) Open mapper.txt and find that key in the left row
3) Change the number to the right to the key you like, using http://en.qi-hardware.com/wiki/Key_codes

For example, you want to bind crouching to C.
1) in the manual, the key for crouching is Z
2) in the mapper.txt, the corresponding line is: key_z "key 122" (in my mapper, 306)
3) the code for C in http://en.qi-hardware.com/wiki/Key_codes is 99. Change 122 for 99, so as the line reads as follows: key_z "key 99"

Dont forget the game has mouselook (press and hold left and right mouse buttons simultaneously, after you start moving you can release the right button and hold only the left one). Moving while holding RB is strange, but interesting.
Отредактировано Grader; 20 сен. 2017 г. в 9:48
how do I activate aim look with the mouse?

Sometimes my character does it automatically but I dont know which button does it
is there a list I can find that show us what all t hese numbers mean so it would be eaiser for me to set this up?
Автор сообщения: Lord Tony
is there a list I can find that show us what all t hese numbers mean so it would be eaiser for me to set this up?
The list is linked in Grader's post just above: http://en.qi-hardware.com/wiki/Key_codes
Think I'm gonna pass on this game, as cannot get mouselook to work despite trying the AHK fix:

https://www.gog.com/forum/realms_of_the_haunting/autohotkey_script_for_toggling_mouselook
Автор сообщения: Cirrusstrafe
Hi everyone! I couldn't stand fumbling around with my left hand on arrow keys and right hand mouse, and all the other goofy stuff that comes with old DOS game mapping, and I did not want to download a third party mod just to do it for me, so I decided to unfurl the keymapping for everyone. This is just basic WASD and spacebar = jump support, as I could not get strafing to function, sadly. Everything else is as is in the manual.

Navigate to your Steam/SteamApps/common/Realms of the Haunting folder, and open mapper.txt and drop this in. Save it, start the game, and WASD + Spacebar should function like modern stuff does. Oh, and make a backup, just in case you want to mod it your own way (I'll explain how after).

hand_shutdown "key 290 mod1"
hand_capmouse "key 291 mod1"
hand_fullscr "key 13 mod2"
hand_pause "key 19 mod2"
hand_mapper "key 282 mod1"
hand_speedlock "key 293 mod2"
hand_recwave "key 287 mod1"
hand_caprawmidi "key 289 mod1 mod2"
hand_scrshot "key 286 mod1"
hand_video "key 286 mod1 mod2"
hand_decfskip "key 288 mod1"
hand_incfskip "key 289 mod1"
hand_cycledown "key 292 mod1"
hand_cycleup "key 293 mod1"
hand_caprawopl "key 288 mod1 mod2"
hand_swapimg "key 285 mod1"
key_esc "key 27"
key_f1 "key 282"
key_f2 "key 283"
key_f3 "key 284"
key_f4 "key 285"
key_f5 "key 286"
key_f6 "key 287"
key_f7 "key 288"
key_f8 "key 289"
key_f9 "key 290"
key_f10 "key 291"
key_f11 "key 292"
key_f12 "key 293"
key_grave
key_1 "key 49"
key_2 "key 50"
key_3 "key 51"
key_4 "key 52"
key_5 "key 53"
key_6 "key 54"
key_7 "key 55"
key_8 "key 56"
key_9 "key 57"
key_0 "key 48"
key_minus "key 45"
key_equals "key 61"
key_bspace "key 8"
key_tab "key 9"
key_q "key 60"
key_w "key 119"
key_e "key 46"
key_r "key 114"
key_t "key 116"
key_y "key 121"
key_u "key 117"
key_i "key 105"
key_o "key 111"
key_p "key 112"
key_lbracket "key 91"
key_rbracket "key 93"
key_enter "key 13"
key_capslock "key 96"
key_a "key 32"
key_s "key 115"
key_d "key 100"
key_f "key 102"
key_g "key 103"
key_h "key 104"
key_j "key 106"
key_k "key 107"
key_l "key 108"
key_semicolon "key 59"
key_quote "key 39"
key_backslash "key 92"
key_lshift "key 304"
key_lessthan "key 60"
key_z "key 122"
key_x "key 120"
key_c "key 99"
key_v "key 118"
key_b "key 32"
key_n "key 110"
key_m "key 109"
key_comma "key 44"
key_period "key 46"
key_slash "key 47"
key_rshift "key 303"
key_lctrl "key 306"
key_lalt "key 308"
key_space "key 118"
key_ralt "key 307"
key_rctrl "key 305"
key_printscreen "key 316"
key_scrolllock "key 302"
key_pause "key 19"
key_insert "key 277"
key_home "key 278"
key_pageup "key 280"
key_delete "key 127"
key_end "key 279"
key_pagedown "key 281"
key_up "key 119"
key_left "key 97"
key_down "key 115"
key_right "key 100"
key_numlock "key 300"
key_kp_divide "key 267"
key_kp_multiply "key 268"
key_kp_minus "key 269"
key_kp_7 "key 263"
key_kp_8 "key 264"
key_kp_9 "key 265"
key_kp_plus "key 270"
key_kp_4 "key 260"
key_kp_5 "key 261"
key_kp_6 "key 262"
key_kp_1 "key 257"
key_kp_2 "key 258"
key_kp_3 "key 259"
key_kp_enter "key 271"
key_kp_0 "key 256"
key_kp_period "key 266"
jbutton_0_0
jbutton_0_1
jaxis_0_1-
jaxis_0_1+
jaxis_0_0-
jaxis_0_0+
jbutton_0_2
jbutton_0_3
jbutton_1_0
jbutton_1_1
jaxis_0_2-
jaxis_0_2+
jaxis_0_3-
jaxis_0_3+
jaxis_1_0-
jaxis_1_0+
jaxis_1_1-
jaxis_1_1+
jbutton_0_4
jbutton_0_5
jhat_0_0_0
jhat_0_0_3
jhat_0_0_2
jhat_0_0_1
mod_1 "key 305" "key 306"
mod_2 "key 307" "key 308"
mod_3


There you go!

Now, if you want to customize your own controls, things get a bit hairy. First, open the Manual.pdf you were given in the same folder and put it near your mapper.txt
The key legend is actually BACKWARDS from what probably makes the most sense. Treat it like the "key NNN" being the actual key value on your keyboard, and "key_X" as being the emulated key value in DOSBOX.

This means, to change move forward, you have to actually move "key 119" to key_up. This is because there's no way to change the raw input that ROTH is expecting, so you're just mapping the keyboard emulation backwards like an extremely rudimentary input profiler. key 119 is w on your keyboard according to the mapper, and so when you put that in front of key_up, you get this mapping:

"key 119" (w on keyboard) -> key_up (ROTH translation) -> move forward.
"key 97" (a on keyboard) -> key_left (ROTH translation) -> turn left.
"key 115" (s on keyboard) -> key_down (ROTH translation) -> move backwards.
"key 100" (d on keyboard) -> key_right (ROTH translation) -> turn right.
and so forth.

Hope this helps my fellow ROTH fans and newcomers alike!
itt's easier rebinding keys on dosbox instead
Impossible. Why it was released on steam without a way to remap controls and enable mouselook is beyond me. look at the recent witchhaven re release, it has graphical settings menus for controls, video modes, and graphical dosbox settings menu. wtf is wrong with developers who don't think these things are the standard.
< >
Сообщения 3145 из 51
Показывать на странице: 1530 50

Дата создания: 25 апр. 2014 г. в 18:29
Сообщений: 51