• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

zip 300 and bzip2 1.0.5

Started by MikeG, 2009.02.23, 01:06:43

Previous topic - Next topic

MikeG

I have just been playing around and threw together zip 3.00 and bzip2 1.05.  They can be downloaded here http://www.mgreene.org/wikka/HomePage if you are up to giving them a try.

MikeG

Zip 3 and Unzip 6.0f: http://www.mgreene.org/pub/ziptest.zip

Contains bzip compression and seems to support large files without much trouble.  ;D

3-07-09  9:52a   4,361,643 K      0 a---  bigtest.zip

Compiled with Open Watcom C 1.8 for eComstation (32-bit) on Mar  7 2009.

Zip special compilation options:
        ASM_CRC
        ASMV
        USE_EF_UT_TIME       (store Universal Time)
        BZIP2_SUPPORT        (bzip2 library version 1.0.5, 10-Dec-2007)
            bzip2 code and library copyright (c) Julian R Seward
            (See the bzip2 license for terms of use)
        LARGE_FILE_SUPPORT   (can read and write large files on file system)
        ZIP64_SUPPORT        (use Zip64 to store large files in archives)
        [encryption, version 2.91 of 05 Jan 2007] (modified for Zip 3)

UnZip special compilation options:
        ASM_CRC
        COPYRIGHT_CLEAN (PKZIP 0.9x unreducing method not supported)
        OS2_EAS
        TIMESTAMP
        UNIXBACKUP
        USE_EF_UT_TIME
        USE_UNSHRINK (PKZIP/Zip 1.x unshrinking method supported)
        USE_DEFLATE64 (PKZIP 4.x Deflate64(tm) supported)
        LARGE_FILE_SUPPORT (large files over 2 GiB supported)
        ZIP64_SUPPORT (archives using Zip64 for large files supported)
        USE_BZIP2 (PKZIP 4.6+, using bzip2 lib version 1.0.5, 10-Dec-2007)
        VMS_TEXT_CONV
        [decryption, version 2.11 of 05 Jan 2007]


DavidG

Hi Mike

I noticed the unzip options are not the same as with the older versions of unzip.  FM/2 cannot open or extract a zip based on the normal unzip options.  Mike, do you know what has changed?

MikeG

I'm not really sure.   I have an older version of FM/2 installed and receive and error, but it seems like this is a DosQueryAppType failure because it is looking for unzip32.exe.  I rename my zip to this file name and get another error but the archive opens.

Maybe modify the archiver.bb2 file? I do not no enough about FM/2.

Mike



MikeG

David,

Try to open the archive, when the window comes up press help, and then follow the instructions in the manual.  It has something to do with the start and end dashed lines.  I finally got it to work.

Seems once setup it even loads the archives made with the -ZBZIP option (bzip2):

3-07-09  13:52         220,277           0  test.zip
3-07-09  15:06         203,696           0  test1.zip

test.zip is zip -9 and test1.zip is zip -9 -ZBZIP

Mike

MikeG

Ok, this has been tested by someone else who backed up an entire partition.  One correction was made, an old define for old versions of Watcom caused a very rare problem.  So, I think the updated archive contains a 100% working zip/unzip. Zip 3 and Unzip 6.0f: http://www.mgreene.org/pub/ziptest.zip

Note: also includes a bzip2 that should handle large files - not tested very well.

Here is a readable list of options compiled in to all exe: http://www.mgreene.org/wikka/ZipInfo

If you try this - give me a sign of life :)

DavidG

Quote from: MikeG on 2009.03.07, 22:10:57
David,

Try to open the archive, when the window comes up press help, and then follow the instructions in the manual.  It has something to do with the start and end dashed lines.  I finally got it to work.

Seems once setup it even loads the archives made with the -ZBZIP option (bzip2):

3-07-09  13:52         220,277           0  test.zip
3-07-09  15:06         203,696           0  test1.zip

test.zip is zip -9 and test1.zip is zip -9 -ZBZIP

Mike


Mike

Can you attach your archiver.bb2 so I can try your start and end dash lines that you modified?

DougB

QuoteIf you try this - give me a sign of life
:D

I gave ZIP/UNZIP a quick try (as if ZIPing, and UNZIPing many gigs of data can be quick). Seems to work.

Thanks...

MikeG


DougB

I am still testing with ZIP/UNZIP. So far, no problems. I have replaced the default ZIP/UNZIP, as installed by eCS 2.0 RC6a, and it works with the Folder-> Pack Tree thing, as well as with the Archive Viewer application. I have not tested all of the options (I don't even understand what most of them are used for), but the basic operation seems to be flawless...

Thanks...

MikeG

Doug,

Don't feel bad, until I ported zip 2.32 a couple years ago I did not know how many options were available. 

Mike