Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-487

PKWARE DCL Implode support (ZIP compression method 10)

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Archivers, Compressors
    • Labels:

      Description

      Commons Compress doesn't yet support the implode compression algorithm implemented in the PKWARE Data Compression Library (DCL). This algorithm can be used in ZIP files (using the compression method 10, which differs from the other implode compression method 6 already supported). It's also used in some old file formats like dBASE/xBase and game files from the 90's (.mpq).

      ZIP files using this compression method can be created with recent versions of the PKWARE ZIP Compression Utility. The syntax looks like this:

      pkzipc -add -dclimplode=ascii,4096 test.zip *.txt

      The format is documented here:
      https://groups.google.com/forum/#!msg/comp.compression/M5P064or93o/W1ca1-ad6kgJ

      and here is the implementation in zlib:
      https://github.com/madler/zlib/blob/master/contrib/blast/blast.c

        Attachments

        1. dclimplode-ascii-1024.zip
          5 kB
          Emmanuel Bourg
        2. dclimplode-ascii-2048.zip
          4 kB
          Emmanuel Bourg
        3. dclimplode-ascii-4096.zip
          4 kB
          Emmanuel Bourg
        4. dclimplode-binary-1024.zip
          5 kB
          Emmanuel Bourg
        5. dclimplode-binary-2048.zip
          5 kB
          Emmanuel Bourg
        6. dclimplode-binary-4096.zip
          4 kB
          Emmanuel Bourg

          Activity

            People

            • Assignee:
              ebourg Emmanuel Bourg
              Reporter:
              ebourg Emmanuel Bourg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: