Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
04388 Documentation Minor Always Jun 21, 2011, 10:17 Jun 21, 2011, 14:20
Tester qmc2 View Status Public Platform SDLMAME
Assigned To Tafoid Resolution Fixed OS Linux
Status [?] Resolved Driver
Version 0.142u6 Fixed in Version 0.143 Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 04388: specfrce: Wrong SHA1 check sum in XML data for CHD (v3 vs. v4)
Description The stored SHA1 check sum for sf010101.chd appears to be the one from the v3 formatted CHD. After an update to v4 (using 'chdman -update') the header check sum is reported as bad.
Steps To Reproduce Run 'chdman -update' on the CHD and run 'mame -verifyroms' on the set.
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems specfrce
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
4
User avatar
No.07563
Fujix
Administrator
Jun 21, 2011, 13:35
edited on: Jun 21, 2011, 14:07
This is my results for the ver 3 and 4 chds.

D:\mame>chdman -info D:\mame\chds2\specfrce\sf010101.chd
chdman - MAME Compressed Hunks of Data (CHD) manager 0.142 (Apr 2 2011)
Input file: D:\mame\chds2\specfrce\sf010101.chd
Header Size: 120 bytes
File Version: 3
Flags: NO_PARENT, READ_ONLY
Compression: zlib+
Hunk Size: 4096 bytes
Total Hunks: 4887777
Logical size: 20,020,331,520 bytes
MD5: a4cf5e429cb79a535d7d5d52902de440
SHA1: 2fc4e02d08163d8ed28b00f590240d550eaa6015
Metadata: Tag='GDDD' Length=36
              CYLS:2434,HEADS:255,SECS:63,BPS:512.

D:\mame>chdman -info new.chd
chdman - MAME Compressed Hunks of Data (CHD) manager 0.142 (Apr 2 2011)
Input file: new.chd
Header Size: 108 bytes
File Version: 4
Flags: NO_PARENT, READ_ONLY
Compression: zlib+
Hunk Size: 4096 bytes
Total Hunks: 4887777
Logical size: 20,020,331,520 bytes
SHA1: 59b5e3d8e1d5537204233598830be2066aad0556
Raw SHA1: 2fc4e02d08163d8ed28b00f590240d550eaa6015
Metadata: Tag='GDDD' Length=36
              CYLS:2434,HEADS:255,SECS:63,BPS:512.

Could you post your chdman result?
User avatar
No.07564
Tafoid
Administrator
Jun 21, 2011, 13:36
Confirmed. Whomever added it to MAME should have verified the state of the CHD. This will be corrected for next release.
User avatar
No.07565
qmc2
Senior Tester
Jun 21, 2011, 13:46
edited on: Jun 21, 2011, 13:51
@Fujix, this is my output:
rene@thunder:~/src/mame0142u6> ./chdman -info /home/games/mame/roms/specfrce/sf010101.chd
chdman - MAME Compressed Hunks of Data (CHD) manager 0.142u6 (Jun 20 2011)
Input file:   /home/games/mame/roms/specfrce/sf010101.chd
Header Size:  120 bytes
File Version: 3
Flags:        NO_PARENT, READ_ONLY
Compression:  zlib+
Hunk Size:    4096 bytes
Total Hunks:  4887777
Logical size: 20,020,331,520 bytes
MD5:          a4cf5e429cb79a535d7d5d52902de440
SHA1:         2fc4e02d08163d8ed28b00f590240d550eaa6015
Metadata:     Tag='GDDD'    Length=36
              CYLS:2434,HEADS:255,SECS:63,BPS:512.
rene@thunder:~/src/mame0142u6> ./chdman -info /home/games/mame/roms/specfrce/sf010101.chd.v4
chdman - MAME Compressed Hunks of Data (CHD) manager 0.142u6 (Jun 20 2011)
Input file:   /home/games/mame/roms/specfrce/sf010101.chd.v4
Header Size:  108 bytes
File Version: 4
Flags:        NO_PARENT, READ_ONLY
Compression:  zlib+
Hunk Size:    4096 bytes
Total Hunks:  4887777
Logical size: 20,020,331,520 bytes
SHA1:         59b5e3d8e1d5537204233598830be2066aad0556
Raw SHA1:     2fc4e02d08163d8ed28b00f590240d550eaa6015
Metadata:     Tag='GDDD'    Length=36
              CYLS:2434,HEADS:255,SECS:63,BPS:512.
So it's basically the same...
User avatar
No.07566
Fujix
Administrator
Jun 21, 2011, 14:12
Thanks qmc2 for following up.
Tafoid handles this issue now.