mcmilk / 7-Zip-zstd

7-Zip with support for Brotli, Fast-LZMA2, Lizard, LZ4, LZ5 and Zstandard
https://mcmilk.de/projects/7-Zip-zstd/
Other
4.87k stars 293 forks source link

Add .B3K Format #306

Closed stgiga closed 1 year ago

stgiga commented 1 year ago

I'm fully willing to allow 7-Zip-zstd as well as mainline 7-Zip to support .B3K files (the compressed files created by MY program known as BWTC32Key, available at http://b3k.sourceforge.io as well as on my Github. Since the program is written in JavaScript, one can just see the code needed because the program is its own source code.) The compression is based around the BZip family. It also uses AES256-CTR and Base32768. The program is FOSS. The magic number involved is 0xFEFF4D00 for the header, 0x4D01 for the trailer, "bwtc" for the decrypted compressed data's magic number (effectively a sub-header very akin to the one in BZip1, beyond the magic but it's not the only magic. Inside THAT, is the magic number "nomo" [No Model], and then below that, depending on the compression level, there will be either a magic number of "dfsm" [Deferred-Sum] if the level is less than or equal to 5 or "fenw" [Fenwick trees, used in the Range Coder here] if its higher).

mcmilk commented 1 year ago

Sorry, I can not integrate this.

stgiga commented 1 year ago

Given that it was written in JavaScript of all things, I don't blame you.