MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

cricri_pingouin
Reged: 10/17/03
Posts: 247
Send PM
Trying to parse the MAME XML file
01/06/19 11:47 PM


I'm trying to parse the XML file, and I'd need some help figuring out the structure.

If I want to get a list of CHD games, should I look for this:
<device type="harddisk">

What about this:
<device type="cdrom">

I presume that's not right, because grabbing the list of those 2 does not get me the whole CHD list that MAMEUI gives.

Likewise, if I want to find multi-monitor ROMs, should I count instances of this:
<device_ref name="screen"/>

And if I don't find any instances, does it mean it's a mechanical game?

Thanks!

Edited by cricri_pingouin (01/08/19 12:13 AM)







Entire thread
Subject Posted by Posted on
* Trying to parse the MAME XML file cricri_pingouin 01/06/19 11:47 PM
. * Re: Trying to parse the MAME XML file Vas Crabb  01/08/19 01:58 AM
. * Re: Trying to parse the MAME XML file cricri_pingouin  01/09/19 12:17 AM
. * Re: Trying to parse the MAME XML file Vas Crabb  01/09/19 12:59 AM
. * Re: Trying to parse the MAME XML file cricri_pingouin  01/09/19 11:18 PM
. * Re: Trying to parse the MAME XML file cricri_pingouin  01/08/19 11:40 PM
. * Re: Trying to parse the MAME XML file Vas Crabb  01/07/19 01:41 AM
. * Re: Trying to parse the MAME XML file cricri_pingouin  01/08/19 12:15 AM
. * Re: Trying to parse the MAME XML file Vas Crabb  01/08/19 01:51 AM
. * Re: Trying to parse the MAME XML file cricri_pingouin  01/08/19 11:23 PM
. * Re: Trying to parse the MAME XML file Vas Crabb  01/09/19 12:55 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 399 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 661