Mame Mania Forever Forum

Final Burn Alpha Complete Collection v0.2.97.42, (Emulator + Arcade Set + Console Sets + Extras)

« Older   Newer »
  Share  
danuota
view post Posted on 10/5/2016, 14:50 by: danuota
Avatar

Group:
Member
Posts:
308

Status:


Guarda in rete ho trovato questo, prova...


FBA supports custimized default input.

1. Start FBA and load a game
2. Customize all the inputs to way you want it and exit FBA (The ini file for that game is saved in the cfg folder).
3. Create a directory "def" where FBA is installed
4. Copy that ini file to "def" directory rename it to "custom.ini".
5. Start FBA again, load a game, and goto the input dialog. You will see that "custom" is listed under the controller type drop box.
6. Choose player 1, choose "default" as the controller type, and click on "Make default".
7. Repeat step 6 for players 2~4.

* Steps 6 and 7 forces players 1~4 load the input settings from the custom file and not use the predefined joystick/keyboard settings.

Note: If you already have ini file for the game in the cfg folder, that game will not be affected by other settings. If you want all your games to use the custom setting you created, delete all the .ini files in the cfg directory EXCEPT the fba.ini (If you delete fba.ini, you will have to repeat step 1 through 7).


If it still doesn't work, check your fba.ini. This is what it should look like after you did all the steps (scroll down to the bottom of fba.ini):
Code: Select all
// --- miscelleaneous -------------------------------------------------------

// Player default controls, number is the index of the configuration in the input dialog
nPlayerDefaultControls[0] 15
szPlayerDefaultIni[0] def\custom.ini
nPlayerDefaultControls[1] 15
szPlayerDefaultIni[1] def\custom.ini
nPlayerDefaultControls[2] 15
szPlayerDefaultIni[2] def\custom.ini
nPlayerDefaultControls[3] 15
szPlayerDefaultIni[3] def\custom.ini



Notes:

* nPlayerDefaultControls[0] 15 -- 15 means FBA loads player 1 input settings from the file.

* szPlayerDefaultIni[0] def\custom.ini -- The path for player 1's input file

* If the controller type is not set to 15, it won't use the file regardless of file path you defined.

* Read the readme file, and learn how to use the generic names and not game specific names in the file, so it will work for all games (i.e. "P1 Low Kick" ---> "p1 fire 1").

* You could skip steps 6 and 7 and manually edit fba.ini like shown above.
* If you know the hex values for inputs, you could skip steps 2 and 4, and make make your custom.ini manually.






Anche nella guida dell'emulatore (fba.chm) c'è scritto qualcosa in proposito:

Creating Input Presets
You can create preset controls that can be listed in the Inputs Dialog for you to select.
To do this you need to create an .INI file in the config\presets folder. An example is included with FB Alpha in the zip file preset-example.zip.

In the .INI file it it is possible to use specific names such as "P1 Low Punch" or generic names such as "P1 Fire 1". When a game is allocating inputs it will look for specific name first, and then the generic ones.
A good starting point can be take the .INI file for a game, copy it to the config/presets folder and rename it to what you want your preset to be called and then edit that file.



Inputs Dialog
This dialog is used to define the controls used to control a game. The available inputs are listed. Double click on an input to open up a dialog box that allows you to map the control you want to use for that input.

You can also choose from various presets by using the dropdown boxes below the inputs. Simply select the player from the first box, the controller from the second, and the control type from the third. The control type can be Auto-center or Normal. Once you have made your selection click Use preset to change the inputs for the selected game or click Make default to make your selection be the default for all games which have not been currently configured.

You can create presets by clicking the Save preset button. This will save a file with the current input definitions in a hardware specific file. If you are playing a CPS game, the file will be called cps.ini, for Neo-Geo games, the file will be called neogeo.ini, for PGM games the file will be called pgm.ini, and for all other games the file will be called preset.ini.

Controls are first assigned from the games specific ini file. If that isn't found, then the hardware specific ini file is tried (cps.ini, neogeo.ini, pgm.ini). If this isn't found then the default preset (applied by clicking Make default) is tried. If this isn't found then the application's default controls are mapped.
 
Top
157 replies since 11/3/2015, 17:09   166496 views
  Share