Divinity: Original Sin Enhanced Edition

Divinity: Original Sin Enhanced Edition

68 ratings
How to enable WASD player movement
By Eiri 婦 (eirifu)
The game fully supports WASD-style movement, but it's not available in the ingame options. You can enable it with a quick file tweak.
   
Award
Favorite
Favorited
Unfavorite
How it works
Divinity: Original Sin Enhanced Edition added controller support for the game, and with it came a new movement type: Direct control. Problem is, this is limited to gamepad mode. If you're playing with a keyboard and mouse, you're still stuck with the old-fashioned methods of point-and-click, or click-and-drag.

However, all of the new features added to make playing with a controller work is actually possible with the keyboard, and it's supported by the engine. You can bind keys to everything. It's just hidden from the Options menu.

To add WASD-style movement, you will need to configure your settings file manually, outside of the game.
Requirements
A Text Editor
You'll just be editing one config file manually. So, all you really need is a plain text editor.

It doesn't need to be anything complicated, but something with syntax highlighting is a plus.

If you only want WASD movement, that's everything you need. I'll tell you what to add.

Divinity Game File Extractor
If you're a modder, or you want to do something beyond this guide, you need the Export Tool.

The config file that you will edit doesn't show you the keybinds you want, either. To find them, I had to extract the full list of keybinds and default settings from the game data, and enter it manually. The archive to look out for will be Engine.pak .

You can bind any keyboard control to a controller button, and any gamepad control to a keyboard key.

You can find the Export Tool somewhere on the modding forums.
Finding and creating the config file
The file you are going to edit will be in your Documents section of your computer, where your mods, saves, and settings are stored:
\\Documents\Larian Studios\Divinity Original Sin Enhanced Edition\PlayerProfiles\<Your Profile Name>\inputconfig_p1.json

However, it may not actually exist yet. There are two ways to create this file:

Option 1
Start up your game, and edit some of your controls. It doesn't matter what you edit, as long as you have something that's not the default. Simply deleting a key and leaving it blank will not work, as the game will restore it to the default keys if it's blank.

I suggest rebinding the camera control keys to something else, since that's on WASD, by default. Like I said, simply deleting them won't work. I used Shift+WASD.

Once that's done, save your settings and quit. The .json file will now exist.

Option 2
Create the whole thing from scratch. I'll paste the precise text.

The file is actually just a plain text file, with the file extension changed to JSON. It is a JavaScript data file, so you need to fill the text file in a particular way.

Just create the .txt file and rename it to inputconfig_p1.json , and go to the next step.

Remember that you are changing the file extension. It's not supposed to be "inputconfig_p1.json.txt", and you'll probably get a system warning when you change it properly.
Setting the keys
Option 1
All of your custom keys will be here, so you can already see the JavaScript formatting of the dictionary. Just add this text somewhere in the middle of it all:
"CharacterMoveBackward" : ["c:leftstick_ypos", "key:s" ], "CharacterMoveForward" : ["c:leftstick_yneg", "key:w" ], "CharacterMoveLeft" : ["c:leftstick_xneg", "key:a" ], "CharacterMoveRight" : ["c:leftstick_xpos", "key:d" ],

Option 2
Paste this code, in its entirety, into the blank file.

{ "CameraBackward" : ["c:leftstick_ypos", "shift+key:s", "key:down" ], "CameraForward" : ["c:leftstick_yneg", "shift+key:w", "key:up" ], "CameraLeft" : ["c:leftstick_xneg", "shift+key:a", "key:left" ], "CameraRight" : ["c:leftstick_xpos", "shift+key:d", "key:right" ], "CameraRotateLeft" : ["c:rightstick_xpos", "key:e" ], "CameraRotateRight" : ["c:rightstick_xneg", "key:q" ], "CharacterMoveBackward" : ["c:leftstick_ypos", "key:s" ], "CharacterMoveForward" : ["c:leftstick_yneg", "key:w" ], "CharacterMoveLeft" : ["c:leftstick_xneg", "key:a" ], "CharacterMoveRight" : ["c:leftstick_xpos", "key:d" ] }

The camera controls have also been changed - rotate with Q and E, and move it independently with Shift+WASD.

Unlike the controller, overlapping the camera control keys doesn't work for the keyboard.
In-game results (and a video)
The point-and-click and click-and-drag movement options will still be available in the game. Point-and-click will override anything else, and WASD will override a click-and-drag command.

Since the input on your keyboard is digital, you'll only be able to run at full speed.

You may run into a bug where you go at walking speed if you move diagonally. You can fix this easily by stopping to run in another direction, or just nudging your camera rotation.

When you are in combat, the WASD keys will cease to function. If you were playing with a controller, the analog stick at this point will change to camera control. This isn't possible on the keyboard, so you'll need to use the arrow keys, or Shift+WASD if you followed that suggestion.

Legal
This Steam Guide can be used under the Creative Commons BY-NC-SA 4.0 licence.

Please credit me as "Eiri Sanada". In addition, please include a link leading back to this Steam guide.

For a human-readable summary of the licence (which is NOT the actual licence,) go here: https://creativecommons.org/licenses/by-nc-sa/4.0/
28 Comments
xxx78 5 Jan, 2022 @ 8:25pm 
Hi guys
I have tried to get this to work with definitive edition with no luck. Would love to get this to work. Anyone here that can show me what I need to do?
Travnar 11 Aug, 2021 @ 8:25pm 
@DiRten I sent you a friend request, is there any way you could send me the WASD movement files for DOS2?
Dirten 12 Feb, 2021 @ 10:09am 
(Divinity original sin 2)
If anyone wants to help, I can send the unpacked engine file.
Dirten 12 Feb, 2021 @ 10:07am 
Hello, in the second part there is also a function for controlling the character through the controller. But if you write it to the "inputconfig_p1" file, it will be automatically deleted when the keys are updated. I tried to embed "Engine.pak / PlayerProfiles / Eoc / keyboard_1" in the game config file to control this function from the keyboard, but nothing worked. I also implemented it in the standard settings, and did not give results either.

Zadyk 7 Feb, 2021 @ 11:42pm 
Don't work on definitive edition tho any solution please ?
Eiri 婦 (eirifu)  [author] 22 Feb, 2020 @ 1:22am 
No, I never got the second game. I couldn't justify the price for it so it's still on the backburner.
Christian 21 Feb, 2020 @ 5:14pm 
Did you ever get a hold of DOS2? I would definitely send you a steam gift card if you were able to figure out how to do this on DOS 2 Definitive Edition!
[RWC] Wotanok 18 Feb, 2020 @ 3:31pm 
Please show, how it possible (if ther possible?) in DOS 2 DEF.
[RWC] Wotanok 18 Feb, 2020 @ 3:30pm 
Please show, how it possible (if ther possible?) in DOS 2 DEF.