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: Listing of All Options for Controls, Players, and Buttons in MAME?  (Read 1705 times)

0 Members and 1 Guest are viewing this topic.

Necro

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1031
  • Last login:November 29, 2022, 08:22:22 pm
  • Building a 'Classic' MAME Cab
Listing of All Options for Controls, Players, and Buttons in MAME?
« on: September 11, 2008, 10:55:29 am »
Anyone know if there's lists (which I've been searching for and can't find) that shows the following:

- All of the different types of controls possible on controls.ini or similar data files for the games. (i.e. joy4way, spinner, lightgun, chickenleg)

- All diff player options (2 player, 2 player simul, 8 player simul, 10 player with 2 simul, etc) and how many games fall under each.

- Button options - Number of buttons and number of games using each.

I need this for (re)developing and expanding the MaLa RetroGui theme so that it shows the correct controls, etc., on the line art cab when scrolling through the list.  I want all the options available if I eventually release it for more than just my own use.


NOP

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 916
  • Last login:September 19, 2017, 08:22:27 pm
  • I stole my avatar.
    • winterMAME
Re: Listing of All Options for Controls, Players, and Buttons in MAME?
« Reply #1 on: September 11, 2008, 01:41:13 pm »
romlister can pull out that information for you, or most of it anyway.
http://www.waste.org/~winkles/ROMLister

(sorry, every time I see the word "list" come up in the forum here, I am obligated to say the words romlister) ;)

You could do a CVS output format against the entire list of games to get something like this:

name, romname, #buttons, controls
Code: [Select]
(Medal) Yumefuda [BET],yumefuda,6,
005,005,1 & 1,joy4way
1 on 1 Government (JAPAN),1on1gov,6,joy8way
1000 Miglia: Great 1000 Miles Rally (94/06/13),gtmra,1 & 2,joy8way & dial & paddle
1000 Miglia: Great 1000 Miles Rally (94/07/18),gtmr,1 & 2,joy8way & dial & paddle
10-Yard Fight (Japan),10yardj,2 & 2,joy8way
10-Yard Fight (World),10yard,2 & 2,joy8way
1941 - Counter Attack (Japan),1941j,2 & 2,joy8way
1941 - Counter Attack (World),1941,2 & 2,joy8way
1942 (First Version),1942b,2 & 2,joy8way
1942 (PlayChoice-10),pc_1942,2,joy8way
(the # of buttons has stuff like "2 & 2" because it's listed in both controls.dat and mame's xml data)

which you could then import into excel or something to examine the data you want.

The simul player data isn't an option in the cvs output screen though.  that could be changed, or you could do separate lists with just that info.

I'd be happy to work with you offline about anything you need.

BTW: I love retrogui!  that's what I'm using on my cocktail machine, although I had to create a custom cocktail machine for the graphic.

jukingeo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 362
  • Last login:March 14, 2015, 08:25:28 pm
Re: Listing of All Options for Controls, Players, and Buttons in MAME?
« Reply #2 on: January 05, 2009, 02:59:07 pm »
romlister can pull out that information for you, or most of it anyway.
http://www.waste.org/~winkles/ROMLister

(sorry, every time I see the word "list" come up in the forum here, I am obligated to say the words romlister) ;)

You could do a CVS output format against the entire list of games to get something like this:

name, romname, #buttons, controls
Code: [Select]
(Medal) Yumefuda [BET],yumefuda,6,
005,005,1 & 1,joy4way
1 on 1 Government (JAPAN),1on1gov,6,joy8way
1000 Miglia: Great 1000 Miles Rally (94/06/13),gtmra,1 & 2,joy8way & dial & paddle
1000 Miglia: Great 1000 Miles Rally (94/07/18),gtmr,1 & 2,joy8way & dial & paddle
10-Yard Fight (Japan),10yardj,2 & 2,joy8way
10-Yard Fight (World),10yard,2 & 2,joy8way
1941 - Counter Attack (Japan),1941j,2 & 2,joy8way
1941 - Counter Attack (World),1941,2 & 2,joy8way
1942 (First Version),1942b,2 & 2,joy8way
1942 (PlayChoice-10),pc_1942,2,joy8way
(the # of buttons has stuff like "2 & 2" because it's listed in both controls.dat and mame's xml data)

which you could then import into excel or something to examine the data you want.

The simul player data isn't an option in the cvs output screen though.  that could be changed, or you could do separate lists with just that info.

I'd be happy to work with you offline about anything you need.

BTW: I love retrogui!  that's what I'm using on my cocktail machine, although I had to create a custom cocktail machine for the graphic.

Hello NOP, this is exactly like something I want to do as well.  Up to now I been updating a controls list using input I 'manually' copied over from KLOV.   However, doing it this way is much more productive as I can have Romlister reference my "saved" xml list of on-board roms via that new rom search feature.

So my question is what is a CVS file and how do I make one?  (Yes, I have looked at the wiki and there is no info (yet) on this topic).

Thanx,

Geo
"Let me tell you about the time I used a sharpened clamshell to turn a T-Rex into a T-Rachel!" -Buck  Ice Age 3