Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: zerocle on September 15, 2006, 05:02:34 pm

Title: Mame rom information
Post by: zerocle on September 15, 2006, 05:02:34 pm
I just have a quick question, how do the front end's get the rom information(game name, required files, game type, controller, etc. ) from the rom files? is it a database file that they just reference? or a mame function?
Title: Re: Mame rom information
Post by: screaming on September 15, 2006, 05:24:11 pm
MAME ROM information comes from MAME itself.  Front ends will run MAME and pass a commandline parameter (-listxml), which will output an XML file with all the info.  Front ends then parse this information and normalize it with its list of available ROMs.
Title: Re: Mame rom information
Post by: Howard_Casto on September 15, 2006, 05:44:18 pm
Before you ask, other emulators get their data from clrmamepro dat files, which are based on listinfo, which is what listxml is also based upon. 
Title: Re: Mame rom information
Post by: zerocle on September 15, 2006, 05:52:04 pm
Wow thanks for the quick replies guys, that helps alot, I had gone through the mame command line options and I hadnt been able to find it. Thanks for the help :-)