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]   Go Down

Author Topic: cmpro 4.08 released  (Read 10456 times)

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 21.0.1180.89 Chrome 21.0.1180.89
    • View Profile
cmpro 4.08 released
« on: 21 September 2012, 20:18 »

4.08

added: batcher rebuilder and scanner merge mode overwrites
added: supporting rar and 7z binaries rename operation. However your packer version needs to support it. For 7z, the latest alpha does. If your version does not, you can uncheck the option in settings compressor 7z and/or rar.
misc:  updated to 7z sdk 9.22 for reading and unpacking 7z archives (e.g. supports LZMA2)
fixed: wrong unneeded files message in samples folder if you're using software lists
fixed: rare obsolete missing but fixable chd message based on rompath ordering
fixed: decompressed samples in non wav format causes wrong prompts
Logged


oxyandy

  • Member
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 269
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Firefox 15.0.1 Firefox 15.0.1
    • View Profile
    • .
Re: cmpro 4.08 released
« Reply #1 on: 26 September 2012, 10:06 »

Quote
added: batcher rebuilder and scanner merge mode overwrites
added: supporting rar and 7z binaries rename operation. However your packer version needs to support it. For 7z, the latest alpha does. If your version does not, you can uncheck the option in settings compressor 7z and/or rar.
misc:  updated to 7z sdk 9.22 for reading and unpacking 7z archives (e.g. supports LZMA2)

These new additions are all working well..

Many thanks
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 21.0.1180.89 Chrome 21.0.1180.89
    • View Profile
Re: cmpro 4.08 released
« Reply #2 on: 26 September 2012, 11:39 »

time for a rebuilder rewrite then :)

but actually I'm currently busy with our 2 boys....
Logged

yerduaz

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 15.0.1 Firefox 15.0.1
    • View Profile
Re: cmpro 4.08 released
« Reply #3 on: 29 September 2012, 11:25 »

Hi Roman,

I think I have found a pretty critical bug in cmp 4.08:
the compressor options for 7z renaming are now using per default the new option rn ("rn -y -ms=off -mx9 %1 %2 %3").
In combination with an old version of 7z (prior to 9.27 alpha), this option is not supported / recognized, which lead to a deletion of the file within the 7z instead of a renaming of this file. Morevoer, cmp doesn't make any backup of this file as it comsiders that the renaming was successful.

I think another user had already this kind of problem (http://www.emulab.it/forum/index.php?topic=3479.msg13426#msg13426).

To workaround this problem, one have either to update to the latest 7z version (what I did) or to modify the command line for 7z renaming.

Can you please take a look at this.
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 22.0.1229.79 Chrome 22.0.1229.79
    • View Profile
Re: cmpro 4.08 released
« Reply #4 on: 29 September 2012, 11:48 »

You only have to uncheck the rename checkbox in the 7z settings....as mentioned in the whatsnew.txt for 4.08..then the old method (un-7z, re-7z) is used.
I will check if I can prevent the deletion somehow in case you're using an old 7z....
« Last Edit: 29 September 2012, 11:52 by Roman »
Logged

yerduaz

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 15.0.1 Firefox 15.0.1
    • View Profile
Re: cmpro 4.08 released
« Reply #5 on: 29 September 2012, 11:56 »

Sure, RTFM... :P

Nevertheless, I consider this as rather dangerous as, knowing that several people does not read the whatsnew, this option really can lead to a permanent loss of the impacted archives. Maybe a check of the 7z version and a warning window would be appropriate...
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 22.0.1229.79 Chrome 22.0.1229.79
    • View Profile
Re: cmpro 4.08 released
« Reply #6 on: 29 September 2012, 12:06 »

as I said...I will do something about it..thanks for mentioning the delete part.
Logged

oxyandy

  • Member
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 269
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Firefox 15.0.1 Firefox 15.0.1
    • View Profile
    • .
Re: cmpro 4.08 released
« Reply #7 on: 29 September 2012, 16:15 »

After reading this,
I used 7-Zip 9.20 (stable)
changed a few internal file names manually on a 7z set.
Then did a "New Scan"
 - exactly as yerduaz mentions - file loss and empty archives
oops


I used the other thread's example of MESS megadriv..

I opened the dat in Notepad++ and quickly deleted all occurrences of ".bin"
and then ran a "New Scan" with that..

It looked like it was working and renaming & fixing files..
But, nothing was in the folder was renamed.

In this test I used 7-Zip 9.29a..
(rename broken)

Switched back to 7-Zip 9.28a and it works fine again..
« Last Edit: 29 September 2012, 16:22 by oxyandy »
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 22.0.1229.79 Chrome 22.0.1229.79
    • View Profile
Re: cmpro 4.08 released
« Reply #8 on: 29 September 2012, 17:29 »

well, I'm aware of the general exe based rename issue...for your second example, did you clean the cache (i.e. were your datfile changes actually loaded...).
Logged

oxyandy

  • Member
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 269
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Firefox 15.0.1 Firefox 15.0.1
    • View Profile
    • .
Re: cmpro 4.08 released
« Reply #9 on: 29 September 2012, 17:50 »

Yes Roman,
Closed CMP...

Ok more info..
7-Zip 9.29a and CMP CAN rename files made with 7-Zip 9.29a

7-Zip 9.29a and CMP can NOT rename files made with earlier versions of 7z.
(it looks like a does - but files stay same)

Oh, what a head-ache for you...


7-Zip 9.29a made 7z files (through CMP) can not be extracted with t7z
(unsupported method trying to extract)

Sorry
 >:(

7-Zip 9.28a really works very well ;)

Running 2 copies of CMP on same folder - now causes a crash..
It previously reported a "Warning" - "file in use."
« Last Edit: 29 September 2012, 17:56 by oxyandy »
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 22.0.1229.79 Chrome 22.0.1229.79
    • View Profile
Re: cmpro 4.08 released
« Reply #10 on: 29 September 2012, 18:08 »

I've looked at the renaming issue...actually there is no issue :)

In case the rename operation is not supported, the file is handled as "not renamed" and moved to backup (but packed there as zip...so better check your backupfolder for zips). This is done with the scanner advanced option "move not renamed sets/roms to backup". If this option is not ticked, nothing happens and the files stay in the archive and are listed as failed renames.

I have no problems with renaming a 7.20 compressed 7z with 7.29a.

7Zip 9.29a uses lzma2 as default compression method...most likely t7z can't handle this correctly...but actually I don't care. :)


What I might think of is a general quick test at startup if the rename operation is available or not.

But again, there is no file loss, the move to backup is intended by the mentioned option, however it uses zip for the backups.
Logged

yerduaz

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 15.0.1 Firefox 15.0.1
    • View Profile
Re: cmpro 4.08 released
« Reply #11 on: 30 September 2012, 09:18 »

@Roman: thank you for fixing this issue in 4.08a

@oxyandy: thank you for mentioning the compatibility problem with of the last 7z with t7z. In my case, 7z 9.28a (x64) doesn't work either with t7z 0.9.1. I had to switch back to 7z 9.25a to have t7z recognize the compression method.
Logged

oddi

  • Member
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 193
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 15.0.1 Firefox 15.0.1
    • View Profile
Re: cmpro 4.08 released
« Reply #12 on: 30 September 2012, 16:56 »

OK guys, what combination is good for atm - CMP 4.08a+7z 9.22 or CMP 4.08a+7z 9.28a ?
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 22.0.1229.79 Chrome 22.0.1229.79
    • View Profile
Re: cmpro 4.08 released
« Reply #13 on: 30 September 2012, 17:50 »

Oddi, they were talking about t7z issues, not cmpro issues. If you need exe based rename support, you can go with 9.29a, otherwise you should stick with 9.20 (latest stable).
Logged

oxyandy

  • Member
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 269
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Firefox 15.0.1 Firefox 15.0.1
    • View Profile
    • .
Re: cmpro 4.08 released
« Reply #14 on: 30 September 2012, 18:27 »

yerduaz
My last couple of posts were 'late night posts'  ;D
Quote
switch back to 7z 9.25a
Ummm - I might need to check this too...
Thanks for pointing out...

Roman is there a string I can add to CMP with 9.28a so it doesn't use lzma2 ??
Thanks.

2.26 am just got home - zzzz
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 22.0.1229.79 Chrome 22.0.1229.79
    • View Profile
Re: cmpro 4.08 released
« Reply #15 on: 30 September 2012, 18:59 »

read the docs ;)

Parameter: {N}={MethodID}[:param1][:param2][..]
default: LZMA2
Description: Sets a method: LZMA, LZMA2, PPMd, BZip2, Deflate, Delta, BCJ, BCJ2, Copy. 
Logged

oxyandy

  • Member
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 269
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Firefox 15.0.1 Firefox 15.0.1
    • View Profile
    • .
Re: cmpro 4.08 released
« Reply #16 on: 01 October 2012, 07:44 »

Gee Roman thanks for the 'short cut'
 ::)

Anyway, yes I have now read the docs...

So, now I have fast ROM Manager 7z handling,
and the option to still use t7z.

Working very well with 7z 9.28a and CMP 4.08a
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 22.0.1229.79 Chrome 22.0.1229.79
    • View Profile
Re: cmpro 4.08 released
« Reply #17 on: 01 October 2012, 09:24 »

:-)

now if I only would have more free time to put my nose into internal 7z support and a new rebuilder....
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 22.0.1229.79 Chrome 22.0.1229.79
    • View Profile
Re: cmpro 4.08 released
« Reply #18 on: 02 October 2012, 12:55 »

actually the 29 alpha is pretty unstable and trashes memory a lot (at least the 7z frontend)...but hey...what do you expect from an alpha...
Logged

Cassiel

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 106
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 15.0.1 Firefox 15.0.1
    • View Profile
Re: cmpro 4.08 released
« Reply #19 on: 12 October 2012, 21:17 »

Rename option most appreciated Roman, nice one....   ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.331 seconds with 20 queries.