|
Re: Trying to parse the MAME XML file
01/08/19 01:58 AM
|
|
|
> 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.
Why make life hard? Machines that have a CHD in their ROM definitions will have a <disk> element inside the <machine> element. (Unless you're looking for any machine that can potentially load a CHD, which is a different question.)
But I'd question the usefulness of this - presence or absence of CHD media is not really a good indication of space or performance requirements. There are CHDs that are smaller than many ROM sets (e.g. Wedding Rhapsody is smaller than a lot of later Neo-Geo games), and many ROM-based games are more demanding than the PlayStation-based CD-ROM games.
|
|