It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
I want to switch up the controls in the game where I can use my w/s/a/d/q/e keys to move around rather than the numpad. Does anyone know how to do this? Any and all help in this matter would be greatly appreciated.
No posts in this topic were marked as the solution yet. If you can help, add your reply
high rated
avatar
WesCox86: I want to switch up the controls in the game where I can use my w/s/a/d/q/e keys to move around rather than the numpad. Does anyone know how to do this? Any and all help in this matter would be greatly appreciated.
You can use the DOSBox remapping feature. To access is, press CTRL+F1 anytime during the game.

Now you will see a virtual keyboard. What you want to do is click on one of the numpad keys (for example 7) on the virtual keyboard and then click on the "Add" button. Now press the key you want to bind to that event (for example q).

Now everytime you press q, the game thinks you pressed the 7 key on the numpad as well as q. If that causes problems, you can remove the binding of the q button to q by clicking on the q button on the virtual keyboard and clicking on "Del".

This way you can remap the whole keyboard. The result is saved to a textfile called "mapper.txt". If you screw up and want to return to the default settings, just exit the game, delete "mapper.txt" and start anew.
Post edited March 07, 2012 by Lafazar
Thanks Lafazar. It worked for me (solution). Coming to this from Grimrock, I needed the QWEASD controls.
In the OSX version I don't succeed open any remapping with Ctrl+F1. Anyone has an idea if there's a solution?

On OSX there's nothing like Autohotkey so I'm glued with static commands of Lands of Lore and I can't play with that.
avatar
Senestoj: In the OSX version I don't succeed open any remapping with Ctrl+F1. Anyone has an idea if there's a solution?

On OSX there's nothing like Autohotkey so I'm glued with static commands of Lands of Lore and I can't play with that.
Command + U simulates a numeric keypad with 789,UIO,JKL
What hotkeys exist in lands of lore?
I got 789456 on the numpad for movement but I also found out that F1-F3 attacks with character 1-3 and R lets you rest and nowhere in the manual does it ever mention and of that.
Are there other hotkeys like for example for magic, the thing that NEEDS HOTKEYS the most?
Clicking the tiny icons to cast it is very tedious, especially later on in a certain tower where you need to heal RIGHT NOW oops you missed the III button by 1 pixel, now do it all over again.

Is there a way of not having to click the buttons with a mouse ever?
Post edited July 12, 2014 by verwurster
Well, since I bought myself a laptop recently I was in the same situation that I needed to reconfigure my keys to be able to use the WSAD + QE layout for Lands of Lore. The problem is that when configuring the keys in dosbox via its keymapper and setting the WASD keys up to represent the 8546 keys of the numeric keypad, the keys get assigned twice. That means when the W key is pressed, dosbox prints out w8.

Of course, that's kind of annoying. Luckily, dosbox allows to have individual configurations and dosbox can be configured to use individual keymaps (for example for different games). That is what I wanted to have: a special keymap configuration only for Lands of Lore. For anyone interested, here is how I configured dosbox accordingly. Please note that I am a Linux and command line user. If you use a different OS or prefer to click icons on a desktop/start menu your configuration may vary.

First I fired up dosbox and entered the keymapper by pressing CTRL+SHIFT+F1. I assigned the QWEASD keys to the 789456 numeric keypad keys in the mapper. The new layout gets saved to a file called “mapper-0.74.map” in the dosbox configuration folder (.dosbox). I renamed that file to LOL1mapper-0.74.map and saved it to my Lands of Lore game folder.

I edited the dosbox configuration file, which is called “dosbox-0.74.conf”. In the [sdl] section I set mapperfile=LOL1mapper-0.74.map. I saved the configuration file as LOL1dosbox-0.74.conf to my Lands of Lore game folder as well (GOG.com provides a configuration file for the game as well, which is called “dosboxLOL1.conf”).

Now I can call dosbox from the game folder and make it use the LOL1 configuration file by typing “dosbox -conf LOL1dosbox-0.74.conf”.

To speed things up a little I added the following lines to the [autoexec] section of my LOL1dosbox-0.74.conf file to have Lands of Lore automatically loaded:

mount c .
imgmount d "GAME.DAT" -t iso -fs iso
c:
cls
LOLCD.EXE
exit

Finally, I created a simple text file that I called LOL1.BAT and added the “dosbox -conf LOL1dosbox-0.74.conf” command to it and made it executable. Now I can start Lands of Lore: The Throne of Chaos with its custom keymap from the game folder by simply typing “./LOL1.BAT”.
I tried editing the mappings as CatShannon suggested, but ended up not having it working.

The strange thing is that when I remap F1-F3 to 1-3, those mappings work, but keypad 4-9 mapped to QWEASD do not. My mapping file for them looks like this:

key_q "key 263" "key 113" "key 263"
key_w "key 264" "key 119" "key 264"
key_e "key 265" "key 101" "key 265"
key_a "key 260" "key 97" "key 260"
key_s "key 261" "key 115" "key 261"
key_d "key 262" "key 100" "key 262"
key_kp_7
key_kp_8
key_kp_9
key_kp_4
key_kp_5
key_kp_6

I don't know why there are that many set of keys mapped for one specific key, but if I remove everything else leaving only the one mapping I want it doesn't work either. Any ideas..?
avatar
Senestoj: In the OSX version I don't succeed open any remapping with Ctrl+F1. Anyone has an idea if there's a solution?

On OSX there's nothing like Autohotkey so I'm glued with static commands of Lands of Lore and I can't play with that.
For OS X users. I was able to remap the controls using the Karabiner app: https://pqrs.org/osx/karabiner/index.html.en

Here's my private.xml config

<?xml version="1.0"?>
<root>
<item>
<name>Remap LoL controls</name>
<identifier>private.app_lol_controls</identifier>
<only>LANDS_OF_LORE</only>
<autogen>__KeyToKey__ KeyCode::A, KeyCode::KEYPAD_4</autogen>
<autogen>__KeyToKey__ KeyCode::S, KeyCode::KEYPAD_5</autogen>
<autogen>__KeyToKey__ KeyCode::D, KeyCode::KEYPAD_6</autogen>
<autogen>__KeyToKey__ KeyCode::Q, KeyCode::KEYPAD_7</autogen>
<autogen>__KeyToKey__ KeyCode::W, KeyCode::KEYPAD_8</autogen>
<autogen>__KeyToKey__ KeyCode::E, KeyCode::KEYPAD_9</autogen>
</item>
<appdef>
<appname>LANDS_OF_LORE</appname>
<equal>com.gog.lands-of-lore</equal>
</appdef>
</root>
avatar
Senestoj: In the OSX version I don't succeed open any remapping with Ctrl+F1. Anyone has an idea if there's a solution?

On OSX there's nothing like Autohotkey so I'm glued with static commands of Lands of Lore and I can't play with that.
avatar
afedoseev: For OS X users. I was able to remap the controls using the Karabiner app: https://pqrs.org/osx/karabiner/index.html.en

Here's my private.xml config

<?xml version="1.0"?>
<root>
<item>
<name>Remap LoL controls</name>
<identifier>private.app_lol_controls</identifier>
<only>LANDS_OF_LORE</only>
<autogen>__KeyToKey__ KeyCode::A, KeyCode::KEYPAD_4</autogen>
<autogen>__KeyToKey__ KeyCode::S, KeyCode::KEYPAD_5</autogen>
<autogen>__KeyToKey__ KeyCode::D, KeyCode::KEYPAD_6</autogen>
<autogen>__KeyToKey__ KeyCode::Q, KeyCode::KEYPAD_7</autogen>
<autogen>__KeyToKey__ KeyCode::W, KeyCode::KEYPAD_8</autogen>
<autogen>__KeyToKey__ KeyCode::E, KeyCode::KEYPAD_9</autogen>
</item>
<appdef>
<appname>LANDS_OF_LORE</appname>
<equal>com.gog.lands-of-lore</equal>
</appdef>
</root>
I'm playing in macOS too. Can someone clarify for me how to use this code with the Karabiner app?
Hey!
To make it works with current version of the Karabiner app you have to create a new .json file inside ~/.config/karabiner/assets/complex_modifications and insert this config: pastebin.com/PH3K1nAF
Then you will be able to enable it under Complex Modifications inside the app.
Post edited December 12, 2018 by filletzz
I just use a program called reWASD, and remap an xbox controller to whatever i want
My post keeps getting truncated, suppose my browser and/or extensions is
somehow incompatible
anyway @ post 4 and 8 if you're still around
check attached pic
Attachments:
Post edited August 25, 2023 by arkivaren1
avatar
arkivaren1: My post keeps getting truncated, suppose my browser and/or extensions is
somehow incompatible
anyway @ post 4 and 8 if you're still around
check attached pic
Hey thanks for this post but in my LOL application folder I'm not finding a mapper.map file even tho the config is pointing to it?