Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Button Setup in MAME - Can this be done?  (Read 924 times)

0 Members and 1 Guest are viewing this topic.

wakerlet

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 386
  • Last login:September 25, 2007, 11:37:53 am
  • 1-2-3-4..thats the combination on my luggage
Button Setup in MAME - Can this be done?
« on: April 28, 2004, 12:31:47 pm »
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

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1481
  • Last login:August 29, 2014, 05:36:15 am
  • too many games... too little time....
    • www
Re:Button Setup in MAME - Can this be done?
« Reply #1 on: April 28, 2004, 03:33:15 pm »
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...
Another Brilliant mind ruined by education....  :p

ErikRuud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1709
  • Last login:March 05, 2021, 10:20:27 am
  • I'll build a cab for only 99.99.99!!!
    • Erik's humble video game page
Re:Button Setup in MAME - Can this be done?
« Reply #2 on: April 28, 2004, 03:43:55 pm »
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.

Real Life.  Still a poor substitute for video games!       
American Laser Games Wrapper
O2em Rom Utility

wakerlet

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 386
  • Last login:September 25, 2007, 11:37:53 am
  • 1-2-3-4..thats the combination on my luggage
Re:Button Setup in MAME - Can this be done?
« Reply #3 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

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:Button Setup in MAME - Can this be done?
« Reply #4 on: April 28, 2004, 05:21: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
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.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

ErikRuud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1709
  • Last login:March 05, 2021, 10:20:27 am
  • I'll build a cab for only 99.99.99!!!
    • Erik's humble video game page
Re:Button Setup in MAME - Can this be done?
« Reply #5 on: April 29, 2004, 09:25:45 am »
Quote
Right, another advantage, once you have it set up, just copy it for games that use the same buttons.  Example -

That is correct.  I have severl generic .ini files setup already for the button layouts that I prefer and I just copy and rename them for the games that need them.

Real Life.  Still a poor substitute for video games!       
American Laser Games Wrapper
O2em Rom Utility