Results 1 to 16 of 16

Thread: info-zip + lpaq8

  1. #1
    Member
    Join Date
    Feb 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I've added lpaq8 compression support into zip and put it here...
    http://code.google.com/p/paqzip/downloads/list

    The compression ratio is less than normal because zip can delete/add/extract one file without having to go through the entire archive so each file is compressed by itself. But it's still better than normal zip compression and it's got the cool features of zip.

    I was hoping that the project might lead to some sort of integration with a gui but I couldn't find any guis that used the latest info-zip. (There is WiZ but that uses the old info-zip)

  2. #2
    Moderator

    Join Date
    May 2008
    Location
    Tristan da Cunha
    Posts
    2,034
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Thanks niknah!

    It seems to work OK. I have tested it by compressing various files and directories (folders), and all files check out OK after decompression. I like being able to look inside the archives with WinZip, WinRAR etc.

    I like this, but it would be much better if it had wildcard support under Windows.

    The only irritating thing for me is the constant complaints from unzip about failing to set date, time, and attribs for files and directories during decompression. Please could you fix this problem with unzip and re-upload for us?

  3. #3
    Member
    Join Date
    Feb 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Wildcard should work in the linux/unix but windows doesn't support it.
    Wildcards are done by the shell normally, like bash in linux, but cmd.exe in windows doesn't support it, instead wildcards are supported by the individual commands like "dir".
    Say you do "echo *.c" in linux it shows you a bunch of files even though echo doesn't do anything with wildcards, "echo *.c" in windows will just return *.c

    Maybe if you sent me the zip that has problems with failing to set date, etc. It seems ok on mine.

    But I've put a new one there, I noticed it didn't print anything when you decompressed it normally, that's fixed now. I had only been testing it with the -t option.

  4. #4
    Moderator

    Join Date
    May 2008
    Location
    Tristan da Cunha
    Posts
    2,034
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Thanks for the reply niknah!

    Quote Originally Posted by niknah
    Wildcard should work in the linux/unix but windows doesnt support it.
    Wildcards are done by the shell normally, like bash in linux, but cmd.exe in windows doesnt support it, instead wildcards are supported by the individual commands like "dir".
    Say you do "echo *.c" in linux it shows you a bunch of files even though echo doesnt do anything with wildcards, "echo *.c" in windows will just return *.c
    Windows does support wildcards.

    <div class=""jscript""><pre>D:zzzz>dir *.exe
    Volume in drive D is BACKUP
    Volume Serial Number is 1B69-1601

    Directory of D:zzzz

    18/03/2008 11:05 15,360 hook.exe
    18/03/2008 11:05 58,880 kc.exe
    18/03/2008 19:41 790,528 unzip.exe
    16/03/2008 19:54 966,656 zip.exe
    4 File(s) 1,831,424 bytes
    0 Dir(s) 16,755,359,744 bytes free

    D:zzzz>[/code]



    Here is the output from the latest unzip.exe:

    <div class=""jscript""><pre>D:zzzz>unzip test.zip
    Archive: test.zip
    unpaqing: hook.exe
    SetFileTime failed: 87

    unpaqing: kc.exe
    SetFileTime failed: 87

    creating: paqzip_test/
    unpaqing: paqzip_test/hook.exe
    SetFileTime failed: 87

    unpaqing: paqzip_test/kc.exe
    SetFileTime failed: 87

    unpaqing: paqzip_test/kc_guide.txt
    SetFileTime failed: 87

    warning: SetFileTime() for paqzip_test/ error 87
    warning: set times/attribs failed for paqzip_test/
    failed setting attrib/times for 1 dir entries
    D:zzzz>[/code]



    Heres the zip file for you to check...

    http://rapidshare.com/files/100438051/test.zip.html

  5. #5
    Member
    Join Date
    Feb 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yeah, that's what I mean, individual programs like "dir" support it. I should say "cmd.exe doesn't support it".
    If you ran the zip.exe under msys instead of cmd.exe wildcards will work.

    Check permissions on d:zzzz
    It unzips clean on my computer, I'm unzipping onto the desktop.

  6. #6
    Moderator

    Join Date
    May 2008
    Location
    Tristan da Cunha
    Posts
    2,034
    Thanks
    0
    Thanked 4 Times in 4 Posts
    There's no problem with permissions. Info-zip works just fine. PaqZip is the *ONLY* program I have ever had such problems with.

    Take a look at this...

    Info-Zip (compress with wildcards):

    Code:
    D:Info_Zip>zip -1 test.zip *.txt 
      adding: test1.txt (deflated 39%) 
      adding: test2.txt (deflated 47%) 
      adding: test3.txt (deflated 48%) 
      adding: test4.txt (deflated 50%) 
     
    D:Info_Zip>


    Info-Zip (decompress):

    Code:
    D:Info_Zip>del *.txt 
     
    D:Info_Zip>unzip test.zip 
    Archive:  test.zip 
      inflating: test1.txt 
      inflating: test2.txt 
      inflating: test3.txt 
      inflating: test4.txt 
     
    D:Info_Zip>


    PAQZIP (compress with wildcards):

    Code:
    D:paq_zip>zip -1 test.zip *.txt 
            zip warning: name not matched: *.txt 
     
    zip error: Nothing to do! (test.zip) 
     
    D:paq_zip>


    PAQZIP (compress without wildcards):

    Code:
    D:paq_zip>zip -1 test.zip test1.txt test2.txt test3.txt test4.txt 
      adding: test1.txt (lpaq8 43%) 
      adding: test2.txt (lpaq8 54%) 
      adding: test3.txt (lpaq8 61%) 
      adding: test4.txt (lpaq8 58%) 
     
    D:paq_zip>


    PAQZIP (decompress):

    Code:
    D:paq_zip>del *.txt 
     
    D:paq_zip>unzip test.zip 
    Archive:  test.zip 
       unpaqing: test1.txt 
    SetFileTime failed: 87 
     
       unpaqing: test2.txt 
    SetFileTime failed: 87 
     
       unpaqing: test3.txt 
    SetFileTime failed: 87 
     
       unpaqing: test4.txt 
    SetFileTime failed: 87 
     
     
    D:paq_zip>

  7. #7
    Member
    Join Date
    Feb 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You're right. It's was because I'm using zip30f, I've upgraded it to zip30g now. Seemed to have gotten rid of the wildcard problem, maybe you can test the filetime problem.

    Thanks.

  8. #8
    Moderator

    Join Date
    May 2008
    Location
    Tristan da Cunha
    Posts
    2,034
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Wildcards are working now! Thanks!

    but there's still the same problem during decompression.

    Code:
    D:paq_zip>unzip test.zip 
    Archive:  test.zip 
       unpaqing: test1.txt 
    SetFileTime failed: 87 
     
       unpaqing: test2.txt 
    SetFileTime failed: 87 
     
       unpaqing: test3.txt 
    SetFileTime failed: 87 
     
       unpaqing: test4.txt 
    SetFileTime failed: 87 
     
     
    D:paq_zip>

  9. #9
    Member
    Join Date
    Feb 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I've upgraded it from unzip60c to unzip60d
    See if it works.

  10. #10
    Moderator

    Join Date
    May 2008
    Location
    Tristan da Cunha
    Posts
    2,034
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Decompression seems to be working perfectly now. Thanks!

    I will do more tests later today.

  11. #11
    Moderator

    Join Date
    May 2008
    Location
    Tristan da Cunha
    Posts
    2,034
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Quick test...

    LPAQ8 8

    A10.jpg > 823,005
    AcroRd32.exe > 1,140,763
    english.dic > 411,980
    FlashMX.pdf > 3,629,026
    FP.LOG > 357,263
    MSO97.DLL > 1,547,737
    ohs.doc > 734,846
    rafale.bmp > 721,720
    vcfiu.hlp > 489,048
    world95.txt > 427,796

    Total = 10,283,184 bytes


    PAQZIP -8

    A10.jpg > 823,256
    AcroRd32.exe > 1,270,074
    english.dic > 412,239
    FlashMX.pdf > 3,629,285
    FP.LOG > 357,512
    MSO97.DLL > 1,638,274
    ohs.doc > 735,097
    rafale.bmp > 721,977
    vcfiu.hlp > 489,303
    world95.txt > 428,055

    Total = 10,505,072 bytes

    All ten SFC test files in one archive = 10,504,874 bytes

  12. #12
    Moderator

    Join Date
    May 2008
    Location
    Tristan da Cunha
    Posts
    2,034
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Thanks niknah!

    I really like this project, but IMO it would have been better to use the latest stable versions (ZIP v2.32 + UNZIP v5.52) rather than the beta's.

    I'm interested in hosting a mirror of this on my own data compression site.

    Would it be legal to distribute this if you were to include a readme file with all due credits and licence info?

  13. #13
    Moderator

    Join Date
    May 2008
    Location
    Tristan da Cunha
    Posts
    2,034
    Thanks
    0
    Thanked 4 Times in 4 Posts
    This is version 2007-Mar-4 of the Info-ZIP license.
    The definitive version of this document should be available at
    ftp://ftp.info-zip.org/pub/infozip/license.html indefinitely and
    a copy at http://www.info-zip.org/pub/infozip/license.html.

    Code:
    Copyright (c) 1990-2007 Info-ZIP.  All rights reserved. 
     
    For the purposes of this copyright and license, "Info-ZIP" is defined as 
    the following set of individuals: 
     
       Mark Adler, John Bush, Karl Davis, Harald Denker, Jean-Michel Dubois, 
       Jean-loup Gailly, Hunter Goatley, Ed Gordon, Ian Gorman, Chris Herborth, 
       Dirk Haase, Greg Hartwig, Robert Heath, Jonathan Hudson, Paul Kienitz, 
       David Kirschbaum, Johnny Lee, Onno van der Linden, Igor Mandrichenko, 
       Steve P. Miller, Sergio Monesi, Keith Owens, George Petrov, Greg Roelofs, 
       Kai Uwe Rommel, Steve Salisbury, Dave Smith, Steven M. Schweda, 
       Christian Spieler, Cosmin Truta, Antoine Verheijen, Paul von Behren, 
       Rich Wales, Mike White. 
     
    This software is provided "as is," without warranty of any kind, express 
    or implied.  In no event shall Info-ZIP or its contributors be held liable 
    for any direct, indirect, incidental, special or consequential damages 
    arising out of the use of or inability to use this software. 
     
    Permission is granted to anyone to use this software for any purpose, 
    including commercial applications, and to alter it and redistribute it 
    freely, subject to the above disclaimer and the following restrictions: 
     
        1. Redistributions of source code (in whole or in part) must retain 
           the above copyright notice, definition, disclaimer, and this list 
           of conditions. 
     
        2. Redistributions in binary form (compiled executables and libraries) 
           must reproduce the above copyright notice, definition, disclaimer, 
           and this list of conditions in documentation and/or other materials 
           provided with the distribution.  The sole exception to this condition 
           is redistribution of a standard UnZipSFX binary (including SFXWiz) as 
           part of a self-extracting archive; that is permitted without inclusion 
           of this license, as long as the normal SFX banner has not been removed 
           from the binary or disabled. 
     
        3. Altered versions--including, but not limited to, ports to new operating 
           systems, existing ports with new graphical interfaces, versions with 
           modified or added functionality, and dynamic, shared, or static library 
           versions not from Info-ZIP--must be plainly marked as such and must not 
           be misrepresented as being the original source or, if binaries, 
           compiled from the original source.  Such altered versions also must not 
           be misrepresented as being Info-ZIP releases--including, but not 
           limited to, labeling of the altered versions with the names "Info-ZIP" 
           (or any variation thereof, including, but not limited to, different 
           capitalizations), "Pocket UnZip," "WiZ" or "MacZip" without the 
           explicit permission of Info-ZIP.  Such altered versions are further 
           prohibited from misrepresentative use of the Zip-Bugs or Info-ZIP 
           e-mail addresses or the Info-ZIP URL(s), such as to imply Info-ZIP 
           will provide support for the altered versions. 
     
        4. Info-ZIP retains the right to use the names "Info-ZIP," "Zip," "UnZip," 
           "UnZipSFX," "WiZ," "Pocket UnZip," "Pocket Zip," and "MacZip" for its 
           own source and binary releases.


    The licence appears to allow the distribution of modified versions, but I think it would be a good idea to rename the binaries to something like paqzip/expaqzip and change the title from 'Zip x.xx' to 'PaqZip x.xx' to avoid confusion.

  14. #14
    Member
    Join Date
    Feb 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have made an update.
    I managed to get the wiz gui working but unfortunately the gui only supports compression. This is because the way info-zip is split up into unzip + zip dlls. It's tricky to split up paq and all sorts of link errors come up if paq is included twice.

    I thought since paq is always changing/improving I'd use the latest development info-zip too since the old info-zip is only taking bug fixes.

  15. #15
    Moderator

    Join Date
    May 2008
    Location
    Tristan da Cunha
    Posts
    2,034
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Thanks for the update niknah!


    Have you ever tried ZipControl?

    It seems to work OK with paqzip.

  16. #16
    Member
    Join Date
    Feb 2008
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks, didn't know about zipcontrol.

Similar Threads

  1. Unzip 6.0 (Info-Zip)
    By Rugxulo in forum Data Compression
    Replies: 1
    Last Post: 19th May 2009, 04:09
  2. http://www.uclc.info/
    By Black_Fox1 in forum Forum Archive
    Replies: 10
    Last Post: 9th January 2008, 00:07
  3. QuickLZ ZIP - new zip/deflate library
    By Lasse Reinhold in forum Forum Archive
    Replies: 23
    Last Post: 1st October 2007, 23:08
  4. Datacompression.info is back
    By Vacon in forum Forum Archive
    Replies: 4
    Last Post: 20th August 2007, 16:14

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •