Page 1 of 1

How to convert presets from onekind of controller to another

PostPosted: Mon Mar 16, 2015 11:54 pm
by Rodrigo
Hello there!

Since version 1.1.3 of Joystick Mapper, I included a Python script to convert presets inside the App Package and completely forgot to tell you about that! (!) :lol:

currently the script supports Xbox, PS3 and PS4 controllers.

I will now briefly explain how to use the script. keep reading...

  • Please open the;
  • type:
    Code: Select all
    cd /Applications/Joystick\
    and press enter;
  • Look at this model:
    Code: Select all
    ./ TYPEOFPRESET1 path_to_preset1.txt TYPEOFPRESET2 path_to_new_preset.txt

    Dont type exactly this, You need to change TYPEOFPRESET1 and TYPEOFPRESET2 to one of these controller types according to your needs:
    • x360
    • ps3
    • ps4
    path_to_preset1.txt and path_to_new_preset.txt are the pathnames of the original preset file and the the name of the new preset file, respectively.
  • So, for example, if you have a Xbox preset in the file "/path/to/origin.txt" and want to convert it to a PS4 preset named "/path/to/mynewpreset.txt" you need to type this:
    Code: Select all
    ./ x360 /path/to/origin.txt ps4 /path/to/mynewpreset.txt
    and press enter.
  • dont forget to put the preset in the correct folder
  • Please note this does NOT rename any comment, title or tag you may have written inside the preset

This is a more (altough VERY simple) "tech oriented" tool to help some people.
Even though it is included in the app package, this is NOT a officially supported tool, so please dont send me emails asking how to use this.
Instead, if you have questions about this script, post here and I will try to clarify your questions publicly. Thank you for understanding!

Some technical details:
(if you understand some basic programming and want to include another type of controller, please read the script, since this goes out of the scope of this topic, I will not be explaining it right now. I do not plan to include lots of controller types, but feel free to submit your own ones in the array format here.)

Re: How to convert presets from onekind of controller to ano

PostPosted: Sat Mar 18, 2017 4:51 pm
by schroef
You will still need to convert a lot of buttons as well when converting from lets say ps3 to ps4. Ps4 has a couple buttons register different. For example the trigger buttons register as Axis buttons, quite weird.

Re: How to convert presets from onekind of controller to ano

PostPosted: Sun Mar 19, 2017 7:25 pm
by Ashish1485
:) Thanks. Helped a lot