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

×
Hey,

Absolutely love this game, but I was struggling with a keyboard layout a little bit. I've been playing the game on an Apple Wireless keyboard with no numeric keypad and I find it very hard with all the keys scattered around the keyboard.

To fix this for me I've used the Karabiner app which can help you remap the keys to your liking.

The app's interface is horrible, but I couldn't find a better, more reliable and more customizable solution. On the other hand the app allows you to target specific processes with specific key bindings, so your remapping will only affect the GOG's Sword of the Samurai and wouldn't affect any other app or your OSX's system key bindings.

I spent an evening mapping the keys with the manual so if you feel techy enough to venture into this and think this will improve your playtime - you are welcome.

INSTALLATION

Please do it at your own risk, but frankly I doubt you can mess anything up seriously. The worst thing that can happen - you may overwrite your existing Karabiner settings if you use it already.

1. Download, install and run Karabiner.
2. Go to the "~/Library/Application Support/Karabiner" folder (cmd+shift+g in Finder) and edit the private.xml file located there. Put these settings in the file:

<?xml version="1.0"?>
<root>
<appdef>
<appname>MICROPROSE_SWORD_OF_THE_SAMURAI</appname>
<equal>com.gog.sword-of-the-samurai</equal>
</appdef>
<item>
<name>Up</name>
<only>MICROPROSE_SWORD_OF_THE_SAMURAI</only>
<identifier>private.microprose_sword_of_the_samurai_up</identifier>
<autogen> __KeyToKey__ KeyCode::W, KeyCode::KEYPAD_8</autogen>
</item>
<item>
<name>Down</name>
<only>MICROPROSE_SWORD_OF_THE_SAMURAI</only>
<identifier>private.microprose_sword_of_the_samurai_down</identifier>
<autogen> __KeyToKey__ KeyCode::S, KeyCode::KEYPAD_2</autogen>
</item>
<item>
<name>Left</name>
<only>MICROPROSE_SWORD_OF_THE_SAMURAI</only>
<identifier>private.microprose_sword_of_the_samurai_left</identifier>
<autogen> __KeyToKey__ KeyCode::A, KeyCode::KEYPAD_4</autogen>
</item>
<item>
<name>Right</name>
<only>MICROPROSE_SWORD_OF_THE_SAMURAI</only>
<identifier>private.microprose_sword_of_the_samurai_right</identifier>
<autogen> __KeyToKey__ KeyCode::D, KeyCode::KEYPAD_6</autogen>
</item>
<item>
<name>Up and Left</name>
<only>MICROPROSE_SWORD_OF_THE_SAMURAI</only>
<identifier>private.microprose_sword_of_the_samurai_upleft</identifier>
<autogen> __KeyToKey__ KeyCode::Q, KeyCode::KEYPAD_7</autogen>
</item>
<item>
<name>Up and Right</name>
<only>MICROPROSE_SWORD_OF_THE_SAMURAI</only>
<identifier>private.microprose_sword_of_the_samurai_upright</identifier>
<autogen> __KeyToKey__ KeyCode::E, KeyCode::KEYPAD_9</autogen>
</item>

<item>
<name>Swordplay parry</name>
<only>MICROPROSE_SWORD_OF_THE_SAMURAI</only>
<identifier>private.microprose_sword_of_the_samurai_enter</identifier>
<autogen> __KeyToKey__ KeyCode::QUOTE, KeyCode::RETURN</autogen>
</item>
<item>
<name>Swordplay slash</name>
<only>MICROPROSE_SWORD_OF_THE_SAMURAI</only>
<identifier>private.microprose_sword_of_the_samurai_backspace</identifier>
<autogen> __KeyToKey__ KeyCode::SEMICOLON, KeyCode::DELETE</autogen>
</item>
<item>
<name>Turn and march units</name>
<only>MICROPROSE_SWORD_OF_THE_SAMURAI</only>
<identifier>private.microprose_sword_of_the_samurai_plus</identifier>
<autogen> __KeyToKey__ KeyCode::BRACKET_RIGHT, KeyCode::KEYPAD_PLUS</autogen>
</item>
<item>
<name>March units without turning</name>
<only>MICROPROSE_SWORD_OF_THE_SAMURAI</only>
<identifier>private.microprose_sword_of_the_samurai_minus</identifier>
<autogen> __KeyToKey__ KeyCode::BRACKET_LEFT, KeyCode::KEYPAD_MINUS</autogen>
</item>
<item>
<name>Turn units</name>
<only>MICROPROSE_SWORD_OF_THE_SAMURAI</only>
<identifier>private.microprose_sword_of_the_samurai_multiply</identifier>
<autogen> __KeyToKey__ KeyCode::P, KeyCode::KEYPAD_MULTIPLY</autogen>
</item>
<item>
<name>Status Scroll</name>
<only>MICROPROSE_SWORD_OF_THE_SAMURAI</only>
<identifier>private.microprose_sword_of_the_samurai_f1</identifier>
<autogen> __KeyToKey__ KeyCode::BRIGHTNESS_DOWN, KeyCode::F1, ModifierFlag::FN</autogen>
</item>
<item>
<name>Strategic Map</name>
<only>MICROPROSE_SWORD_OF_THE_SAMURAI</only>
<identifier>private.microprose_sword_of_the_samurai_f2</identifier>
<autogen> __KeyToKey__ KeyCode::BRIGHTNESS_UP, KeyCode::F2, ModifierFlag::FN</autogen>
</item>
<item>
<name>Summary Scroll</name>
<only>MICROPROSE_SWORD_OF_THE_SAMURAI</only>
<identifier>private.microprose_sword_of_the_samurai_f3</identifier>
<autogen> __KeyToKey__ KeyCode::MISSION_CONTROL, KeyCode::F3, ModifierFlag::FN</autogen>
</item>
<item>
<name>Save Game</name>
<only>MICROPROSE_SWORD_OF_THE_SAMURAI</only>
<identifier>private.microprose_sword_of_the_samurai_alts</identifier>
<autogen> __KeyToKey__ KeyCode::LAUNCHPAD, KeyCode::S, ModifierFlag::OPTION_L</autogen>
</item>
<item>
<name>Load Game</name>
<only>MICROPROSE_SWORD_OF_THE_SAMURAI</only>
<identifier>private.microprose_sword_of_the_samurai_altl</identifier>
<autogen> __KeyToKey__ KeyCode::F5, KeyCode::R, ModifierFlag::OPTION_L</autogen>
</item>
<item>
<name>Exit Game</name>
<only>MICROPROSE_SWORD_OF_THE_SAMURAI</only>
<identifier>private.microprose_sword_of_the_samurai_altq</identifier>
<autogen> __KeyToKey__ KeyCode::F6, KeyCode::Q, ModifierFlag::OPTION_L</autogen>
</item>
</root>


3. Rightclik Karabiner (a square icon in your mac tray) and choose "Preferences..." press "Reload XML" and make sure the settings checkboxes are checked like in the image in the attachment.

It's pretty self explanatory and you can change the bindings to your liking or add more bindings if need be, please refer to Karabiner documentation for more help, I just did the bare minimum setup to suit myself.

NEW KEYS:
WSAD - cursor movement in menus, swordplay, battle mode, plus added QE for a diagonal slash in swordplay
Quote - swordplay parry (in place of backspace)
Semicolon - swordplay attack (in place of return)
Right bracket ] - turn and march units in battle mode (in place of +)
Left bracket [ - march units without turning in battle mode (in place of -)
P - turn units in battle mode (in place of *)
F1 - status scroll (no fn press needed)
F2 - strategic map (no fn press needed)
F3 - summary scroll (no fn press needed)
F4 - save game (no fn press needed)
F5 - load game (no fn press needed)
F6 - exit game (no fn press needed)

TESTED ON:
Apple standard issue bluetooth keyboard model No A1314, I didn't encounter any conflicts with any of the keys already used in the game except for the save game names.

LIMITATIONS:
1. Obviously when you'll try to save your game you won't be able to use wsadqep[];' keys in your save game name because of the mapping, just use 1,2,3... as save game names
2. Some keys might not work if you play on a MacBook Pro internal keyboard, it's function keys have different ids in the mapping app and I was too lazy to map those too, message me if you really need this and can't figure this out yourself.

Hope you enjoy this as much as I do =).
Attachments:
Post edited October 07, 2014 by l3l3l5l