EMULAB Forum
clrmamepro [English] => clrmame Discussion => Topic started 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
[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?
-
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...
-
Ah! That would explain it, thanks a lot.
I'll try something much more recent.
-
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 :)
-
Thanks, that also worked fine (replacing game/machine).
I ran with:
game+
to
machine+
<!ELEMENT game
to
<!ELEMENT machine
<!ATTLIST game
to
<!ATTLIST machine
<game name="
to
<machine name="
</game>
to
</machine>