EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: Floob on 30 March 2024, 01:29

Title: Getting no matches with rebuilder 0.07
Post by: Floob on 30 March 2024, 01:29
I'm sure I'm missing something obvious here, but struggling to use the rebuilder tool as I keep getting "no match" in the trace logs.

I have produced an xml file using this file:
https://github.com/mamedev/mame/releases/download/mame0139/mame0139b_64bit.exe
with the command mame64.exe -listxml >139b.xml

This seems to generate a valid xml
I run this command where the input folder has 0.138 verified romsets (approx 8,650 zip files - 24GB)

rebuilder.exe -x 139b.xml -i D:\input -o D:\test -l trace

Code: [Select]
[2024-03-30 01:00:09.496] [info] loading: 139b.xml
[2024-03-30 01:00:09.584] [info] building split view, rebuilder map and destination patterns
[2024-03-30 01:00:09.586] [info] rebuild start
[2024-03-30 01:00:09.586] [info] analyzing rebuilder source: D:\input, please be patient
......
[2024-03-30 01:00:09.587] [trace] D:\input\galaxian.zip no match
......
[2024-03-30 01:00:09.590] [info] analyzing rebuilder destination: D:\test, please be patient
[2024-03-30 01:00:09.591] [info] optimizing
[2024-03-30 01:00:09.591] [info] 0 unique matches found
[2024-03-30 01:00:09.591] [info] 0 archives with 0 matches can be fully copied
[2024-03-30 01:00:09.592] [info] 0 roms, 0 chds will be rebuilt
[2024-03-30 01:00:09.592] [info] 0 files already exist; 0 files will be replaced
[2024-03-30 01:00:09.593] [info] finalizing and cleaning up
[2024-03-30 01:00:09.593] [info] rebuild end, took 0.007286 seconds

And it does that for all the romsets leaving the destination directory empty. Surely it should find some matches.
I can use the rebuilder in clrmamepro without issue, but I'm missing something obvious here?
Title: Re: Getting no matches with rebuilder 0.07
Post by: Roman on 30 March 2024, 07:36
You're using a MAME version which is 9 years old and had a different XML format back then.

You might get it running by renaming the 'game' xml elements with 'machine' xml elements though...
Title: Re: Getting no matches with rebuilder 0.07
Post by: Floob on 30 March 2024, 13:33
Ah! That would explain it, thanks a lot.
I'll try something much more recent.
Title: Re: Getting no matches with rebuilder 0.07
Post by: Roman on 30 March 2024, 16:22
Well, yes, I wanted to get rid of all old stuff and workarounds...so for now, it only accepts the current format (standard, software list and software list collection).

However, supporting the "old" game elements can come later....it's just a word which needs to get exchanged :)
Title: Re: Getting no matches with rebuilder 0.07
Post by: Floob on 30 March 2024, 18:18
Thanks, that also worked fine (replacing game/machine).

I ran with:

Quote
game+
to
machine+


Quote
<!ELEMENT game
to
<!ELEMENT machine

Quote
<!ATTLIST game
to
<!ATTLIST machine

Quote
<game name="
to
<machine name="


Quote
</game>
to
</machine>