How to create a button preset for a controller in FBA

Note: if you have multiple controllers, the mapping might change depending on the order you plugged them in (Joy0, Joy1, etc.)
Note2: this only works for games with similar controls (e.g. all the Marvel and Sreet Fighter games, all the Neo-Geo games)

Step 1: set the controls for a game

Pick any 6-button fighting game and map the controls. Close the game.

Step 2: make a .ini file

Go to the \config\games\ folder and copy the .ini file of that game (names are according to the ROM file).



Paste it into the presets folder and rename it if you want a more identifiable label.

Step 3: Use the preset

Now you can select it from the dropdowns. It's by player number, so choose Player 1 and then the preset.



"Use preset" will instantly change the controls.
"Make default" will cause any new game to automatically acquire these controls if it has the same number of buttons.