Main > Main Forum

Button Setup in MAME - Can this be done?

Pages: (1/2) > >>

wakerlet:

All,

I'm not sure this can be done but I have the attached picture setup for my control panel (don't ask why).

My question is can I set up the following default in MAME.

For 1 button games, use the right most button (fourth button) as primary, for 2 button games, use the third and fourth buttons and set the third button as primary, etc.

Esentially, I'd like to remap the button 1,2,3,4 assignments based on the CatVer information automatically so all assignments go left to right starting from the right.

I know this a really weird setup so I suspect the answer is no.

hyiu:

yes, for mame, you can setup EACH game differently as you wish....

but its going to be a tedious process if you want each game's config to be different, because you'll need to do this one by one...

ErikRuud:

If you use the config(tab key) menu in mame to configure the keys, you will need to do them all(or at least all the ones you care about) one by one.

If you instead use the controller (.ini) files under the ctrlr directory, you may not have to do as much work. Once you setup a controller file for a parent rom, all the children roms will use the same controller setup.

Check this site for more info on ctrlr files. http://www.mameworld.net/easyemu/mamecontrolini.htm

Also read the documentation in the mame/docs directory.



wakerlet:

Thanks Erik.  Looks like I can write a batch process that will write a file for all 1,2,3 and 4 button games.  I can do this using the CatVer info.  Awesome!

This is also a great way to modify my assignment for Neo-Geo games on my other MAME cab.  Great!

Thanks!
Todd

Tiger-Heli:


--- Quote from: wakerlet on April 28, 2004, 05:14:04 pm ---Thanks Erik.  Looks like I can write a batch process that will write a file for all 1,2,3 and 4 button games.  I can do this using the CatVer info.  Awesome!

This is also a great way to modify my assignment for Neo-Geo games on my other MAME cab.  Great!

Thanks!
Todd

--- End quote ---
Right, another advantage, once you have it set up, just copy it for games that use the same buttons.  Example -

Galaga is set up and galaga.ini.  Copy the file and rename as galaxian.ini and it's done.  No playing the game and remapping the controls, not even any typing other than the file name.

Pages: (1/2) > >>

Go to full version