Creating Auto-Loading/Auto-Closing Controller Configs Through Steam

Subscribers:
1,310
Published on ● Video Link: https://www.youtube.com/watch?v=U-jqusWuM30



Duration: 4:50
34 views
1


I got Superbrothers: Swords & Sworcery EP on Steam this afternoon and quickly found that there was no controller support. The game looks soo interesting but I don't want to sit with my eyes glued to a 60 inch television with a keyboard and mouse in my lap the whole time.

I like to use Big Picture mode and navigate with a controller, man! A 360 controller! So I created a JoyToKey config available for download (better yet, I'll leave the text you can copy and paste in the bottom of the description).

I also wanted to create a batch file that would open JoyToKey when the game opened and close it upon exiting the game. So I did. Then as a finishing touch, I set Steam to load the batch file instead of the initial file so it will load achievements as tell as everything else the overlay has to offer as usual, just now with controller support!

1.) Download JoyToKey from: https://joytokey.net/en/download and throw it in your game's folder.

2.) Add the Config file:

--------------------------------------------------------------------------------------------------------
[General]
FileVersion=57
NumberOfJoysticks=2
NumberOfButtons=32
DisplayMode=2
UseDiagonalInput=0
UsePOV8Way=0
Threshold=20
Threshold2=20
KeySendMode=0
SoundFile=
ImageFile=

[Joystick 1]
Axis1n=2, -35, 0, 0, 0, 0, 0, 0.000, 0, 95, 1.0, 100, 0, 0, 0
Axis1p=2, 35, 0, 0, 0, 0, 0, 0.000, 0, 95, 1.0, 100, 0, 0, 0
Axis2n=2, 0, -35, 0, 0, 0, 0, 0.000, 0, 95, 1.0, 100, 0, 0, 0
Axis2p=2, 0, 35, 0, 0, 0, 0, 0.000, 0, 95, 1.0, 100, 0, 0, 0
Axis3n=2, 0, 0, 10, 0, 0, 0, 0.000, 0, 95, 1.0, 100, 0, 0, 0
Axis3p=2, 0, 0, -10, 0, 0, 0, 0.000, 0, 95, 1.0, 100, 0, 0, 0
Axis4n=2, 0, 0, 10, 0, 0, 0, 0.000, 0, 95, 1.0, 100, 0, 0, 0
Axis4p=2, 0, 0, -10, 0, 0, 0, 0.000, 0, 95, 1.0, 100, 0, 0, 0
Button01=2, 0, 0, 0, 1, 0, 0, 0.000, 0, 95, 1.0, 100, 0, 0, 0
Button02=2, 0, 0, 0, 0, 0, 1, 0.000, 0, 95, 1.0, 100, 0, 0, 0
Button03=1, 58:00:00:00, 0.000, 0, 0
Button07=1, 1B:00:00:00, 0.000, 0, 0
Button08=1, 1B:00:00:00, 0.000, 0, 0
Button11=2, 0, 0, 0, 0, 0, 1, 0.000, 0, 95, 1.0, 100, 0, 0, 0
Button12=2, 0, 0, 0, 1, 0, 0, 0.000, 0, 95, 1.0, 100, 0, 0, 0
POV1-1=2, 0, 0, 10, 0, 0, 0, 0.000, 0, 95, 1.0, 100, 0, 0, 0
POV1-5=2, 0, 0, -10, 0, 0, 0, 0.000, 0, 95, 1.0, 100, 0, 0, 0
Button04=1, 5A:00:00:00, 0.000, 0, 0
Button05=1, 5A:00:00:00, 0.000, 0, 0
Button09=1, 5A:00:00:00, 0.000, 0, 0
Button10=1, 58:00:00:00, 0.000, 0, 0

--------------------------------------------------------------------------------------------------------

to a file in notepad and save it with a file extension of .cfg. Throw that in the JoyToKey folder. (ensure you rename it from JoyToKey_en).

3.) Create your Batch File:

@echo off
start /d ".\JoyToKey\" JoyToKey.exe
swordandsworcery_pc.exe /w
taskkill /f /IM swordandsworcery_pc.exe
taskkill /f /IM JoyToKey.exe

4.) Set it in the root of the game folder and turn your attention back to Steam. Right-click 'Properties', and 'Set Launch Options'. Now type your batch file with quotes:

"Sword & Sworcery.bat" %command%

5.) You're all set.