Skip to content
Venomalia edited this page Aug 14, 2021 · 12 revisions

This is a tutorial to show you how to create a Dynamic Input Texture package for Dolphin Emulator based on Universal Dynamic Input, it is intended for users who want to create their own packages and contribute them to the project.

The following steps will probably be complicated at first. But once you get used to it, it will only take a few minutes.

Create

  1. Dump the textures with Dolphin.

  2. Increase the size of the textures. This is optional but too small textures look very blurry.

    • normally 400% for GC games and by 200% for Wii games.
    • nearest neighbor should be used as filter.
  3. create the base package with DolphinDynamicInputTextureCreator.

  4. open the exported output.json with any editor and set the generated_folder_name to #Generated_ plus the name of the package.

  5. add the content of one of the #Assets\host_controls_<Style>.json above the output.json

    • You should choose the style that suits the keys best.
  6. Create an empty _gameids folder in your package

  7. create an empty <GAMEID>.txt in _gameids folder.

  8. you should rename the output.json to output_<STYLE>.json

  9. now you can test it.

when your pack is ready you can contribute it to this project.

Templates

host_controls_<Style>.json

  • are available for many styles and contain the host_controls information which links the exchange textures.

host_controls_<Style>_Pressed.json

  • they are only available for Defaultstyle and Flat they swap the textures with the pressed version.
  • The sticks directions are exchanged with the neutral version.
  • The Dpad direction up and right are exchanged with the neutral version.
  • The Dpad direction down are exchanged with the up & down variant.
  • The Dpad direction left are exchanged with the left & right variant