Overview
[FR]Un petit guide pour changer l’assignation des boutons de la manette (et aussi pour le clavier)_________________________[EN]A little guide to change the key binding on gamepad (and also on keyboard)
Avant-propos/Foreword
J’ai créé ce guide parce que je voulais changer l’assignation des touches de la manette car mon bouton LB était un peu bogué, donc j’ai cherché un peu dans les fichiers du jeu, et voilà la solution ! 🙂
I created this guide because I wanted to change the binding of the gamepad because my LB button was a little bit bugged, so i searched in the game’s files and here is the solution ! 🙂
Information pour la manette / Informations for the gamepad
Voici les touches de la manette Xbox 360 et leurs assignations dans le fichier :
joystick button 5 : RB
joystick button 4 : LB (“Changer de monde” par défaut)
joystick button 3 : Y
joystick button 2 : X
joystick button 1 : B
joystick button 0 : A (“Sauter” par défaut)
Here is the gamepad’s keys and their names in the file :
joystick button 5 : RB
joystick button 4 : LB (“Switch Worlds” default)
joystick button 3 : Y
joystick button 2 : X
joystick button 1 : B
joystick button 0 : A (“Jump” default)
Comment faire ?/ How to ?
Le fichier que l’on doit modifier est mainData (il n’a pas d’extension) qui se trouve dans “SteamsteamappscommonAlter WorldAlterWorld_Data”
Ouvrez le fichier mainData avec NotePad++. (c’est le plus simple, car il y a un numérotage de ligne, plus facile pour se repérer)
Utilisez la combinaison “Ctrl+F” pour rechercher des mots clés dans NotePad++, pour plus facilement rechercher les valeurs à changer.
Pour la manette :
– Pour changer la touche du saut : A la ligne 12, cherchez le mot clé “Jump” et modifiez le numéro de “joystick button 0”
– Pour changer la touche du changement de monde : A la ligne 12, cherchez le mot clé “SwitchWorlds” et modifiez le numéro de “joystick button 0”
Pour le clavier :
– Pour changer la touche du saut : A la ligne 15, cherchez le mot clé “Jump” et modifiez la valeur “down” ou “up” (qui est un peu loin) par une lettre du clavier par exemple.
– Pour changer la touche du changement de monde : A la ligne 17, cherchez le mot clé “SwitchWorlds” et modifiez la valeur “space” par une lettre du clavier par exemple.
Attention ! La manip est différente pour les MACs (et surement Linux), il y a des données qui changent (souvent, au lieu de seulement “Jump”, vous avez “JumpMac”, il faudra donc trouver ces valeurs et les modifier en conséquence.), et malheureusement, je ne peux pas tester n’ayant pas de MAC ou de Linux à disposition.
The file we have to modify is mainData (no extension). His location is “SteamsteamappscommonAlter WorldAlterWorld_Data”
Open the file mainData with NotePad++. (it will be easier because there is line numbering)
Use the combinaison “Ctrl+F” to search keywords in NotePad++, it will be easier to find the values to change.
For the gamepad :
– To change the “Jump” key : At the line 12, search the keyword “Jump” and modify the number of “joystick button 0”
– To change the “Switch Worlds” key : At the line 12, search the keyword “SwitchWorlds” and modify the number of “joystick button 0”
For the keyboard :
– To change the “Jump” key : Search the keyword “Jump” and modify the value of “down” or “up” (which is a little further) by a key of the keyboard for example.
– – To change the “Switch Worlds” key : At the line 12, search the keyword “SwitchWorlds” and modify the value of “space” by a key of the keyboard for example.
Be careful ! The process is differente for MAC (and surely for Linux), there are some data who change (often, instead of “Jump”, you have “JumpMac”, you’ll have to find theses values and modify them). Unfortunatly, I can’t test the key binding of MAC and Linux because I don’t have these OS at home.
Conclusion
J’espère que ce petit guide vous aura aidé ! N’hésitez pas à me faire par de avis dans les commentaires, et s’il y a des questions, ou des ajouts (notamment pour MAC et Linux), je serai ravi d’y répondre.
I hope this little guide helped you ! Do not hesitate to share your opinion in the comment section, and if you have any questions, or additions (especially for MAC and Linux), I will be happy to answer you !