|
mame rom/version and xml questions
#322272 - 02/20/14 01:38 AM
|
|
|
mame.exe -listxml >mame.xml to generate a list of supported games for my current mame version.
Can the game "name" change between mame versions? Example: 10yard(.zip), 10yard85(.zip) I know that the rom files inside the zip can change. For instance, game "name=32x" is obviously not a game. It does not have the isbios or isdevice attributes. What attribute is only unique to game roms? I need a way to filter through this file so I can get info on the parents and their clones.
Thank you for viewing and answering my mame related questions.
Edited by Keil (02/20/14 01:38 AM)
|
|
|
|
Re: mame rom/version and xml questions
[Re: Keil]
#322287 - 02/20/14 05:23 AM
|
|
|
|
|
Re: mame rom/version and xml questions
[Re: krick]
#322308 - 02/20/14 04:21 PM
|
|
|
> The name can and does change between versions. > > You can modify and filter the mame.xml using XSL transforms. > Download xml2info and modify the included stylesheet. > http://mame.3feetunder.com/xml2info/
Just to be sure we are on the same page... I'm talking about the (game) name, not the rom file names. I know that the rom file names can change between mame versions, but the name can change as well? This would make it very difficult for a database to keep track of anything, as no sort of ID would be associated with a game... Unless mame is using a database with an autoincrementing ID column and matching them to mame versions. But I think you see where I'm going here.
I need to match a game with artwork in my web app.
I can parse the XML on my own. I don't even use windows. I just want to know what keys or attributes to filter in the XML file.
|
|
|
|
Re: mame rom/version and xml questions
[Re: Keil]
#322314 - 02/20/14 05:49 PM
|
|
|
> > The name can and does change between versions. > > > > You can modify and filter the mame.xml using XSL transforms. > > Download xml2info and modify the included stylesheet. > > http://mame.3feetunder.com/xml2info/ > > Just to be sure we are on the same page... I'm talking about the (game) name, not the > rom file names.
set names (or game names, as you seem to prefer) do change very often. for instance every time a more recent revision is dumped and the new one becomes the new parent set (taking the name of the previous one), with the former parent getting a new name.
|
|
|
RATMNL |
Patron Saint of the Totally F*cked
|
|
|
Reged: 02/02/13
|
Posts: 425
|
Loc: 026, NL
|
|
Send PM
|
|
|
Re: mame rom/version and xml questions
[Re: etabeta]
#322368 - 02/21/14 01:47 PM
|
|
|
Which is why we all use mame.xml-based Dat-files to keep it all up-to-date. You could log the changes from your Rom-Manager into a log files and see what changed, provided you have a full set.
Other than that, and I have to do this every time since I run my own catver.ini sort of file, run through mameinfo.dat with a texteditor with the search function set to: 0.152 or whatever the newest version is and read what changed per game. Name-changes are documented in there.
|
"Those voices in his head might not be real, but they have really good ideas!"
|
|