EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: yescabernetnointernet on 07 October 2020, 17:46

Title: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
Post by: yescabernetnointernet on 07 October 2020, 17:46
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??

 
Title: Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
Post by: Roman 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.
Title: Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
Post by: yescabernetnointernet 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 (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?
Title: Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
Post by: Roman 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.
Title: Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
Post by: yescabernetnointernet 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) :) :)
Title: Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
Post by: Roman 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...)
Title: Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
Post by: yescabernetnointernet on 09 October 2020, 17:01
 ;D  8)

Can't wait for the release of this feature!!  ;)
Title: Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
Post by: Roman on 10 October 2020, 17:00
https://mamedev.emulab.it/clrmamepro/binaries/cmpro20201010.7z
Title: Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
Post by: yescabernetnointernet 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
Title: Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
Post by: Roman 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.
Title: Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
Post by: yescabernetnointernet 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
Title: Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
Post by: Roman on 11 October 2020, 14:16
Scanner->advanced -> mark disabled sets as unneeded
Title: Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
Post by: yescabernetnointernet 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.
Title: Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
Post by: Roman on 11 October 2020, 20:02
https://mamedev.emulab.it/clrmamepro/binaries/cmpro20201011.7z
Title: Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
Post by: yescabernetnointernet 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.
Title: Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
Post by: Roman 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
Title: Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
Post by: yescabernetnointernet 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) ;)
Title: Re: [REQUEST] excluding <softwarelist/> machine (mame -listxml)
Post by: yescabernetnointernet 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!