Main > Main Forum
Please help me make a list of the max no of buttons used for each control type
Bursk:
But those pages don't list the number of buttons each game uses, do they?
SavannahLion:
I don't think I understand what you're getting at.
I did an XML dump out of mame .111 to see what was in there and I believe it has that exact information. I'm not sure, I think that's how some of the drivers for the LEDWiz get the information on which buttons to light up for a particular game.
For instance, it shows Arch Rivals as being a two player game with two buttons each, two coin slots and a tilt (whatever that means). Also has some descriptive information for what looks like some kind of analog joystick, which is I guess what the 49-way is. :dunno
Even lists driver status which is an added bonus since any front end can gray out the unsupported games.
Bursk:
How do I do an XML dump, SavannahLion? I'm using MAME32 Plus!
NOP:
Hey Bursk,
See if this will do the trick for you: (snagged from the other discussion about MAWS)
I took my ROMLister program, and with just a couple minor tweaks, I was able to get it to run with controls.xml
So, first grab this:
http://fe.donkeyfly.com/controls/controls_dat.php
snag controls.xml.0.111.2.zip
Then go here:
http://www.waste.org/~winkles/ROMLister/
and grab build 002 of the software.
ROMLister will let you build up search criteria based on anything in the database.
You can do stuff like how many 4 button (or less) games use dials?
According to controls.xml+my software, here they are:
720 Degrees (rev 4)
American Speedway (set 1)
APB - All Points Bulletin (rev 7)
Aqua Jack (World)
Arkanoid (World)
Arkanoid - Revenge of DOH (World)
Aztarac
Bad Lands
Bermuda Triangle (Japan)
Birdie Try (Japan)
Blasteroids (rev 4)
Boxing Bugs
Bradley Trainer
Buggy Challenge
Caliber 50
Cameltry (US)
Championship Sprint (rev 3)
Cosmic Chasm (set 1)
Crater Raider
Danny Sullivan's Indy Heat
Dark Planet
Demolition Derby
Discs of Tron (Upright)
DownTown (Set 1)
Exterminator
Final Lap 2
Fire Truck
Forgotten Worlds (US)
Gondomania (US)
Grand Champion
Guerrilla War (US)
Heavy Barrel (US)
Hot Rod (World, 3 Players, Turbo set 1)
Ikari III - The Rescue (Rotary Joystick)
Ikari Warriors (US)
Ironman Stewart's Super Off-Road
Ironman Stewart's Super Off-Road Track Pack
Kick (upright)
Konami GT
Kozmik Kroozr
Mad Planets
Mahjong Dial Q2 (Japan)
Major Havoc (rev 3)
Midnight Resistance (World)
Mille Miglia 2: Great 1000 Miles Rally (95/05/24)
Moonwar
Omega Race
Over Drive
Pole Position
Pole Position II
Radical Radial
Redline Racer (2 players)
Road Blasters (upright, rev 4)
SAR - Search And Rescue (World)
Sheriff
Speed Freak
Star Trek
Stocker
Subs
Super Speed Race
Super Sprint (rev 4)
T.N.K. III (US)
Tempest (rev 3)
The Tin Star
Time Soldiers (US Rev 3)
TouchDown Fever
Tron (set 1)
Turbo
Victory
Victory Road
Vs. Hot Smash
Wheel Of Fortune
Wolf Pack (prototype)
Zwackery
Currently there are 2 versions of the software. One that uses MAME's XML output and one that uses controls.xml. I just added controls.xml as an experiment yesterday and it was a hack job. I'll be merging the two software versions together in the next release.
I think this should speed up your list making a bit. ;)
Granted, garbage in, garbage out, so if there are any errors in the xml files, the software will spew out bad results too, so you may still want to verify them.
-jeff!
SavannahLion:
The above solution is most likely better :dunno. But I might as well answer the one directed to me.
--- Quote from: Bursk on March 09, 2007, 05:43:53 am ---How do I do an XML dump, SavannahLion? I'm using MAME32 Plus!
--- End quote ---
I'm not on my dev laptop right now. But off the top of my head the command line is something like (make adjustments according to version you're using).
mamepp.exe -listxml > listxml.xml
Where mamepp is the mame software itself. Some people just have it as mame.
-listxml is the command
> listxml.xml dumps the output to a file in the same directory as mamepp called listxml.xml
It's relatively large and it takes a while to do the dump.
I think if you just type in mamepp, it'll tell you the usage syntax. I think it's
mamepp -help
I might be wrong. The output is pretty detailed, something like 5+ pages if you print it up. Dump that as well and look over the options you have to work with.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version