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: Getting no matches with rebuilder 0.07  (Read 252 times)

Floob

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 3
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 123.0.0.0 Chrome 123.0.0.0
    • View Profile
Getting no matches with rebuilder 0.07
« 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?
Logged


Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 123.0.0.0 Chrome 123.0.0.0
    • View Profile
Re: Getting no matches with rebuilder 0.07
« Reply #1 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...
Logged

Floob

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 3
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 123.0.0.0 Chrome 123.0.0.0
    • View Profile
Re: Getting no matches with rebuilder 0.07
« Reply #2 on: 30 March 2024, 13:33 »

Ah! That would explain it, thanks a lot.
I'll try something much more recent.
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 123.0.0.0 Chrome 123.0.0.0
    • View Profile
Re: Getting no matches with rebuilder 0.07
« Reply #3 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 :)
Logged

Floob

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 3
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 123.0.0.0 Chrome 123.0.0.0
    • View Profile
Re: Getting no matches with rebuilder 0.07
« Reply #4 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>
Logged
Pages: [1]   Go Up
 

Page created in 0.168 seconds with 20 queries.

anything