Hey
Roman, congrats for you huge work with that nice piece of software which is cmamep... It's super!

And also fits really nice in Linux via WINE!

As in title, I'd like to have a clarification by you, please be so kind!
I'm using
Latest Nightly Build.
So... I found some CHDs have mismatch version for what I say in cmamep to check against to.
Some of them are v4 and some others are v5.
I tried and done some experiments... 'Cause I'd like to have all CHDs converted to v5!

If I change the version to v4 to v5 the SHA1 also changes, and cmamep found a wrong CHD entry (before conversion, that CHD was was recognized as correct).
Here's to you what happens:
ls *.chd | parallel chdman info -i {}
chdman - MAME Compressed Hunks of Data (CHD) manager 0.218 (unknown)
Input file: gdl-0012.chd
File Version: 4
Logical size: 1,344,333,888 bytes
Hunk Size: 9,792 bytes
Total Hunks: 137,289
Unit Size: 2,448 bytes
Total Units: 549,156
Compression: zlib (Deflate)
CHD size: 110,731,452 bytes
Ratio: 8.2%
SHA1: aae4c1321fdee37d5405c6cbe648e0596624ed13
Data SHA1: 6326b21cfdc04490eb0ba82bc15d2fbc1ac8fac8
[...]
chdman - MAME Compressed Hunks of Data (CHD) manager 0.218 (unknown)
Input file: gdl-0012v50174.chd
File Version: 5
Logical size: 1,344,333,888 bytes
Hunk Size: 9,792 bytes
Total Hunks: 137,289
Unit Size: 2,448 bytes
Total Units: 549,156
Compression: cdlz (CD LZMA), cdzl (CD Deflate), cdfl (CD FLAC)
CHD size: 66,551,507 bytes
Ratio: 5.0%
SHA1: d2097461b5c6cffca5214a4fc7c685e5b620c156
Data SHA1: 6326b21cfdc04490eb0ba82bc15d2fbc1ac8fac8
[...]
chdman - MAME Compressed Hunks of Data (CHD) manager 0.218 (unknown)
Input file: gdl-0012v50218.chd
File Version: 5
Logical size: 1,344,333,888 bytes
Hunk Size: 9,792 bytes
Total Hunks: 137,289
Unit Size: 2,448 bytes
Total Units: 549,156
Compression: cdlz (CD LZMA), cdzl (CD Deflate), cdfl (CD FLAC)
CHD size: 66,551,507 bytes
Ratio: 5.0%
SHA1: d2097461b5c6cffca5214a4fc7c685e5b620c156
Data SHA1: 6326b21cfdc04490eb0ba82bc15d2fbc1ac8fac8
[...]
Is this a normal behaviour? I mean, MAME uses only SHA1 in its xml list to check CHD's datas' correctness?
Or cmamep can also verify internal SHA1 (Data SHA1)?
I did a test with some settings in Scanner, with no luck :'(

Thanks, bye!!