EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: Dirstac on 21 January 2021, 11:51

Title: Hope to add more option for set-info select sets
Post by: Dirstac on 21 January 2021, 11:51
In the xml file exported from the simulator, in addition to the manufacturer, year, description, etc., there are some useful information, such as:
Code: [Select]
<display tag="screen" type="raster" rotate="270" width="384" height="224" refresh="59.637405" pixclock="8000000" htotal="512" hbend="64" hbstart="448" vtotal="262" vbend="16" vbstart="240" />
<sound channels="1"/>
<input players="2" coins="2">
<control type="joy" player="1" buttons="2" ways="8"/>
<control type="joy" player="2" buttons="2" ways="8"/>
Hope that Clrmamepro can select the corresponding sets according to these conditions by reading the information in the xml file.
Title: Re: Hope to add more option for set-info select sets
Post by: Roman on 21 January 2021, 12:03
See Select Sets description.....(attached screen).
They are supported. It's very unlikely that more will come....they are not really that important to select sets....
Title: Re: Hope to add more option for set-info select sets
Post by: Dirstac on 22 January 2021, 07:50
I know that Clrmamepro already supports many types of sets selection.
But I hope his function can be more powerful, and I hope it can support the selection of sets based on "control type", "display tag", etc.
Title: Re: Hope to add more option for set-info select sets
Post by: Roman on 22 January 2021, 08:13
As mentioned, this is very unlikely in this version since only parts from the XML tree are actually used and parsed during import.
Adding new fields (which are most likely very very rarely used) is not a quick way to go....so maybe some kind of preprocessing the xml output with tools (e.g. xslt stylesheets) is a better approach for now.
Title: Re: Hope to add more option for set-info select sets
Post by: Dirstac on 22 January 2021, 08:38
Oh, I fully understand your thinking. As you said, we may never use these fields.
Thank you very much for your reply.