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: How to prefix the correct first letter of a set  (Read 6829 times)

]1009[

  • Karma: 0
  • Offline Offline
  • Posts: 6
  • Operating System:
  • Windows 2000 Windows 2000
  • Browser:
  • Opera 11.64 Opera 11.64
    • View Profile
How to prefix the correct first letter of a set
« on: 23 April 2013, 16:00 »

Hi Roman,
I'm using the prefix option of rebuilder to create a set in a directory starting with the first character of the set name ( prefixing with %a\ ). However I see directories with entries which shouldn't be there (i.e., sonicwi2 under a\ subdir, which let me think it uses the cloneof field for aerofighters).
Is there a prefix I can use to have the correct first char of the set name?
Logged


Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3293
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 26.0.1410.64 Chrome 26.0.1410.64
    • View Profile
Re: How to prefix the correct first letter of a set
« Reply #1 on: 23 April 2013, 19:31 »

%a should be ok.....hmm...
I quickly added %a\ and only rebuilt sonicwi2 and it created a folder "s" ....so it seems to work....no matter if full merge or split merged was used.....

maybe you can repeat it somehow in a small scenario?
Logged

]1009[

  • Karma: 0
  • Offline Offline
  • Posts: 6
  • Operating System:
  • Windows 2000 Windows 2000
  • Browser:
  • Opera 11.64 Opera 11.64
    • View Profile
Re: How to prefix the correct first letter of a set
« Reply #2 on: 24 April 2013, 08:17 »

Sorry, I reported wrongly. It was sonicwi, not sonicwi2.

I did the test with this single rom.

J:\Mame\Mame\todo\test\sonicwi.zip\it-19-02
J:\Mame\Mame\todo\test\sonicwi.zip\it-19-05
J:\Mame\Mame\todo\test\sonicwi.zip\g27
J:\Mame\Mame\todo\test\sonicwi.zip\it-19-03
J:\Mame\Mame\todo\test\sonicwi.zip\g26
J:\Mame\Mame\todo\test\sonicwi.zip\it-19-04
J:\Mame\Mame\todo\test\sonicwi.zip\1.111
  -> sonicwi\1.111
J:\Mame\Mame\todo\test\sonicwi.zip\2.149
  -> sonicwi\2.149
J:\Mame\Mame\todo\test\sonicwi.zip [SKIPPED Reason: no hash match]

It still incorrectly rebuilds it under a\ folder.
No clue why.
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3293
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 26.0.1410.64 Chrome 26.0.1410.64
    • View Profile
Re: How to prefix the correct first letter of a set
« Reply #3 on: 24 April 2013, 20:06 »

yeah...bug...it always took the parent set into account even for roms which only belong to the clone...
...nice finding...

get this:

http://mamedev.emulab.it/clrmamepro/binaries/cmp20130424.rar
Logged

]1009[

  • Karma: 0
  • Offline Offline
  • Posts: 6
  • Operating System:
  • Windows 2000 Windows 2000
  • Browser:
  • Opera 11.64 Opera 11.64
    • View Profile
Re: How to prefix the correct first letter of a set
« Reply #4 on: 26 April 2013, 11:10 »

This version works as expected with one exception: BIOS handling.
I understand that having neogeo.zip under 2\ folder is the current behavior for 2020bb.zip
However, I'd like to have bios roms under rebuild dir root (which in case of empty prefix concides with default rom dir), or else we'll have different prefixed dirs with the same content because the bios is the same for all these system roms.  Does this makes sense to you?
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3293
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 26.0.1410.64 Chrome 26.0.1410.64
    • View Profile
Re: How to prefix the correct first letter of a set
« Reply #5 on: 26 April 2013, 12:56 »

Ah...guess the same place in the sourcecode is missing a handling for biosroms....it should take the n\ folder (since it belongs to *n*eogeo).....as long as you keep bios roms separated (there's an option for that).....
Logged

]1009[

  • Karma: 0
  • Offline Offline
  • Posts: 6
  • Operating System:
  • Windows 2000 Windows 2000
  • Browser:
  • Opera 11.64 Opera 11.64
    • View Profile
Re: How to prefix the correct first letter of a set
« Reply #6 on: 26 April 2013, 13:20 »

Yes I have the Separate Bios Sets option checked.
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3293
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 26.0.1410.64 Chrome 26.0.1410.64
    • View Profile
Re: How to prefix the correct first letter of a set
« Reply #7 on: 26 April 2013, 13:55 »

as I said....for now it looks at the matched rom and picks the setname...and not the biosname in case it is a shared bios file....should be a 2 minute fix/compile...later when I'm home...
Logged

]1009[

  • Karma: 0
  • Offline Offline
  • Posts: 6
  • Operating System:
  • Windows 2000 Windows 2000
  • Browser:
  • Opera 11.64 Opera 11.64
    • View Profile
Re: How to prefix the correct first letter of a set
« Reply #8 on: 26 April 2013, 14:36 »

No problem Roman, mine was just a confirmation reply, not a rush or hurry up request. Take your time. And thank you again for your work on CMP.
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3293
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 26.0.1410.64 Chrome 26.0.1410.64
    • View Profile
Logged

]1009[

  • Karma: 0
  • Offline Offline
  • Posts: 6
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Opera 11.64 Opera 11.64
    • View Profile
Re: How to prefix the correct first letter of a set
« Reply #10 on: 28 April 2013, 14:23 »

This version is perfect and works as expected. Thank you.
Logged
Pages: [1]   Go Up
 

Page created in 0.145 seconds with 17 queries.

anything
anything