EMULAB Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

The new forum is online, hope you enjoy it!

Pages: [1]   Go Down

Author Topic: Hope to add more option for set-info select sets  (Read 2970 times)

Dirstac

  • Member
  • *
  • Karma: 0
  • Online Online
  • Posts: 8
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 87.0.4280.141 Chrome 87.0.4280.141
    • View Profile
Hope to add more option for set-info select sets
« 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.
Logged


Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 88.0.4324.96 Chrome 88.0.4324.96
    • View Profile
Re: Hope to add more option for set-info select sets
« Reply #1 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....
« Last Edit: 21 January 2021, 12:56 by Roman »
Logged

Dirstac

  • Member
  • *
  • Karma: 0
  • Online Online
  • Posts: 8
  • Operating System:
  • Linux Linux
  • Browser:
  • Chrome 78.0.3904.108 Chrome 78.0.3904.108
    • View Profile
Re: Hope to add more option for set-info select sets
« Reply #2 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.
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 88.0.4324.104 Chrome 88.0.4324.104
    • View Profile
Re: Hope to add more option for set-info select sets
« Reply #3 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.
Logged

Dirstac

  • Member
  • *
  • Karma: 0
  • Online Online
  • Posts: 8
  • Operating System:
  • Linux Linux
  • Browser:
  • Chrome 78.0.3904.108 Chrome 78.0.3904.108
    • View Profile
Re: Hope to add more option for set-info select sets
« Reply #4 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.317 seconds with 21 queries.