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: [REQUEST] excluding <softwarelist/> machine (mame -listxml)  (Read 5956 times)

yescabernetnointernet

  • "And the wind screams Mary"
  • Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 70
  • RED is for WINE
  • Operating System:
  • Linux Linux
  • Browser:
  • Firefox 81.0 Firefox 81.0
    • View Profile

Hey Roman!
What do you thin about adding a feature to exclude also real machines at start, when importing Profiles?

I mean, take at look at recent XML lists in M.A.M.E.
OK we all know there are two kind of XML you can export from M.A.M.E.:
Code: [Select]
mame -listsoftwareor
Code: [Select]
mame -listxml
Now, let's have a look inside the XML from mame -listxml, for example: Dreamcast (Japan, NTSC).
Code: [Select]
<machine name="dcjp" sourcefile="dccons.cpp">
<description>Dreamcast (Japan, NTSC)</description>
<year>1998</year>
<manufacturer>Sega</manufacturer>
<biosset name="101d" description="v1.01d (World)"/>
<biosset name="1022" description="v1.022 (World)"/>
<biosset name="101c" description="v1.01c (World)"/>
<biosset name="101dch" description="v1.01d (Chinese hack)"/>
<biosset name="1004" description="v1.004 (Japan)"/>
<rom name="mpr-21931.ic501" bios="101d" size="2097152" crc="89f2b1a1" sha1="8951d1bb219ab2ff8583033d2119c899cc81f18c" region="maincpu" offset="0"/>

# [...] truncating irrelevant output [...]

<slot name="ata:0">
<slotoption name="gdrom" devname="gdrom" default="yes"/>
</slot>
<slot name="ata:1">
</slot>
<softwarelist tag="cd_list" name="dc" status="original"/>
</machine>


What about excluding all machines which have the <softwarelist /> node Element??

 
« Last Edit: 07 October 2020, 17:47 by yescabernetnointernet »
Logged


Lo stalker portò scrittore e professore nella Zona...

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 112
  • Offline Offline
  • Posts: 3287
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 86.0.4240.75 Chrome 86.0.4240.75
    • View Profile
Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
« Reply #1 on: 07 October 2020, 18:10 »

???
If you import MAME data from a mame binary you got the chance to include software list or not, i.e. you go with "normal" mame sets only.
If you only want softwarelists, you can simply drag'n drop MAME's hashfolder into the profiler and load them.
And within cmpro you got the option to enable/disable whatever set you want in the set-information dialog.

So....I don't actually understand what you're looking for.
« Last Edit: 07 October 2020, 18:11 by Roman »
Logged

yescabernetnointernet

  • "And the wind screams Mary"
  • Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 70
  • RED is for WINE
  • Operating System:
  • Linux Linux
  • Browser:
  • Firefox 81.0 Firefox 81.0
    • View Profile
Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
« Reply #2 on: 07 October 2020, 19:23 »

???
If you import MAME data from a mame binary you got the chance to include software list or not, i.e. you go with "normal" mame sets only.
In the "normal" way, when you create DAT from mame64.exe, then the Profiler tells you if you want to import also SoftwareList.
I choose to NOT import SoftwareList.

When I go for scanning and/or rebuilding my romset, clrmamepro will also search and rebuild consoles (for example) and other devices which are not games!!
I know, some devices / BIOSes are needed to run games, fine.

But there are also devices sets that aren't needed for games!  ;)
These are the ones which have "<softwarelist/>" declared!  ;)


See here: http://www.progettoemma.net/gioco.php?game=dcjp
This was actually a MESS set!! And now it's included in M.A.M.E. games, NOT SoftwareList (exMESS)...



And within cmpro you got the option to enable/disable whatever set you want in the set-information dialog.
?? Can I filter sets by <softwarelist/> attribute?
« Last Edit: 07 October 2020, 19:40 by yescabernetnointernet »
Logged
Lo stalker portò scrittore e professore nella Zona...

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 112
  • Offline Offline
  • Posts: 3287
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 86.0.4240.75 Chrome 86.0.4240.75
    • View Profile
Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
« Reply #3 on: 08 October 2020, 05:54 »

I see....well...actually MESS and MAME merged 5 years ago, so still seeing that as 2 different systems (one for machine, one for games) is wrong in my opinion, especially if you see that both are connected (https://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=387965&page=0&view=expanded&sb=5&o=&fpart=1&vc=1)

There won't be a prompt during import to separate this (actually I don't even like the current one for software lists) but maybe you will be able to access the xml element via a variable in the set information set selection option if you really want to disable such "machines not games" sets. I will think about it.
Logged

yescabernetnointernet

  • "And the wind screams Mary"
  • Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 70
  • RED is for WINE
  • Operating System:
  • Linux Linux
  • Browser:
  • Firefox 81.0 Firefox 81.0
    • View Profile
Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
« Reply #4 on: 08 October 2020, 10:58 »

There won't be a prompt during import to separate this
No problem!  ;)


you will be able to access the xml element via a variable in the set information set selection option if you really want to disable such "machines not games" sets. I will think about it.
That's exactly what I was thinking about Roman!  ;)  Pretty neat!
If you'll include that filter will be great!!!  8) :) :)
Logged
Lo stalker portò scrittore e professore nella Zona...

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 112
  • Offline Offline
  • Posts: 3287
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 86.0.4240.75 Chrome 86.0.4240.75
    • View Profile
Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
« Reply #5 on: 08 October 2020, 19:17 »

seems to work in the future....

(list of sets in screenshot only shows the enabled ones and hides the disabled ones...)
« Last Edit: 08 October 2020, 19:25 by Roman »
Logged

yescabernetnointernet

  • "And the wind screams Mary"
  • Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 70
  • RED is for WINE
  • Operating System:
  • Linux Linux
  • Browser:
  • Firefox 81.0 Firefox 81.0
    • View Profile
Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
« Reply #6 on: 09 October 2020, 17:01 »

 ;D  8)

Can't wait for the release of this feature!!  ;)
Logged
Lo stalker portò scrittore e professore nella Zona...

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 112
  • Offline Offline
  • Posts: 3287
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 86.0.4240.75 Chrome 86.0.4240.75
    • View Profile
Logged

yescabernetnointernet

  • "And the wind screams Mary"
  • Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 70
  • RED is for WINE
  • Operating System:
  • Linux Linux
  • Browser:
  • Firefox 81.0 Firefox 81.0
    • View Profile
Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
« Reply #8 on: 10 October 2020, 21:35 »

  8)  GREAT!!  8) 

Only one thing Roman: setting %L=0 and the doing a Scan, won't mark the disabled sets as unneeded!  :o
« Last Edit: 10 October 2020, 21:35 by yescabernetnointernet »
Logged
Lo stalker portò scrittore e professore nella Zona...

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 112
  • Offline Offline
  • Posts: 3287
  • Operating System:
  • Mac OS X Mac OS X
  • Browser:
  • Safari 14.0 Safari 14.0
    • View Profile
Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
« Reply #9 on: 11 October 2020, 07:56 »

Because it never marks disabled sets as unneeded unless you turn on the belonging option for it in Scanner Advanced.
« Last Edit: 11 October 2020, 07:59 by Roman »
Logged

yescabernetnointernet

  • "And the wind screams Mary"
  • Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 70
  • RED is for WINE
  • Operating System:
  • Linux Linux
  • Browser:
  • Firefox 81.0 Firefox 81.0
    • View Profile
Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
« Reply #10 on: 11 October 2020, 09:02 »

Because it never marks disabled sets as unneeded unless you turn on the belonging option for it in Scanner Advanced.
  :o Unneeded is marked in both check and also fix:o
Logged
Lo stalker portò scrittore e professore nella Zona...

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 112
  • Offline Offline
  • Posts: 3287
  • Operating System:
  • Mac OS X Mac OS X
  • Browser:
  • Safari 14.0 Safari 14.0
    • View Profile
Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
« Reply #11 on: 11 October 2020, 14:16 »

Scanner->advanced -> mark disabled sets as unneeded
« Last Edit: 11 October 2020, 14:59 by Roman »
Logged

yescabernetnointernet

  • "And the wind screams Mary"
  • Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 70
  • RED is for WINE
  • Operating System:
  • Linux Linux
  • Browser:
  • Firefox 81.0 Firefox 81.0
    • View Profile
Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
« Reply #12 on: 11 October 2020, 17:32 »

Now there are wrong named sets. Bug?

The romset is good and complete: a previous normal "New Scan" reported no errors / warnings at all in the "Scan Results" window.

See attached output screenshot.
Logged
Lo stalker portò scrittore e professore nella Zona...

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 112
  • Offline Offline
  • Posts: 3287
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 86.0.4240.75 Chrome 86.0.4240.75
    • View Profile
Logged

yescabernetnointernet

  • "And the wind screams Mary"
  • Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 70
  • RED is for WINE
  • Operating System:
  • Linux Linux
  • Browser:
  • Firefox 81.0 Firefox 81.0
    • View Profile
Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
« Reply #14 on: 12 October 2020, 18:30 »

Now there are wrong named sets. Bug?

The romset is good and complete: a previous normal "New Scan" reported no errors / warnings at all in the "Scan Results" window.

See attached output screenshot.
Ok, now wrong named sets are gone.


https://mamedev.emulab.it/clrmamepro/binaries/cmpro20201011.7z
Not fixed everything... Now there are some sets that aren't seen as complete!!
Code: [Select]
Epson CM6032 [folder: ecm6032 - parent: ehx20 - size: 52kb]
missing rom: hd6301v1.6d [size: 4096] [CRC32: b36f5b99] [SHA1: c6b54163bb268e4f4f5c79aa2e83ec51f775b16a]

Epson CM6127 [folder: ecm6127 - parent: ehx20 - size: 68kb]
missing rom: hd6301v1.6d [size: 4096] [CRC32: b36f5b99] [SHA1: c6b54163bb268e4f4f5c79aa2e83ec51f775b16a]

Toshiba T1000 [folder: tosh1000 - parent: ibm5150 - size: 552kb]
missing rom: 5788005.u33 [size: 8192] [CRC32: 0bf56d70] [SHA1: c2a8b10808bf51a3c123ba3eb1e9dd608231916f]
Again, if executing a "normal" scan (without any exclusions at all) the whole romset is all good and complete.
« Last Edit: 12 October 2020, 18:31 by yescabernetnointernet »
Logged
Lo stalker portò scrittore e professore nella Zona...

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 112
  • Offline Offline
  • Posts: 3287
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 86.0.4240.75 Chrome 86.0.4240.75
    • View Profile
Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
« Reply #15 on: 12 October 2020, 19:25 »

What do you expect if you exclude sets where some roms are referenced by other sets which you don't disable.

For example: hd6301v1.6d belongs to ehx20 which you disabled because of the softwarelist exclusion. But they are referenced by the clones of that set and they don't have software lists referenced.

What you can do is to check the checkbox "incl. parent" and "incl. clones" from for your selection
Logged

yescabernetnointernet

  • "And the wind screams Mary"
  • Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 70
  • RED is for WINE
  • Operating System:
  • Linux Linux
  • Browser:
  • Firefox 81.0 Firefox 81.0
    • View Profile
Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
« Reply #16 on: 12 October 2020, 19:34 »

What do you expect if you exclude sets where some roms are referenced by other sets which you don't disable.
:-[ ;D Ooooook...


Thank you Roman!!!!  8) 8) ;)
Logged
Lo stalker portò scrittore e professore nella Zona...

yescabernetnointernet

  • "And the wind screams Mary"
  • Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 70
  • RED is for WINE
  • Operating System:
  • Linux Linux
  • Browser:
  • Firefox 81.0 Firefox 81.0
    • View Profile
Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
« Reply #17 on: 12 October 2020, 19:35 »

What you can do is to check the checkbox "incl. parent" and "incl. clones" from for your selection
Yup! Right, thanks!
Logged
Lo stalker portò scrittore e professore nella Zona...
Pages: [1]   Go Up
 

Page created in 0.109 seconds with 21 queries.

anything