EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: abelenki on 15 February 2014, 06:07

Title: strange error
Post by: abelenki on 15 February 2014, 06:07
i'm using latest cmp 4.012b and i got this error when deep scanning IBM PC Compatible set in 7z format:

Archive Header CRC32 doesn't match CRC32 of decompressed data for file: F:\emulation\games\PCDiscs\1701 A.D. (USA)\1701 A.D. (USA).iso

any advices, how i can fix that?

p.s.: error from the .log:

1701 A.D. (USA) [folder: 1701 A.D. (USA) - size: 4gb]
Full archive integrity check reported errors or a header crc32 mismatch was found.


p.s. 2: i unpacked this archive, re-7zipped it, and i still got the same error in cmp.
Title: Re: strange error
Post by: Roman on 15 February 2014, 07:27
it means the file's data hashvalue does not match the hash value which is stored in the archive management structures...in other words the archive is bad. you can fix this by manually unpacking and repacking the data to a new archive.

would be interesting to look at the archive though. any chance to send me that 'broken' one?
Title: Re: strange error
Post by: abelenki on 15 February 2014, 07:28
i think, i found why it happens.

Kludge mentioned this on #romshepherd some time ago.

it happens only with files which are larger than 4GB.

but i use x64 version of cmp and x64 os, so all my 16GB of RAM should be addressed correctly.
Title: Re: strange error
Post by: abelenki on 15 February 2014, 07:29
it means the file's data hashvalue does not match the hash value which is stored in the archive management structures...in other words the archive is bad. you can fix this by manually unpacking and repacking the data to a new archive.

would be interesting to look at the archive though. any chance to send me that 'broken' one?

Roman, thanks for being so quick. please read my second reply about possible conflicts.

p.s.: also, as i stated, i unpacked and packed it again. no errors in 7-zip. and this set if the first one which are 4+ GB in the folder.
Title: Re: strange error
Post by: abelenki on 15 February 2014, 08:06
scan is progressing, i got same errors for .7z archives which are 4+GB.

p.s.: i attached the screenshot.
Title: Re: strange error
Post by: Roman on 15 February 2014, 19:19
Generally 7z and cmpro shouldn't have a problem with file and archive sizes beyond 4GB....most likely it's some 7z special thing (again) which the old SDK doesn't handle correctly....I will run some tests...
Title: Re: strange error
Post by: abelenki on 16 February 2014, 14:29
I will run some tests...

thanks, i will be patiently wating for your results.
Title: Re: strange error
Post by: Roman on 16 February 2014, 19:58
looks like the old 7z sdk function SzArEx_Extract can only handle 32bit file size limits....
tough luck...the error message itself is just a following error based on the fact that the decompress fails...
Title: Re: strange error
Post by: abelenki on 17 February 2014, 01:59
looks like the old 7z sdk function SzArEx_Extract can only handle 32bit file size limits....
tough luck...the error message itself is just a following error based on the fact that the decompress fails...

can it be fixed?
Title: Re: strange error
Post by: Roman on 17 February 2014, 06:15
well yes by not using the old 7z sdk code but switching to the not that old c++ com based c**p :-)....which I've planned for years but haven't enough time to do so....
Title: Re: strange error
Post by: oxyandy on 13 March 2014, 01:35
Hi abelenki,
Go here, grab the new CMP, test your over 4Gb 7z's please, then report on that thread, thanks !
http://www.emulab.it/forum/index.php?topic=3775.msg14505#msg14505 (http://www.emulab.it/forum/index.php?topic=3775.msg14505#msg14505)
Title: Re: strange error
Post by: abelenki on 13 March 2014, 07:38
Go here, grab the new CMP, test your over 4Gb 7z's please, then report on that thread, thanks !
http://www.emulab.it/forum/index.php?topic=3775.msg14505#msg14505 (http://www.emulab.it/forum/index.php?topic=3775.msg14505#msg14505)

hi Roman,

i just tried new 7z_64.dll + cmpro64.exe.

now it gives errors on all sets, including less than 4GB.
Title: Re: strange error
Post by: Roman on 13 March 2014, 08:41
you haven't downloaded the latest one....

http://mamedev.emulab.it/clrmamepro/binaries/cmp20140312.rar (http://mamedev.emulab.it/clrmamepro/binaries/cmp20140312.rar)
Title: Re: strange error
Post by: abelenki on 13 March 2014, 08:45
you haven't downloaded the latest one....

http://mamedev.emulab.it/clrmamepro/binaries/cmp20140312.rar (http://mamedev.emulab.it/clrmamepro/binaries/cmp20140312.rar)

i tried 7z_64.dll + cmpro64.exe right from this archive.
Title: Re: strange error
Post by: Roman on 13 March 2014, 08:47
well, then your 7z is bad.... :-)
No really..there was an issue with the 1st release mentioned in the thread...the second rar file fixes that thing...so please double check if you really used the 2nd download link...
Title: Re: strange error
Post by: abelenki on 13 March 2014, 09:00
well, then your 7z is bad.... :-)

i'm using latest:

7-Zip [64] 9.32 alpha  Copyright (c) 1999-2013 Igor Pavlov  2013-12-01


Quote
No really..there was an issue with the 1st release mentioned in the thread...the second rar file fixes that thing...so please double check if you really used the 2nd download link...

i just re-downloaded the archive and overwrote 7z_64.dll, cmpro64.exe.

same error on every set... :(
Title: Re: strange error
Post by: abelenki on 13 March 2014, 09:06
here's my complete cmp folder, which i'm running cmp from:

http://lowtrucks.net/cmp-abelenki.zip (http://lowtrucks.net/cmp-abelenki.zip)
Title: Re: strange error
Post by: Roman on 13 March 2014, 11:02
external 7z has nothing to do with it.....

can you send / upload your romfolder (try to minimize the problem...maybe just 1 7z file etc...) somehow/somewhere
Title: Re: strange error
Post by: abelenki on 13 March 2014, 11:10
external 7z has nothing to do with it.....

can you send / upload your romfolder (try to minimize the problem...maybe just 1 7z file etc...) somehow/somewhere

well, the rom folder is 4TB, so, no. ;) i will post one 7z tomorrow...

thanks.
Title: Re: strange error
Post by: Roman on 13 March 2014, 11:16
if you say it's for each file you may remove the iso and keep the cue :)
Title: Re: strange error
Post by: Roman on 13 March 2014, 18:35
no need anymore...I found the problem...
Title: Re: strange error
Post by: abelenki on 10 October 2014, 06:49
no need anymore...I found the problem...

sorry for late reply, but i just checked full integrity 7z scan (4GB+ per set) with the latest cmp, and it works fine.

no more warnings and errors.

thank you very much, Roman. much appreciated.
Title: Re: strange error
Post by: Roman on 10 October 2014, 06:50
thanks for the feedback