EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: Baines on 11 April 2014, 03:25

Title: error while unpacking warning - clrmamepro 4.014a
Post by: Baines on 11 April 2014, 03:25
I'm running Windows 8.1 64 bit, and Clrmamepro 4.014a (zip, not self-extracting).  7Zip v9.20 is also installed.  (While 7Zip is up to 9.32alpha, I've stuck with 9.20 because every release since has been an alpha or beta, and the page still links to 9.20.)

The Rebuilder is set to compress to 7z.

When "Additionally test SHA1/MD5 of existing destination" is checked, an "error while unpacking 7z file" warning is generated whenever the Rebuilder has to check a destination rom file.

The files in the destination directory appear to be fine.  They test with no issue in 7Zip itself, and also extract with no apparent issue (and the extracted file maintains the proper CRC).

Running the Scanner with "Test archive (decompress to memory) (Scanner only)" checked does not generate warnings, so the issue appears to only occur in the Rebuilder's process?
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Roman on 11 April 2014, 06:37
hmmm...cant repeat that here currently...can you send me an example file plus your settings?
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: haynor666 on 11 April 2014, 07:05
I didn't use this option because I assume building from scratch does need this. I'll check at home this problem.

BTW. You are using default 7z settings or modified? I changed options to LZMA2, multithreating and word, dictionary set to 256.
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: oxyandy on 11 April 2014, 09:18
I cant repeat CMP32 + cmd 7z 9.28a

Roman,
"Additionally test SHA1/MD5 of existing destination" is making use of 7z.dll or cmd 7z.exe ?
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: oxyandy on 11 April 2014, 09:30
Baines,
So you are using cmd from 9.20 ? I am pretty sure you are missing out on some cmd functions by using this old version.
I can confirm (& Oddi, Hi Oddi  ;D)cmd 7z from 9.28a x64 with CMP64 works great.
There are other 7z cmd versions that 'do not' work the same.
You can extract the cmd exe from the 7z_setup if you don't want to change normal 7z usage from what it currently is, just drop it into CMP's folder.
Check your 7z cmd strings too.
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Roman on 11 April 2014, 11:27
Generally an unzip operation and hash calculation makes use of the dll and not of the exe....
It does compare the stored crc32 with the calculated one and the datfile in any case....and the calculated sha1/md5 values against the ones in the datfile....

"Additionally test SHA1/MD5 of existing destination" is not enabled by default....so I will run some tests with it later at home...
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Roman on 11 April 2014, 18:21
hmm....ran some tests (rebuilt some files to 7z from zip....then again with the destination sha1 option enabled....) ....no problems in un7z'ing the files...

sooo.....guess I need some example files to do some tests....


by the way...if nobody noticed yet, if you go to "About", you can simply drag'n drop all kind of files and archives and it decompresses/calc hashes.....
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: haynor666 on 11 April 2014, 18:40
Totally forgot one thing. In many cases 7z.exe must together with it's library 7z.dll. Otherwise it might not recognize some archives, file formats like iso (tested).

It's better to make clean install of 7zip and the configure path to it's folder.

BTW. latest alpha versions of 7zip uses LZMA2 as default compression method.

EDIT. Tested rebuild with 2 identical directories - both have full 153 set and. I've fake (nothing to rebuild since both directories are exactly the same) rebuild and with options additionally test SH1/MD5 of existing destination  test archive (decompress to memory) - pass 100% correctly.
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Roman on 11 April 2014, 19:45
hmmm cmpro loads the 7z_*.dll from the cmpro folder....and if I rember correclty I took the latest
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: haynor666 on 11 April 2014, 19:50
in clrmamepro dir is 7z_64.dll with size 1422336 in 7zip dir is 7z.dll 7.22beta with size 1478656

Might cause those problems ?
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Roman on 11 April 2014, 20:18
hmmm...actually I am pretty sure that I took it from the latest 32 alpha....but asmentioned...I wasn't able to reproduce an unpack issue yet
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: haynor666 on 11 April 2014, 20:28
So that's fine because I'm using 7.22 beta. My 7z 7.22b is located together with it's library in program files.

So maybe Baines mixed library with wrong exe.
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Baines on 11 April 2014, 21:01
by the way...if nobody noticed yet, if you go to "About", you can simply drag'n drop all kind of files and archives and it decompresses/calc hashes.....

I'm not really sure what is going wrong at this point.

Running 64-bit Clrmamepro 4.014a: Dragging a zip or rar archive onto the About panel works. Dragging a 7z archive onto the About panel fails with an "Unpack failed on file" error window.  This is happening with both the installer and zip versions of Clrmamepro.

Running 32-bit Clrmamepro 4.014a: Dragging the same 7z archives onto the About panel works fine.

Opening a command prompt, the same files test and extract without issue with command line 7z.exe. This is true for both 9.20 version (what I've had installed) and the 9.32alpha version (which I downloaded to test).

Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: oxyandy on 12 April 2014, 00:39
Question: Does Win8 have the dll protection ?
Right Click 7z_.dll Properties... & it has a warning about this file came from another computer, bla
With a box... Unblock dll??
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Baines on 12 April 2014, 01:14
hmmm...actually I am pretty sure that I took it from the latest 32 alpha....but asmentioned...I wasn't able to reproduce an unpack issue yet

The version of Clrmamepro 4.014a that I downloaded (extracted from the zip into a new and clean directory) has the 9.20 DLL, not the 9.32 alpha DLL.  The file's Properties->Detail pane describes it as Version 9.20, and it is a byte-for-byte match for the 7z.dll in my installation of 7Zip 9.20.  The 9.32 alpha DLL is marked Product Version 9.32 alpha and is smaller.

Oxyandy, the dll is not blocked.  I did check to make sure when you asked, though.
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: oxyandy on 12 April 2014, 02:36
I just don't have the time to boot over to win7 Ultimate to check if I can repeat on CMP64
But I agree same with CMP32, the dll packaged with CMP4011a__32 is 9.20

(http://ndsxdelta.no-ip.org/7z_32.dll.png)
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Baines on 12 April 2014, 03:06
I'm attaching an example 7z that causes clrmamepro, at least on my machine, to throw an error when dropped onto the "About" panel.  The contents are just CMP's "whatsnew.txt"

7z.exe finds nothing wrong with the file, testing and extracting fine.  CMP chokes on it when dropped onto the About pane.  (I'm assuming the unpacking warning and the About panel error are connected.)

Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: oxyandy on 12 April 2014, 04:21
OK, here is what I just did..
I downloaded CMP64_4014a (ZIP) extracted it, configured nothing, added nothing.
Opened, went to 'About' window & dropped your archive
No problem Win7 x64, CMP64

(http://ndsxdelta.no-ip.org/Capture_04122014_121511.png)
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: haynor666 on 12 April 2014, 09:22
I've check both 32 and 64 versions of 7z_.dll in clrmame zip package -both reports 7.20.

I've check also 7.32a installers both with 7z.dll version 7.32

Question: Roman is it safe to use 7.32a instead 7.22 ?
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: oxyandy on 12 April 2014, 11:02
Baines,
Using my post @reply 17 (above)
The only difference being you have win8, are you still getting the same error ?

I know Roman has really been looking for a good excuse to load win8 ;)
Could this be it  ?
:P
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: haynor666 on 12 April 2014, 11:39
Baines, I've check your file and it's ok inclrmamepro x64 with any 7z library (7.20, 7.22b, 7.32a)
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: oxyandy on 12 April 2014, 11:53
haynor666
Quote
with any 7z library (7.20, 7.22b, 7.32a)
Really ?
Do you mean 7z library (9.20, 9.22b, 9.32a) ?
Where does 7 come from ?
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: haynor666 on 12 April 2014, 12:01
I've replace 7z_64.dll in clrmamepro folder with other versions that came with 7z msi installer.

I just tested clrmamepro behaviour with different versions of 7z libray (outdated 9.20, stable 9.22b and 9.32a)  :)
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Roman on 12 April 2014, 12:34
I can put a win8.1 pro systembuilder to m amazon wishlist then :-)
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Baines on 12 April 2014, 13:11
I've replace 7z_64.dll in clrmamepro folder with other versions that came with 7z msi installer.

I just tested clrmamepro behaviour with different versions of 7z libray (outdated 9.20, stable 9.22b and 9.32a)  :)

I tried that, but experience the same error with each.

I have found some 7z files that the About panel handles without issue, but these are always old files originally from a different machine, and 7Zip (whether coincidentally or not) says they use compression method LZMA:18.  EDIT: Found a file that compressed to LZMA:18 on my machine, and CMP's About pane errored on it, so that was a dead end/coincidence.

An attempted summary:
Using CMP 4.014a 64-bit, on my machine which is an i5-4670 running Windows 8.1 64-bit, I encounter two issues which are presumably related.  Dropping the 7z file on CMP's About pane produces an error.  Rebuilding a duplicate rom into an existing 7z file with the option to check the destination md5/sha1 enabled produces a warning.

7Zip installed on my machine shows no evidence of an issue.  It has no problems with any of the files, which test and extract properly.  CMP itself shows no issue rebuilding from a 7z archive; its Rebuild issue only occurs when a rom already exists inside the destination 7z archive.  (Roman said the destination md5/sha1 check uses CMP's 7Zip DLL.  I assume the About pane uses it as well?  The Rebuild process itself I assume uses 7z.exe instead.)

Zip and Rar files show no issues.

The 7z_64.dll included in CMP 4.014a is version 9.20, which is identical to the 7z.dll included in 7Zip 9.20.  So the DLL itself doesn't appear to somehow have been damaged on my machine.  Replacing the dll in the CMP directory with the appropriately renamed version from other 7Zip packages produces the same issues.

Oxyandy had no trouble with a 7z archive that produces a CMP About pane error on my machine.

On my machine, 32-bit CMP 4.014a works without issue.  I believe, but cannot say for certain, that 64-bit CMP 4.012b and before showed no issue on my machine either.  (I deleted my older copies, but I don't recall seeing the issues before.  I can't speak with 100% accuracy though.)

On the off chance, I ran a RAM check, which discovered no issues.  But memory checks can never guarantee the absence of problems.

I have found older 7z files obtained from other machines that exhibit no issues, but even some of those do.  The compression method may or may not be tied to whatever is messing up for me, but that could just be a coincidence.

It doesn't look like anyone else has encountered such issues, or at least have not reported them if they have.  (Is anyone else using Win 8.1 64-bit?)

I'm really confused, and will probably switch back to using 32-bit CMP for the near future.  The issues don't seem critical for me (as CMP has no complaints unless I check an option that defaults to off, or use a drag-and-drop feature that I hardly ever use), but I might as well play it safe.
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Roman on 12 April 2014, 16:50
hmm....I've now tested a big variety of dlls and 7z files and got no issues. Running Windows 7 (Ultimate) 64 bit....
Does anyone experience any issue with Windows 7? If so, please send me the file.

Windows 8.1 ...well...of course there is a chance that it fails for some reason on that system...can't test at the moment since I don't have it....but on the other side Windows 8.1 is not THAT different....weird....

guess I need a virtual machine and a test installation....
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Baines on 12 April 2014, 17:19
I may have found something.

If I 7zip a file, then drag-and-drop the resulting 7z file onto CMP's About pane, it results in an error.

If I 7zip a directory, then drag-and-drop the resulting 7z file onto CMP's About pane, it processes correctly.  This works even if the directory itself contains files.

Basically, if there are files inside the root of the archive, it will cause an error in CMP.  I've tested this with individual files and directories, as well as adding and deleting files and directories from existing archives.  Whenever there is at least one file in the root directory, it causes an error in CMP.  When there are no files, only directories, in the root of the archive, CMP processes everything without issue (including all the files within those directories.)
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Roman on 12 April 2014, 18:45
can you send me your files?

I can also try to prepare a version which prints out some more info, 7z internal error codes etc....


I've run tests with directories, no directories, mixed ones etc....simply compressed via 7-Zip [64] 9.32 alpha  Copyright (c) 1999-2013 Igor Pavlov  2013-12-01.....context menu....

no issues.....can't really believe it's Windows 8.1 related.....
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Baines on 12 April 2014, 20:27
can you send me your files?

I can't think of anything else to send.  Clrmamepro has been downloaded from the site, both the zipped and self-extracting exe versions tested.  7zip downloaded from its site, both 9.20 and 9.32alpha tested.  All official downloads from the proper sites, and the multiple copies should exclude possibilities of some kind of freak post-extraction damage.

I've tested with an untouched extraction of CMP, to a clean directory with no settings changed at all, as I don't need to change anything to experience the About pane issue.

The 7z archives that cause issues appear to be perfectly fine archives.  I've already attached an example in a previous reply, only for oxyandy to test it in CMP without issue.

EDIT: I don't trust EmuCR, but that was the only place where I found older copies of CMP.  For testing, I just downloaded both 4.014 and 4.012b 64-bit from there. 4.014 showed the same issue as 4.014a, while 4.012b worked fine (which matched my memory of having no problems with 4.012b).  Unfortunately, looking at other forum posts, it sounds like some pretty big changes to how 7z was handled were made between 4.012b and 4.014, so its not like that bit of info is going to be particularly useful. :/
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Roman on 12 April 2014, 21:15
you cant really compare 4012 with 4014... well both are based on the same version of the 7z sdk but now I use the c++ part which is way more modern and supports blockwise processing which is definetly needed if you work with larger archives....

regarding windows 8.1, I maye the chance to do some testing in a week....

in the meantime I try to do a build with some more detailled error message output...
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Roman on 14 April 2014, 07:35
so, noone with Windows 7 facing this problem???
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: oddi on 14 April 2014, 13:55
Confirmed error when drag and drop 7z archive on about window.
Win8.1 x64 , the last cmpro x64 build. Test with 7zip 9.28a and 9.32. Same error.

with cmpro x86 - drag and drop 7z worked fine.
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: oxyandy on 14 April 2014, 14:03
Great work Oddi,
about time another win8 64 user came forward. +1 for you.
You are never far away from this forum, that should Roman when he looks for results/testers.
Thanks
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Roman on 14 April 2014, 14:22
so again only Windows 8.x with 64bit cmpro build....and only 7z...hmm..interesting....maybe a compiler issue...maybe a flaw in the 7z sdk....maybe a bug in Windows 8 ;)
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Roman on 14 April 2014, 19:59
ok you Win 8.x 64bit users out there..can you please run this: http://mamedev.emulab.it/clrmamepro/binaries/cmpro64.rar (http://mamedev.emulab.it/clrmamepro/binaries/cmpro64.rar)

Go to about and drag'n drop one of your failing files....a prompt should appear (before the common "unpack failed on file")....you can use ctrl+c/+v to copy it/paste it....

should give me a little clue what is going on.....
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Baines on 14 April 2014, 22:17
ok you Win 8.x 64bit users out there..can you please run this: http://mamedev.emulab.it/clrmamepro/binaries/cmpro64.rar (http://mamedev.emulab.it/clrmamepro/binaries/cmpro64.rar)

Go to about and drag'n drop one of your failing files....a prompt should appear (before the common "unpack failed on file")....you can use ctrl+c/+v to copy it/paste it....

should give me a little clue what is going on.....

---------------------------
cmpro64
---------------------------
error while unpacking 7z file C:\Users\Billy\Emulation\ClrMamePro\apple.7z

file: cmpro.ini
dest:
index: 1
testMode: 1
reqCRC: 617F2616
calcCRC: 00000000
result: 1
---------------------------
OK   
---------------------------

===========================
EDIT:
More testing info.

I found that some 7z archives with both files and folders in the root would work, and some would fail.  I did plenty of testing on the wrong track, before noticing alphabetical order.

I made an empty directory and a four byte test file.  The directory happened to be called "logs".  I 7z'd both the file and the empty directory together.  Then I changed the first letter of the name of the 4-byte file and made a new archive.  When the 4-byte file was named "apple.txt" (putting it alphabetically before "logs"), the archive failed on the About pane test.  When the 4-byte file was named "zpple.txt" (putting it alphabetically after "logs"), the About pane handled the archive correctly.

It may also be worth noting that if a root test file is zero-size, it won't interfere with the About pane test.
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: oxyandy on 15 April 2014, 04:04
Hi Baines,
Some great testing there!
I bet you are happy to know you are not alone with this exact fault, as confirmed by Oddi - it indeed seems 'Win8 x64 CMP64 7z specific bug' & not just 'your' OS.
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Roman on 15 April 2014, 05:23
it doesnt calculate the crc for some reason...0 value.....need to check that...the unpack operation succeeded though...only the check if required crc matches calculated one fails...

I will try the tests with the appl'n logs test later today....sound a bit like an index issue....it seems to try to calculate the crc32 of a folder entry which is 0 when it should pickup the file...

....guess you used a standard 7z add e.g. via context menu to 7zip up the file and folder, didnt you
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Baines on 15 April 2014, 13:16
it doesnt calculate the crc for some reason...0 value.....need to check that...the unpack operation succeeded though...only the check if required crc matches calculated one fails...

I will try the tests with the appl'n logs test later today....sound a bit like an index issue....it seems to try to calculate the crc32 of a folder entry which is 0 when it should pickup the file...

....guess you used a standard 7z add e.g. via context menu to 7zip up the file and folder, didnt you

I used the context menu as well as the GUI.  I tried the context menu 7z'ing both file and folder together, as well as using the context menu to 7z only the folder and then adding the file through the GUI ("Open Archive", then drag-and-dropping the file onto the GUI window and choosing to add).

But again, the process fails even if there is no folder in the archive at all.  I should have mentioned that the error log I posted was from a 7z that held only a single file.  (Specifically, it held a cmpro.ini file.)  I only noticed how the file and folder combination worked after I made that initial reply, and decided to edit that into the initial reply rather than make a second post.

And oxyandy, yes, I did mean to say that it is nice to know that it isn't just my machine.  Computers, and seemingly particularly Windows machines, can have some quirky and inconsistent issues that never really get tracked down.  You never really know about an issue until someone else says they have it too.
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Roman on 15 April 2014, 13:31
actually "calcCRC: 00000000" shows me already that it did not calculate the hash during decompression.... (0 is the inital value)...but that can have different reasons:

- 7z decompress fails pretty early (and so it never hit the hash update at all...pretty common when the file is small....but result = 1 shows it return a good return value)
- the extract callback which does the hash calculation isn't called at all (I can add some debug promps in another build for this...)
- something is not thread safe.......or it's simply a compiler issue...which is still weird since it runs fine on 64bit Windows 7.......guess there is no way besides of getting Windows 8.1 installed yikes...(nothing I can do this week)

Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Roman on 15 April 2014, 20:03
hmm..but it's not fixed with this here:

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


or is it....? (found something which looked a bit odd...but should not harm...but who knows...)
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Baines on 15 April 2014, 20:57
hmm..but it's not fixed with this here:

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


or is it....? (found something which looked a bit odd...but should not harm...but who knows...)

Still fails.  It doesn't seem to break anything new, but the same stuff that failed before still fails.

---------------------------
cmpro64
---------------------------
error while unpacking 7z file C:\Users\Billy\Emulation\ClrMamePro\apple.7z

file: cmpro.ini
dest:
index: 1
testMode: 1
reqCRC: 617F2616
calcCRC: 00000000
bCRC32: 0
result: 1
---------------------------
OK   
---------------------------
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Roman on 15 April 2014, 20:59
oh wait...bcrc32 is 0..... this is interesting!
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Roman on 15 April 2014, 21:10
and test 3...


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

Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Baines on 15 April 2014, 22:47
and test 3...


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

And it works!

At least it worked for everything that I threw at the About pane.

EDIT: Quick test, I don't see it throwing warnings in the Rebuilder either.
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Baines on 15 April 2014, 23:01
Down side is that I forgot to mention a different issue that I ran across when testing...

Files can be identified with CRC, sha1, and md5.  The Rebuilder cares if the sha1 and md5 of a file doesn't match the DAT information.  The Scanner, and the Scanner's "Fix Name" function, doesn't.

When I was testing, I for some reason rigged two files with identical CRCs, but different contents (and thus different sha1 and md5).  I made a DAT for one of the roms.  If I archive the other instead manually and stick it in the Rom directory and run a Scan, CMP looks at its CRC, sees the match, and decides that it is the proper file even though the sha1 and md5 don't match.  If it has a different name, CMP decides it is the right file and just has the wrong name, and setting Fix Name will have it rename the file.

There is an Advanced option to test sha1/md5 for Fix Missing, but not to enable it for the basic scan, and not as a safety for Fix Name.

(Ah, I remember why I did it.  I was trying to see whether the Rebuilder was actually checking the sha1/md5 of destinations when set.)

EDIT: I could have worded this report better.  I meant to say that this was an issue from the start, not something introduced in one of the fixes.
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Roman on 16 April 2014, 07:12
For your new thingie, would be great to have the files so I can do some tests...


back to the 7z one, well, it's not Windows 8's fault...neither 7zips...it was mine...
Welcome to the world of "funny things happen if you don't initialize variables".....
There was a boolean flag within a structure which decides if the CRC32 should be calculated or not....in one case this boolean inside the structure was not initialized, so actually the value is random...Funnily enough for all systems except Windows 8.1/64bit/64bit cmpro it accidently took the right value (true) and it worked well....for you it took false....

Nice finding...such things can drive you crazy....resolved....guess I put out a new version tonight/tomorrow...
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: oxyandy on 16 April 2014, 08:54
There is an Advanced option to test sha1/md5 for Fix Missing, but not to enable it for the basic scan, and not as a safety for Fix Name.
Yeah well on a plus side a CRC collision is rare, as you say Rebuilder takes cares of it. (on source side)
But, for this to happen on a set with 2 files in the same set sharing duplicate CRC32 but different SHA
on DAT change/update would be infinitely rarer !

Is all about speed.
But is good to know the extra "Scanner" option "Additionally......." is there.

@Baines, what you explained is very clear. Conclusion: not a big deal.
Great work providing Roman with clues  8)
Title: Re: error while unpacking warning - clrmamepro 4.014a
Post by: Roman on 16 April 2014, 09:01
Yeah...enabling it for name/unneeded checks would make it crawl ;-)

Better run a sha1 check afterwards.....