Realms of the Haunting

Realms of the Haunting

 This topic has been pinned, so it's probably important
Cirrusstrafe Apr 25, 2014 @ 6:29pm
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!

Last edited by Cirrusstrafe; Apr 25, 2014 @ 6:32pm
< >
Showing 1-15 of 51 comments
Jaydepps Apr 25, 2014 @ 6:50pm 
Thanks for posting this!
Nobody Apr 26, 2014 @ 10:38am 
This help a lot, thanks.
Vi Apr 29, 2014 @ 4:01am 
Thanks a lot for the config.
I've additionally mapped q and e to Page Up and Page Down, so searching for items on the ground becomes easier.
aXe May 6, 2014 @ 12:40pm 
Check out the first post;
http://www.gog.com/forum/realms_of_the_haunting/transformation_patch_uk_us_version/page1
I used this and it enables you to map all your keys in game. There is some missing text in the menus, but once you click on said menu it's obvious what the options are. This lets you change the all important strafing keys also.
Kain May 12, 2014 @ 3:44pm 
You are amazing my friend.
Kain May 12, 2014 @ 5:42pm 
beansoup282828 Jun 19, 2014 @ 10:33pm 
The A button is mapped to jump too... How do I fix this
Treguard Jun 21, 2014 @ 6:45am 
Thanks, this really helped me out and be able to enjoy the game more :)
Franz Sep 4, 2014 @ 9:49am 
I think you should upload this to Guides for this game.
NagiBatoR_3000 Sep 4, 2014 @ 12:56pm 
Or you could hit Ctrl-F1 and remap whatever you want...
Last edited by NagiBatoR_3000; Sep 4, 2014 @ 12:57pm
Bear Medicine Sep 5, 2014 @ 8:51pm 
Yeah, I am having a hard time figuring out how the mapper works vs the UK controls are like.

Anyone fix the A = Jump and turn?
Bear Medicine Sep 6, 2014 @ 3:04pm 
Anyone have an idea how to enable mouse look?

By the way the post where you can get the keys to map to the US release with the difficulty changes works fine.
Bear Medicine Sep 6, 2014 @ 3:23pm 
Actually, never ♥♥♥♥♥♥♥ mind. The audio is borked now that I have the controls fixed :(
NagiBatoR_3000 Sep 8, 2014 @ 7:37am 
Originally posted by deathzmeasure:
Anyone have an idea how to enable mouse look?
hold left+right mouse button
Bear Medicine Sep 8, 2014 @ 8:20am 
Thanks Kirik!
< >
Showing 1-15 of 51 comments
Per page: 1530 50