EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: ]1009[ on 23 April 2013, 16:00

Title: How to prefix the correct first letter of a set
Post by: ]1009[ 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?
Title: Re: How to prefix the correct first letter of a set
Post by: Roman 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?
Title: Re: How to prefix the correct first letter of a set
Post by: ]1009[ 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.
Title: Re: How to prefix the correct first letter of a set
Post by: Roman 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 (http://mamedev.emulab.it/clrmamepro/binaries/cmp20130424.rar)
Title: Re: How to prefix the correct first letter of a set
Post by: ]1009[ 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?
Title: Re: How to prefix the correct first letter of a set
Post by: Roman 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).....
Title: Re: How to prefix the correct first letter of a set
Post by: ]1009[ on 26 April 2013, 13:20
Yes I have the Separate Bios Sets option checked.
Title: Re: How to prefix the correct first letter of a set
Post by: Roman 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...
Title: Re: How to prefix the correct first letter of a set
Post by: ]1009[ 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.
Title: Re: How to prefix the correct first letter of a set
Post by: Roman on 26 April 2013, 18:58
http://mamedev.emulab.it/clrmamepro/binaries/cmp20130426.rar (http://mamedev.emulab.it/clrmamepro/binaries/cmp20130426.rar)
Title: Re: How to prefix the correct first letter of a set
Post by: ]1009[ on 28 April 2013, 14:23
This version is perfect and works as expected. Thank you.