7-Zip 9.25 alpha

2011-09-16
2013-07-17
1 2 3 4 > >> (Page 1 of 4)
  • Igor Pavlov
    Igor Pavlov
    2011-09-16

    7-Zip 9.25 alpha was released.

    7-Zip for 32-bit Windows:

    http://dl.7-zip.org/7z925.exe
    or
    http://dl.7-zip.org/7z925.msi

    7-Zip for 64-bit Windows x64:

    http://dl.7-zip.org/7z925-x64.msi

    What's new after 7-Zip 9.23 beta:

    - LZMA decompression speed was improved.
    - "compress and send to email" code was improved to support more email clients.
    - New command "h" to calculate hash values CRC-32, CRC-64, SHA-256 or SHA-1 for files on disk.
    - New -spf switch to store full file paths including drive letter to archive.
      If you use that switch with extract command, please check that file names in archive are correct.
    - Some bugs were fixed.

    NOTE: New -spf switch feature is for testing only!
    That code is still under development. Please write about any bugs there.
    It stores full file paths to archive only if you specify these full paths in command.

     
  • NoAngel
    NoAngel
    2011-09-16

    thank you ,Igor!
    glad it became even faster.
    following is my benchmark result.
    APU: AMD Llano A8-3850 @3.85GHz
    RAM: DDR3 8GB @ 2128(1064MHz) 9-9-9-24-CR2
    Motherboard: ECS A75F-M2 rev.1.0
    OS: Win7 x64 SP1

    7-Zip [64] 9.25 alpha  Copyright (c) 1999-2011 Igor Pavlov  2011-09-16
    PreLoad Time:     78    78    62    78    63    62    63    46
    RAM size:   7147 MB,  # CPU hardware threads:   4
    RAM usage:   850 MB,  # Benchmark threads:      4
    Method                Compressing          |        Decompressing
                    Speed Usage    R/U Rating  |     Speed Usage    R/U Rating
                     KB/s     %   MIPS   MIPS  |      KB/s     %   MIPS   MIPS
    LZMA:x1         48834   360   4954  17852  |    181462   394   3704  14612
    LZMA:x5:mt1     12540   391   4006  15666  |    175660   395   3740  14766
    LZMA:x5:mt2     12847   365   4395  16050  |    176885   397   3743  14869
    Deflate:x1     149369   395   4800  18966  |    496234   400   4199  16782
    Deflate:x5      47199   388   4688  18172  |    495153   392   4253  16672
    Deflate:x7      15559   380   4536  17239  |    504749   398   4272  16988
    Deflate64:x5    44461   393   4893  19212  |    502063   398   4286  17058
    BZip2:x1        27455   397   4174  16587  |    151236   397   4074  16185
    BZip2:x5        19095   380   4193  15936  |     81736   393   4040  15880
    BZip2:x5:mt2    19095   383   4163  15936  |     80788   391   4016  15696
    BZip2:x7         6279   398   4083  16267  |     82705   399   4022  16060
    PPMD:x1         17214   391   4559  17804  |     15003   396   4460  17668
    PPMD:x5         10122   389   4408  17155  |      9192   398   4327  17226
    Delta:4       2446897   398   3774  15033  |   1561900   396   2423   9596
    BCJ           4169272   389   4387  17077  |   4200588   396   4348  17205
    AES256CBC:1    671331   389   4239  16498  |    678828   389   4284  16682
    AES256CBC:2
    CRC32:4       6556238   380   3847  14633
    CRC32:8      13152805   395   4517  17835
    CRC64         7098462   372   3908  14537
    SHA256         274553   379   3445  13068
    SHA1           754705   338   4665  15788
    --------------------------------------------------------------------------
    Avr:                    383   4316  16539                390   4027  15705
    Tot:                    387   4172  16122
    
     

  • Anonymous
    2011-09-16

    Значок не отображается в "Установке/Удалении программ".
    http://min.us/mBCfkmNAI
    Windows 7 x64

     
  • john lee
    john lee
    2011-09-16

    Does the new -spf switch mean that 7-zip will store duplicate files files eg that are in several directories? This would be a very valuable addition.

    John

     
  • Igor Pavlov
    Igor Pavlov
    2011-09-17

    Yes, if paths in archive are different, then there is no "duplicate names" problems.
    Note also that you can store same file several times with different names:
    7z a a.7z c:\file.txt  \file.txt -spf

    The code now doesn't check paths if -spf is specified. So be careful with things like  ".." in path.

     
  • gora2
    gora2
    2011-09-17

    File test.exe - 7zSFX archive with a digital signature.
    Adding a file through the FM gives an error - "Not supported"
    Adding a file through a bat file is without errors, but as result SFX is damaged.

    CD . >zero.txt
    7z t test.exe *
    7z a test.exe zero.txt
    7z t test.exe *
    
    7-Zip [64] 9.25 alpha  Copyright (c) 1999-2011 Igor Pavlov  2011-09-16
    Processing archive: test.exe
    Testing     flashplayer.xpt
    Testing     FlashUtil11b_ActiveX.exe
    Testing     FlashUtil11b_Plugin.exe
    Testing     FlashUtil11b_ActiveX.dll
    Testing     NPSWF32.dll
    Testing     Flash11b.ocx
    Everything is Ok
    Files: 6
    Size:       17982072
    Compressed: 4229128
    7-Zip [64] 9.25 alpha  Copyright (c) 1999-2011 Igor Pavlov  2011-09-16
    Scanning
    Updating archive test.exe
    Everything is Ok
    7-Zip [64] 9.25 alpha  Copyright (c) 1999-2011 Igor Pavlov  2011-09-16
    Processing archive: test.exe
    Testing     .text     CRC Failed
    Testing     .rdata     CRC Failed
    Testing     .data     CRC Failed
    Testing     .sxdata     CRC Failed
    Testing     .rsrc\string.txt     CRC Failed
    Testing     .rsrc\ICON\1.ico     CRC Failed
    Testing     .rsrc\ICON\2.ico     CRC Failed
    Testing     .rsrc\DIALOG\500     CRC Failed
    Testing     .rsrc\GROUP_ICON\1     CRC Failed
    Testing     .rsrc\VERSION\1     CRC Failed
    Testing     CERTIFICATE     Data Error
    Testing     [0]     CRC Failed
    Sub items Errors: 12
    
     
  • Igor Pavlov
    Igor Pavlov
    2011-09-17

    What exact commands did you use?

    That case is complex.
    Probably you have EXE with SFX and with some tail (CERTIFICATE).
    Some commands see EXE as PE and then unpack (7z archive) from ).
    Some commands can work with .7z without thinking about PE format things.
    7-Zip checks CRC of exe file only if you test or unpack all files from EXE.

    1) 7-Zip can't update EXE (PE) format files. So CRC of exe will be broken after 7z update. Note that most exe (PE) files doesn't use CRC check.
    2) And 7-Zip will not write CERTIFICATE (tail after 7z archive) to 7z.

     
  • Matheus Macabu
    Matheus Macabu
    2011-09-17

    Thanks once more Igor, wonderful job!
    But, may you give me an information? Where can I find the new translation format files?
    Best regards

     
  • gora2
    gora2
    2011-09-17

    What exact commands did you use?

    @Echo Off
    Del archive.* 2>Nul
    7z a archive .\x86\*
    Copy /b 7zS.sfx + config.txt + archive.7z archive.exe
    signtool.exe sign /s Root /n "gora sah" /t http://timestamp.verisign.com/scripts/timestamp.dll archive.exe>Nul
    If Not %ErrorLevel%==0 Echo Error Add sertificat, press any key&Pause>Nul&Exit
    Copy archive.exe test.exe
    CD . >zero.txt
    7z t test.exe *
    7z u test.exe zero.txt
    7z t test.exe *
    Pause
    
     
  • Igor Pavlov
    Igor Pavlov
    2011-09-17

    I don't know why it doesn't open .
    Try the command
    7z t test.exe -t7z

     
  • gora2
    gora2
    2011-09-17

    Thank you, this command works fine.
    But a file test.exe is not normal anyway. FM does not display its contents correctly.
    Maybe 7z.exe should generate an error when trying to update .exe file with a digital signature as well as FM?

     
  • Igor Pavlov
    Igor Pavlov
    2011-09-17

    Upload two exe files:
    1) before update.
    2) after update.

     
  • Igor Pavlov
    Igor Pavlov
    2011-09-17

    The problem that after.7z is 32 bytes larger. But PE headers say that end of .exe file must contain certificate. So PE handler does allow 7z handler to read end of file (32 bytes) as part of .7z archive.
    Now I'm not ready to change something in that code.

     

  • Anonymous
    2011-09-17

    Any chance to add SHA-1 to the Calculate checksum dialog?. I know it can be done from the command line but having it on the Calculate checksum dialog would be really handy.

     
  • dos386
    dos386
    2011-09-18

    > - LZMA decompression speed was improved

    COOL. What did you change to achieve this ?

    This http://sf.net/projects/sevenzip/forums/forum/45797/topic/4647177 controversial patch ?

    > - New command "h" to calculate hash values CRC-32, CRC-64, SHA-256 or SHA-1 for files on disk.

    COOL. Missing:

    * MD5 (I know that it's broken)
    * Hash compressed file (do not save, just hash uncompressed stream)
    * Brew multiple (for example CRC32 and SHA256) in one pass

     
  • Igor Pavlov
    Igor Pavlov
    2011-09-18

    1) Yes. Most tests show that there is gain of that unrolling for most files.
    The only exception In my tests - there was no gain for big text file (like wiki dump).
    You can make you own tests (7z t a.7z) with some timer program and report here about results

    2) Nobody uses MD5 in archives. So there is no MD5 code in 7-Zip now.
    3) there is such thing:
    7z t a.7z -scrc
    but it supports only crc32 now. Maybe I'll improve it for more algorithms.
    3) multiple hash in one pass - maybe later. 7-Zip File Manager supports it now.

     

  • Anonymous
    2011-09-19

    - New -spf switch to store full file paths including drive letter to archive.

    Igor!
    Good news!
    And what about planning to do Switch -EP1 - exclude base folder from names
    Do not store the path entered in the command line.
    ?

     
  • dos386
    dos386
    2011-09-21

    > 1) Yes. Most tests show that there is gain of that unrolling for most files.
    > The only exception In my tests - there was no gain for big text file (like wiki dump)

    There had been many controversial speedup patches in the
    7-ZIP history … most of them got reverted soon …

    > 2) Nobody uses MD5 in archives.

    I do …

    > So there is no MD5 code in 7-Zip now.

    I know … 7-ZIP needs only CRC32 and SHA256 internally.
    So SHA160 and CRC64 are equally "useless" as MD5 would be ;-)

    > but it supports only crc32 now. Maybe I'll improve it for more algorithms.
    > 3) multiple hash in one pass - maybe later

    :-)

    > You can make you own tests (7z t a.7z) with some
    > timer program and report here about results

    Done !!!

    There is maybe a 2% speedup … 1% from 4.65 to 9.20 and 1% from 9.20 to 9.25a :-)

    (IIRC file has GNUPG source + binaries)

     
  • Igor Pavlov
    Igor Pavlov
    2011-09-21

    I mean that popular archive formats (like WIM / 7z / RAR) don't use MD5.
    CRC64 is used in XZ
    SHA1 is used in rar / winzip-aes / xar and WIM.

    - There is maybe a 2% speedup

    Write about CPU type and data type.
    Try also other tests, maybe with other data and other CPU.
    And test command (7z t a.7z) will show more accurate results.

     
  • dos386
    dos386
    2011-09-21

    > I mean that popular archive formats (like WIM / 7z / RAR) don't use MD5

    OK. I miss MD5 calc feature in 7-ZIP ..
    (CRC32+MD5+SHA256 are enough for me, no need for 1'000'000'000 other ones)

    > CRC64 is used
    > SHA1 is used

    Oops, I hadn't explored this …

    > Write about CPU type and data type.

    CPU = Early Pentium 200 MHz
    DATA = (see above) binary + source code

     
  • dos386
    dos386
    2011-09-21

    PS: dest "F:" was RAMDISK (test was indeed unreliable with HD)

     
  • Igor Pavlov
    Igor Pavlov
    2011-09-21

    Maybe binary was small in that tests?
    Try tests with binary only.

     
  • Ł. M. P. P.
    Ł. M. P. P.
    2011-09-27

    Polish:
    2900
    7-Zip jest programem darmowym

    In Russian version remove all "&" from lines 3410 and 3420.

    Also you could extend selection fields used by texts from line No. 3420.
    In many languages either abbreviations are used or, in case translator
    did not check length, do not fit, like for instance in Ukrainian version.
    In Polish version it would also not fit, so word "Automatycznie" had
    to be abbreviated. Extending could make abbreviations unneeded.

    --

    Would it be possible to localize SFX GUI module? It seems that all strings used by it are contained in language files.

     
  • Igor Pavlov
    Igor Pavlov
    2011-09-27

    3410/3420 were in radio-buttons in past. So I used "&" there.
    Do you see any problems with these "&" markers now?

    I can extend 3420 field.

    SFX localization - I'll think.

     
1 2 3 4 > >> (Page 1 of 4)