The Matchless Kungfu

The Matchless Kungfu

View Stats:
azerty keyboard, can't move forward with right key
how can I change the movement button? It's greyed out and I need to use W but I have an azerty keyboard.
< >
Showing 1-2 of 2 comments
Turgul Jun 6, 2024 @ 9:48am 
There is a way! I wrote a guide, it's at https://discord.com/channels/1070286451159339100/1248316449886437396 , and copied here:

Props to @hasagiii0391 at https://discord.com/channels/1070286451159339100/1218654326399176805/1220426929455235082 for the pointer.

This guide assumes Windows/Steam.

- Go to %LocalAppData%\HMS_00\Saved\PersistentDownloadDir in explorer
- Right-Click input_options.json , open with -> some text editor; if nothing shows up Choose Another App and use Notepad

The file is JSON, which you can read about online if you want (fun nerd fact: this file is not actually valid JSON, as it uses numbers for object keys; I found this out when I tried to use `jq` to make it more readable), but all you really need to do is replace, for example, "W" with "E". All of the keys that are locked in the settings appear in this file, so just search for them, including the double quotes, and you should be fine.

I assume you could use this to modify gamepad key bindings; I haven't tried.

You will also need to manually change any keys that you've now made overlap; like if you bind something to E you should search for "E" in the file to make sure there's no duplicates.

Specific examples:

```8:{1:"W",-1:"S"},7:{1:"D",-1:"A"},```
^^ That's your movement keys; up, down, right, left, respectively. Here's a Dvorak example for home row movement:
```8:{1:"E",-1:"O"},7:{1:"U",-1:"A"},```

```20:"F",```
^^ That's the Confirm key

```2:"RightMouseButton",3:"LeftMouseButton",6:"Escape",```
^^ Those are the 3 at the top that say Right Mouse Button, Left Mouse Button, and Escape. Swapping the mouse buttons resulting in things being broken. I didn't try changing Escape.

```11:{1:"MouseWheelAxis"},9:{1:"MouseX"},10:{-1:"MouseY"},```
^^ Those are Speed Scaling, Horizontal Rotation, and Vertical Rotation.
Example of changing horizontal rotation to use keyboard keys:
```9:{1:"J",-1:"K"},```
"Speed Scaling" appears to just be "zoom in/out on your view", and you can change it to use keyboard keys in the same way.
Sannotsuki Sep 14, 2024 @ 10:45pm 
Here it is boys the codes for chaging the WASD to the up, down, right, left

8:{1:"Up",-1:"Down"},7:{1:"Right",-1:"Left"}

I tested and confirmed that it works. Also, don't try to fix the code if you do it, you will break it. Just change the area and save it.
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: May 30, 2024 @ 2:36am
Posts: 2