Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: Brad Lee on January 17, 2004, 06:51:41 pm
-
Is there a way to set different .ini files for control configuration based on an arbitrary list of games?
Here's my situation. My control panel is laid out like this:
J1 a b c d S J2 e f
where J are the joysticks and a-f are the buttons
When playing single player, or 2 player(non-simultaneous games) with 2 buttons, I like to use J1 and buttons e & f so Im stnading straight on to the monitor. Ive got it mapped by default so that P1B1 is a OR e, and P1B2 is b OR f.
THe problem is that when playing a 2p simultaneous game(bubble bobble, shooters, tetris, etc) I need to remap the config so that p1b1 is only a, and e is only p2b1. Its not too bg a deal since when I remap it the first time it stays every time I play that game
I know about the different .ini files, but I dont think thatd do what I want. Id like to be able to make a 1p.ini using the first config, and a 2p.ini for the latter. Im using a stock build of windows mame(v65 i think)
Is it possible to put all the 2p simul games in one directory, along with a default.ini file having the correct config, and the 1p games in another directory with its own default.ini- so that when a game is played it checks that directory for the .ini and loads the correct one? Other than that I dont know how to do it other than making .ini files for each parent game that's 2p simul, and that honestly seems liek a pain in the ass. Or is there a way to put a game list inside the .ini file, to tell it which games should use whch ini?
-
sorry, but you can't do that with a stock build of mame. You can make ctrlr files on a per screen type, per control type, per driver, per cloen and per rom basis only.
-
If you use NoNameMame that include my hacks you can make ini files that execute upon number of players and number of buttons. however ther isn't anything to determine if the game is 2 player alternating or not. mame doesn't have anyhing to distinguish that.