Toki Tori 2+ > General Discussions > Topic Details
Marco Aug 16, 2013 @ 7:35am
Custom keybindings
Hi,

As you might have noticed, we have just updated Toki Tori2+ with a number of cool features. One of them is basic support for custom keybindings as requested by many here in the forums. We don't have a graphical front-end for it, but you can change the bindings by editing a configuration file.

This configuration file is located in your local Two Tribes data folder, which can be found on Windows systems in:

<user>\AppData\Local\Two Tribes\Toki Tori2+\keybindings.xml

Where <user> is your user directory (e.g. C:\Users\TokiTori )

On Mac the file is located here:
<home>/Library/com.twotribes.tokitori2/keybindings.xml

Where <home> is your home directory (e.g. /Users/TokiTori )

NOTE: You have to start the game first after updating, before this file is present in the aforementioned directory

Open this file with your favorite text editor and change the keys you want to something else. If you have questions about the specific format of the XML file post a reply here, it should be pretty self-explanatory.

If you somehow break the keybindings, just delete the keybindings.xml file from your computer and start the game. A new file with the default key mappings should be restored.

Have fun!
Last edited by Marco; Aug 16, 2013 @ 7:49am
Showing 1-4 of 4 comments
< >
Micah Sep 4, 2013 @ 8:19pm 
What are the binding codes for number pad divide, multiply, add and subtract? What are the binding codes for comma, period? Are there binding codes for mouse buttons (4 and 5, AKA forward/back)? It may be easier if there is just a file I can open up and get a list of all the key codes, I would assume most of them are obvious once you see them?
Marco Sep 5, 2013 @ 12:33am 
The key codes that are used are documented here:

http://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx

Mouse buttons are not supported
swenor Dec 3, 2013 @ 9:48pm 
I'm glad we have at least this way of rebinding the keys. TY TT2+ Team.
Last edited by swenor; Dec 3, 2013 @ 9:49pm
Lantea Jul 7 @ 11:38am 
Thanks, this is better than nothing, but sure would be nice to have it in game, rather than having to play around with file editing.

Showing 1-4 of 4 comments
< >
Per page: 15 30 50