EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: Roman on 06 August 2009, 22:14

Title: clrmamepro 3.130 released
Post by: Roman on 06 August 2009, 22:14
3.130

a somehow "in between" release. Since I'm currently preparing a house move I
better release what I got at the moment....

added:

1st part of the upcoming new toy "Rename Wizard".

You may know about the major set renames in latest MAME, well the Rename Wizard
should help you in the future to update e.g. related datfiles (like artwork
datfiles, etc...). The basic idea is: Load an old datfile and a new datfile.
Find set renames. Apply the renames to a third datfile (e.g. artwork) either
to rom or set level and save this dat. So the 1st step is to find set renames.

Logiqx's MAMEDIFF is usually used for such a thing but MAMEDIFF isn't as
accurate as you might think. So Logiqx and myself though about other ways to
find renames. The current idea is a 6-path check (from highest to lowest prio).


1) unique set hash compare
Hash is created over all rom/disk hashes and in case of nodumps or samples over
names. Hash lookup tries to find a matching set.

2) single unique rom hash compare:
Take a single unique rom hash of old datfile
set and check if it's a single unique hash in new datfile. Use this to find a
matching set

3) single unique chd hash compare:
similar to 2) but on chds

4) fuzzy name check:
similar to cmpro's scanner set name check. Tries to find the 'best fit' name

5) lazy description compare:
try to match the descriptions

6) lazy set compare:
try to match the setname


Currently a complete set list is produced showing something like:

old name -> new name [succeeded matching method]
*old name -> new name [succeeded matching method]
old name -> ? (when no match was found....propably a removed set)
The * indicates a name change.


This part is already in...you can play around with it if you like.

The next steps will be:

- optionally disallow parent-to-clone renames (since a lot of dats
work on parent sets only)
- load and apply changes on 3rd datfile

The Rename Wizard is not directly visible at the moment...but still easy to find.
Check out popup menus if you want to know more ABOUT it.





added: warning when 'Sets' scan option is not enabled
added: dir2dat option to create a 0 byte file for empty folders
misc: show common rebuilder warnings only once and not per addpath
misc: improved fuzzy set name check
fixed: xml dats with UTF ByteOrderMark aren't listed in profiler
fixed: when using header support, rom size values are wrong
fixed: offline datfiles 0 crc/ 0 size issue
Title: Re: clrmamepro 3.130 released
Post by: bodkinz on 07 August 2009, 19:06
ello  :)
No-Intro NES problem fixed.. but..
CMP seems to have speed issues with rebuild when using No-Intro NES dat file... It just seems to hang at some points during the scan. No files rebuilt. (10 minutes or more to try to rebuild)

I tried No-Intro Sega 32x dat.. and rebuilt from the same dirctory and rebuilt one rom with hardly any slowdown.(under 1 minute fr rebuild to scan)

thanks for listening :)

Title: Re: clrmamepro 3.130 released
Post by: Roman on 09 August 2009, 11:18
There shouldn't be any difference in speed when rebuilding from the same folder. Only if the number of rebuilt files is bigger than for the other dat. Of course when writing the file to the destination folder, several checks are done there, too.

However, you may want to find out which file takes longer than the others...just did some rebuilts with that header definition enabled and I don't spot any speed decrease for the testfiles.....
Title: Re: clrmamepro 3.130 released
Post by: Pugsy on 13 August 2009, 20:39
The Rename Wizard is not directly visible at the moment...but still easy to find.
Check out popup menus if you want to know more ABOUT it.

Sorry, I must be blind...I can't see it anywhere. Can you give me some pointers to where to find the popup menu?
Title: Re: clrmamepro 3.130 released
Post by: Roman on 13 August 2009, 21:16
well...read the text again and check for uppercase things.....  ;D
Title: Re: clrmamepro 3.130 released
Post by: Pugsy on 14 August 2009, 13:04
Thanks...guess I was blind :(

Never knew there was even a right click menu there.

Difference between that and mamediff for my cheat renaming wasn't great thankfully (under 10 differences) and I fixed them at the time as I thought I'd made a few cut and paste errors converting the mamediff output into a batch renaming script for my master cheat.dat.

Thanks for the double check though :)

Any chance of adding <description> to the report at a future date so that for simple renames where the roms stay the same but the description (longname) changes it will create a report like this:-

[ Tehkan World Cup ] [Tehkan World Cup (set 1) ]
Title: Re: clrmamepro 3.130 released
Post by: Roman on 14 August 2009, 19:19
I put it on my wish list....

next weeks I will be rather busy with moving to a new place....