1
clrmame Discussion / Re: clrmame bug report about rebuilding clone set only
« on: 17 July 2026, 06:17 »
Ah I was a bit wrong about filters.
Filters always include dependent machines in your selection to ensure completeness. This makes totally sense in e.g. a split merge scenario since if you have a clone with just one rom in it and you filter on that clone, well, you get that one file which is - in terms of completeness - pretty useless.
When it comes to standalone mode, I guess this "filtering-auto-includes-dependencies" indeed doesn't make that much sense since the stand-alone machine does include all needed files. For unmerged I think about having bios/devices auto added, since they would be needed.
Ok...two tasks for me:
- standlone should not include parent rom files which are not used and double check bios files
- filter mechanism should take the merge mode into account to decide if dependecies are auto added or not
Regarding xpath filtering: Well, it's not a good one if you filter by machine names, correct, but if you have complex filtering like "only clones", "only parents which have at least one sample", "only machines where Sega is in the manufacturer sting and year is between 1980 and 1990" etc etc...then xpath filtering is the way to go
Filters always include dependent machines in your selection to ensure completeness. This makes totally sense in e.g. a split merge scenario since if you have a clone with just one rom in it and you filter on that clone, well, you get that one file which is - in terms of completeness - pretty useless.
When it comes to standalone mode, I guess this "filtering-auto-includes-dependencies" indeed doesn't make that much sense since the stand-alone machine does include all needed files. For unmerged I think about having bios/devices auto added, since they would be needed.
Ok...two tasks for me:
- standlone should not include parent rom files which are not used and double check bios files
- filter mechanism should take the merge mode into account to decide if dependecies are auto added or not
Regarding xpath filtering: Well, it's not a good one if you filter by machine names, correct, but if you have complex filtering like "only clones", "only parents which have at least one sample", "only machines where Sega is in the manufacturer sting and year is between 1980 and 1990" etc etc...then xpath filtering is the way to go
