Forums  ›  Emulators: Mame  ›  TechTips
 

crlmamepro scanning and chd version

Hello,

I hope you could help me.

Yesterday I was scanning my romset and at the end of the scanning, for 32 chd clrmamepro gave me the following message (I keep as example "candy puzzle"):

Candy Puzzle (v1.0) [system: Cubo BIOS - folder: cndypuzl - size: 1mb]

required chd version mismatch: cndypuzl.chd [found version: 4] [required version: 5]

Than I proceeded to update the chd file with the last chdman version (from mame 0.244) but finally it corrects the version, but changes the sha1 putting it in the wrong format.

I tried to re-download the chd from retroroms, re-do the process from scratch but I get the same result.

Is there a way to correct the chd sha1 also?

what are you doing? for which MAME version? Which version of CHDMAN.exe? Which CLRMAME version

 

from MAME XML 0.244: 

<game name="cndypuzl" romof="cubo">

<description>Candy Puzzle (v1.0)</description>

<year>1995</year>

<manufacturer>CD Express</manufacturer>

<disk name="cndypuzl" sha1="5f41ed3521b3e05d233ac1245b78cb0b118b2b90" status="baddump"/>

</game>

https://bda.retroroms.info:82/downloads/mame/CHDs/cndypuzl/

 

chdman - MAME Compressed Hunks of Data (CHD) manager 0.146 (Jul 31 2016)

Input file:   cndypuzl.chd

File Version: 4

Logical size: 434,431,872 bytes

Hunk Size:    9,792 bytes

Total Hunks:  44,366

Unit Size:    2,448 bytes

Total Units:  177,464

Compression:  zlib (Deflate)

CHD size:     15,868,976 bytes

Ratio:        3.7%

SHA1:         5f41ed3521b3e05d233ac1245b78cb0b118b2b90

Data SHA1:    21093753a1875dc4fb97f23232ed3d8776b48c06

 

My local version:

e:\Emulation\Mame\chd\cndypuzl>chdman.exe info -i cndypuzl.chd

chdman - MAME Compressed Hunks of Data (CHD) manager 0.244 (mame0244)

Input file:   cndypuzl.chd

File Version: 4

Logical size: 434,431,872 bytes

Hunk Size:    9,792 bytes

Total Hunks:  44,366

Unit Size:    2,448 bytes

Total Units:  177,464

Compression:  zlib (Deflate)

CHD size:     15,868,976 bytes

Ratio:        3.7%

SHA1:         5f41ed3521b3e05d233ac1245b78cb0b118b2b90

Data SHA1:    21093753a1875dc4fb97f23232ed3d8776b48c06

 

I must also say that I do only a "quick" scan each version with all the CHDs.

So please give me more information and I will investigate it.

Thanks

  • Add to Phrasebook
     
    • No word lists for English → English...
       
    • Create a new word list...
  • Copy

Picture from scan

 

 

 

Is there a way to correct the chd sha1 also?

 

A CHD has 2 SHA-1 codes, SHA1 and Data SHA1. You can see them using chdman info -i cndypuzl.chd

The internal Data SHA1 doesn't change when you update the CHD version, but the (file) SHA1 does change.

I guess you are using a dir2dat that checks the file SHA1, a normal dat checks the Data SHA1.

The file SHA1 will always change when you update the version of a CHD.

 

My full CHD set, checked with PD's dir2dat, contains several version 4 CHDs, including cndypuzl.chd.
So it's normal to still have some version 4 CHDs.

 

When you disable "list CHD version mismatches during scan" in Clrmamepro, it won't report the version mismatches.

You can find it under Settings -> Compressor -> CHDMan.

 

 
 
 
 
 
 
 

I'm using Mame and chdman 0.244, clrmamepro 4.045.

I'm updating the CHD with chdman to version 5 but I get a different sha1, and clrmamepro find it wrong.

In order to avoid these messages about sha1 is it convenient uncheck the option "List CHD version mismatches during scan"?

But I'd like to know if it is possible to update version without change the sha1 or if this is normal.

 

The file SHA1 will always change when you update the version of a CHD.