Results 1 to 4 of 4

Thread: Reverse engineering NanoZip compression algorithm

  1. #1
    Member birdie's Avatar
    Join Date
    Jan 2020
    Location
    Earth
    Posts
    10
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Question Reverse engineering NanoZip compression algorithm

    NanoZip features a relatively small decompressor, nz_w32c.sfx, which I guess could be used to at least somewhat easily reverse engineer/disassemble NanoZip compression format which obviously won't be enough to write an encoder but will shed light on how it works in general.

    Is it feasible? Is it legal? Is it worthwhile? I haven't heard of any patents filed by its inventor, Sami Runsas.

    I'm asking because NanoZip still heavily beats both 7zip/WinRAR/FreeArc (Next) in compression ratios while providing relatively fast decompression unlike state-of-the-art compression algorithms which are extremely excruciatingly slow.

    If course, I won't ever do that 'cause I'm not even a programmer, let alone a low level assembler pro.

    Thoughts?

  2. #2
    Administrator Shelwien's Avatar
    Join Date
    May 2008
    Location
    Kharkov, Ukraine
    Posts
    3,982
    Thanks
    298
    Thanked 1,309 Times in 745 Posts

  3. Thanks:

    birdie (30th January 2020)

  4. #3
    Member birdie's Avatar
    Join Date
    Jan 2020
    Location
    Earth
    Posts
    10
    Thanks
    5
    Thanked 0 Times in 0 Posts
    How on Earth did we feel the same urge almost at the same time? Amazing. Not the first time it's happened to me though. Thank you for your effort! Hopefully you'll manage to decode it all and then someone will be able to figure out the compression algo.

  5. #4
    Administrator Shelwien's Avatar
    Join Date
    May 2008
    Location
    Kharkov, Ukraine
    Posts
    3,982
    Thanks
    298
    Thanked 1,309 Times in 745 Posts
    nzdec is already able to decode -cO and -cc methods (-co without LZ too) and main preprocessors.
    Unfortunately decompiling was done by another person (the same one who did rz), and he got bored of it, so further progress is unlikely.
    I'm just refactoring the -cc codec source, since CM is symmetric and its easy to add encoding when you have decoding.

Similar Threads

  1. Protecting code from reverse engineering; freeware
    By JamesWasil in forum The Off-Topic Lounge
    Replies: 5
    Last Post: 23rd May 2020, 20:16
  2. another discussion of reverse-engineering
    By Brock in forum Data Compression
    Replies: 9
    Last Post: 30th January 2020, 15:07
  3. Reverse Engineering Custom LZ Variant
    By rhysling in forum Data Compression
    Replies: 6
    Last Post: 19th July 2019, 15:56
  4. 32Bit Hash reverse engineering
    By FJ1325 in forum The Off-Topic Lounge
    Replies: 2
    Last Post: 18th January 2017, 04:18
  5. identification/reverse engineer of possible lz compression
    By patr0805 in forum Data Compression
    Replies: 4
    Last Post: 2nd March 2014, 23:45

Posting Permissions

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