EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: oddi on 24 November 2013, 07:17

Title: CMP not merge chds with different names and same SHA1
Post by: oddi on 24 November 2013, 07:17
Hello Roman, CMP have problem with this chds set: dstage in Merge mode
(http://store.picbg.net/pubpic/E0/14/d8c2a5757c6ae014.JPG)
When scan sets:
1. cmp wanna move 845uaa02.chd to dstage folder
2. when move chd cmp wanna rename this chd to 845ea.chd but have error because chd 845ea is exist.
If manually rename chds - cmp again wanna move back 845uaa02.chd to ddru folder.
Next scan - same history
Strange sound
Tnx :)
Dont understand where is problem
Here upload the last xml, generated with mame64.exe:
http://www.speedyshare.com/7eWBt/MAME0.151svn26389.7z (http://www.speedyshare.com/7eWBt/MAME0.151svn26389.7z)

Title: Re: CMP not merge chds with different names and same SHA1
Post by: Roman on 24 November 2013, 14:26
well...looking at your xml datfile I see this:

ddru
disk name="845uaa02" sha1="d3f9290d4dadb5e9b82ebe77abf7b99d1a89f716" region="cdrom0" index="0" writable="no"

dstagea
disk name="845ea" sha1="d3f9290d4dadb5e9b82ebe77abf7b99d1a89f716" status="baddump" region="cdrom0" index="0" writable="no"/

So...you got two differently named files with the same sha1 within a parent clone relation ship...and with NO disk merge attribute. So in this case both files are needed even if they are identical....this should get fixed on MAME's side...

But yes...looks like this weird entries confuse cmpro a bit...will have a look at it later..

by the way, are you using full or split merged sets?
Title: Re: CMP not merge chds with different names and same SHA1
Post by: oddi on 24 November 2013, 14:58
My chds is full merge sets :)
Title: Re: CMP not merge chds with different names and same SHA1
Post by: Roman on 24 November 2013, 22:12
you might want to test this build:

http://mamedev.emulab.it/clrmamepro/binaries/cmp20131124.rar (http://mamedev.emulab.it/clrmamepro/binaries/cmp20131124.rar)
Title: Re: CMP not merge chds with different names and same SHA1
Post by: oddi on 25 November 2013, 04:17
Many tnx Roman, work  :)