JessicaJones

CHD file CRC checksum

hi

Can somebody tell me where CRC checksum values of CHD files are stored?

I made a -listxml file but I don't see it in there.
The CRC and SHA1 checksum values of ROM files however are stored in this XML file.

Thx
User avatar
Tafoid
Posts: 351
Joined: Thu Nov 06, 2014 12:50 pm
Location: USA
Contact: Website

Re: CHD file CRC checksum

JessicaJones wrote: Fri Feb 07, 2020 11:48 pm hi

Can somebody tell me where CRC checksum values of CHD files are stored?

I made a -listxml file but I don't see it in there.
The CRC and SHA1 checksum values of ROM files however are stored in this XML file.

Thx
CRC32 is not used to determine validity of a CHD - only SHA1 is. The SHA1 listed in various MAME outputs (-listroms, -listxml) is taken from the data inside the CHD, not the CHD file due to various compression options available. Whatever XML file you are using shouldn't use CRC32's because they are not provided by MAME source, only the SHA1's are.

EG Area51
-listroms output:
area51 SHA1(3b303bc37e206a6d7339352c869f050d04186f11)

-listxml output:
<disk name="area51" sha1="3b303bc37e206a6d7339352c869f050d04186f11" region="ide:0:hdd:image" index="0" writable="yes"/>

Return to “MAME Discussion”