Results 1 to 30 of 30

Thread: ms cab recompression

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2017
    Berlin, Germany
    Thanked 15 Times in 5 Posts

    ms cab recompression

    Edit 2018-10-24
    Uploaded new binary:
    - Some bug fixes, should be a lot more stable now
    - "light" support for cabs that mix lxz and other compression types: the unsupported types are now simply copied instead of crashing the program.
    - readme file

    Edit 2018-06-06:
    Uploaded new binary, no new features, just compiled differently to be faster and to include most of the dependencies.


    I just finished a first experimental version of a ms cab recompressor. It only has some limited functionality but maybe it is already useful for someone. Althoug you should not trust on it being reliable or stable, though.

    I planned to do it somewhat different at first, but then I decided on using the ms cab libs to easily achieve small recompression info size for most of the files.

    - It handles files with lzx compression only.
    - It is pretty slow because it is a debug build for keeping the assertions. And it misses a lot of optimizations
    - x86-64
    - Windows only, sorry (uses windows libraries for compression).

    TODOs (unordered):
    - support for mszip
    - support for quantum compression
    - support for multi file archives
    - probably bugfixes
    - recursion
    - scanning for cab signatures in bigger files (tar for example)
    - Maybe linux support. Will probably increase recompression info file size, though.
    - Efficient handling of files compressed by third-party cab/lzx compressors
    - smaller recomp info size?
    - your suggestion here

    I am pretty unsure about the decompression output. Right now it extracts all recompressible files to a given directory so their file type can be detected easily for further (re)compression. But maybe something else would be more useful?

    Attached Files Attached Files
    Last edited by Urist McComp; 24th October 2018 at 22:33.

  2. Thanks (9):

    78372 (17th May 2018),Gonzalo (10th May 2018),hunman (10th May 2018),maadjordan (12th May 2018),nikkho (10th May 2018),schnaader (11th May 2018),Simorq (3rd June 2018),Stephan Busch (10th May 2018),xinix (11th May 2018)

Similar Threads

  1. Maximal CAB compression
    By Surfer in forum Data Compression
    Replies: 8
    Last Post: 18th February 2015, 15:20
  2. Passowrd-specific static PPM from MS
    By m^2 in forum The Off-Topic Lounge
    Replies: 0
    Last Post: 9th December 2013, 22:36
  3. MS Delta patching technology
    By Bulat Ziganshin in forum Data Compression
    Replies: 2
    Last Post: 6th February 2013, 21:41
  4. Windows 3.1 SFX Stub for CAB Files?
    By comp1 in forum Download Area
    Replies: 14
    Last Post: 10th May 2012, 16:27
  5. MS CAB archives
    By nanoflooder in forum Data Compression
    Replies: 0
    Last Post: 10th April 2010, 01:58

Posting Permissions

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