EMULAB Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

The new forum is online, hope you enjoy it!

Pages: [1] 2 3   Go Down

Author Topic: error while unpacking warning - clrmamepro 4.014a  (Read 49233 times)

Baines

  • Karma: 0
  • Offline Offline
  • Posts: 12
  • Operating System:
  • Windows NT 6.3 Windows NT 6.3
  • Browser:
  • Firefox 28.0 Firefox 28.0
    • View Profile
error while unpacking warning - clrmamepro 4.014a
« 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?
« Last Edit: 11 April 2014, 03:27 by Baines »
Logged


Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Online Online
  • Posts: 3446
  • Operating System:
  • Mac OS X Mac OS X
  • Browser:
  • Safari 7.0 Safari 7.0
    • View Profile
Re: error while unpacking warning - clrmamepro 4.014a
« Reply #1 on: 11 April 2014, 06:37 »

hmmm...cant repeat that here currently...can you send me an example file plus your settings?
Logged

haynor666

  • retro maniac
  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 65
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 34.0.1847.116 Chrome 34.0.1847.116
    • View Profile
Re: error while unpacking warning - clrmamepro 4.014a
« Reply #2 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.
Logged

oxyandy

  • Member
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 269
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Firefox 25.0 Firefox 25.0
    • View Profile
    • .
Re: error while unpacking warning - clrmamepro 4.014a
« Reply #3 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 ?
« Last Edit: 11 April 2014, 09:46 by oxyandy »
Logged

oxyandy

  • Member
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 269
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Firefox 25.0 Firefox 25.0
    • View Profile
    • .
Re: error while unpacking warning - clrmamepro 4.014a
« Reply #4 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.
« Last Edit: 11 April 2014, 09:48 by oxyandy »
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Online Online
  • Posts: 3446
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 34.0.1847.116 Chrome 34.0.1847.116
    • View Profile
Re: error while unpacking warning - clrmamepro 4.014a
« Reply #5 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...
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Online Online
  • Posts: 3446
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 34.0.1847.116 Chrome 34.0.1847.116
    • View Profile
Re: error while unpacking warning - clrmamepro 4.014a
« Reply #6 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.....
Logged

haynor666

  • retro maniac
  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 65
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 34.0.1847.116 Chrome 34.0.1847.116
    • View Profile
Re: error while unpacking warning - clrmamepro 4.014a
« Reply #7 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.
« Last Edit: 11 April 2014, 19:47 by haynor666 »
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Online Online
  • Posts: 3446
  • Operating System:
  • Mac OS X Mac OS X
  • Browser:
  • Safari 7.0 Safari 7.0
    • View Profile
Re: error while unpacking warning - clrmamepro 4.014a
« Reply #8 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
Logged

haynor666

  • retro maniac
  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 65
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 34.0.1847.116 Chrome 34.0.1847.116
    • View Profile
Re: error while unpacking warning - clrmamepro 4.014a
« Reply #9 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 ?
« Last Edit: 11 April 2014, 19:51 by haynor666 »
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Online Online
  • Posts: 3446
  • Operating System:
  • Mac OS X Mac OS X
  • Browser:
  • Safari 7.0 Safari 7.0
    • View Profile
Re: error while unpacking warning - clrmamepro 4.014a
« Reply #10 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
Logged

haynor666

  • retro maniac
  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 65
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 34.0.1847.116 Chrome 34.0.1847.116
    • View Profile
Re: error while unpacking warning - clrmamepro 4.014a
« Reply #11 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.
Logged

Baines

  • Karma: 0
  • Offline Offline
  • Posts: 12
  • Operating System:
  • Windows NT 6.3 Windows NT 6.3
  • Browser:
  • Firefox 28.0 Firefox 28.0
    • View Profile
Re: error while unpacking warning - clrmamepro 4.014a
« Reply #12 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).

Logged

oxyandy

  • Member
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 269
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Firefox 25.0 Firefox 25.0
    • View Profile
    • .
Re: error while unpacking warning - clrmamepro 4.014a
« Reply #13 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??
Logged

Baines

  • Karma: 0
  • Offline Offline
  • Posts: 12
  • Operating System:
  • Windows NT 6.3 Windows NT 6.3
  • Browser:
  • Firefox 28.0 Firefox 28.0
    • View Profile
Re: error while unpacking warning - clrmamepro 4.014a
« Reply #14 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.
« Last Edit: 12 April 2014, 01:16 by Baines »
Logged

oxyandy

  • Member
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 269
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Firefox 25.0 Firefox 25.0
    • View Profile
    • .
Re: error while unpacking warning - clrmamepro 4.014a
« Reply #15 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

« Last Edit: 12 April 2014, 04:03 by oxyandy »
Logged

Baines

  • Karma: 0
  • Offline Offline
  • Posts: 12
  • Operating System:
  • Windows NT 6.3 Windows NT 6.3
  • Browser:
  • Firefox 28.0 Firefox 28.0
    • View Profile
Re: error while unpacking warning - clrmamepro 4.014a
« Reply #16 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.)

Logged

oxyandy

  • Member
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 269
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 27.0 Firefox 27.0
    • View Profile
    • .
Re: error while unpacking warning - clrmamepro 4.014a
« Reply #17 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

« Last Edit: 12 April 2014, 04:22 by oxyandy »
Logged

haynor666

  • retro maniac
  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 65
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 34.0.1847.116 Chrome 34.0.1847.116
    • View Profile
Re: error while unpacking warning - clrmamepro 4.014a
« Reply #18 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 ?
Logged

oxyandy

  • Member
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 269
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Firefox 25.0 Firefox 25.0
    • View Profile
    • .
Re: error while unpacking warning - clrmamepro 4.014a
« Reply #19 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
« Last Edit: 12 April 2014, 11:03 by oxyandy »
Logged
Pages: [1] 2 3   Go Up
 

Page created in 0.083 seconds with 21 queries.