mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-09 08:07:19 -06:00
Add official Zstandard extension .zst
- update ZstdHandler.cpp to support also "zst" and "tzst" as valid extensions - update README.md to reflect these chnages Signed-off-by: Defrag257 <defrag257@qq.com> Reviewed-by: Tino Reichardt <milky-7zip@mcmilk.de>
This commit is contained in:
committed by
Tino Reichardt
parent
92d1609b8a
commit
7d5bb9ed84
@@ -368,7 +368,7 @@ STDMETHODIMP CHandler::SetProperties(const wchar_t * const *names, const PROPVAR
|
||||
static const Byte k_Signature[] = "0xFD2FB522..28";
|
||||
|
||||
REGISTER_ARC_IO(
|
||||
"zstd", "zstd tzstd", "* .tar", 0x0e,
|
||||
"zstd", "zst zstd tzst tzstd", "* * .tar .tar", 0x0e,
|
||||
k_Signature,
|
||||
0,
|
||||
NArcInfoFlags::kKeepName,
|
||||
|
||||
18
README.md
18
README.md
@@ -56,7 +56,7 @@ Formats:
|
||||
...
|
||||
0 CK xz xz txz (.tar) FD 7 z X Z 00
|
||||
0 Z z taz (.tar) 1F 9D
|
||||
0 CK zstd zst tzstd (.tar) 0 x F D 2 F B 5 2 5 . . 0 x F D 2 F B 5 2 8 00
|
||||
0 CK zstd zst zstd tzst (.tar) tzstd (.tar) 0 x F D 2 F B 5 2 5 . . 0 x F D 2 F B 5 2 8 00
|
||||
0 C F 7z 7z 7 z BC AF ' 1C
|
||||
0 F Cab cab M S C F 00 00 00 00
|
||||
...
|
||||
@@ -112,7 +112,7 @@ Hashers:
|
||||
### Usage and features of the full installation
|
||||
|
||||
- compression and decompression for [Brotli], [Lizard], [LZ4], [LZ5] and [Zstandard] within the [7-Zip] container format
|
||||
- compression and decompression of [Lizard] (`.liz`), [LZ4] (`.lz4`), [LZ5] (`.lz5`) and [Zstandard] (`.zstd`) files
|
||||
- compression and decompression of [Lizard] (`.liz`), [LZ4] (`.lz4`), [LZ5] (`.lz5`) and [Zstandard] (`.zst`) files
|
||||
- handling of ZIP files with [Zstandard] compression
|
||||
- included [lzip] decompression support, patch from: https://download.savannah.gnu.org/releases/lzip/7zip/
|
||||
- explorer context menu: _"Add to xy.7z"_ will use all parameters of the last "Add to Archive" compression dialog (this includes: method, level, dictionary, blocksize, threads and paramters input box)
|
||||
@@ -141,15 +141,15 @@ Hashers:
|
||||
7z a archiv.7z -m0=flzma2 -mx.. ...
|
||||
7z a archiv.7z -m0=flzma2 -mx9 Fast LZMA2 Ultra Mode, with BCJ preprocessor on executables
|
||||
|
||||
7z x -so test.tar.zstd | 7z l -si -ttar
|
||||
-> show contents of zstd compressed tar archiv test.tar.zstd
|
||||
7z x -so test.tar.zst | 7z l -si -ttar
|
||||
-> show contents of zstd compressed tar archive test.tar.zst
|
||||
|
||||
7z x -so test.tar.lz | 7z l -si -ttar
|
||||
-> show contents of lzip compressed tar archiv test.tar.lz
|
||||
-> show contents of lzip compressed tar archive test.tar.lz
|
||||
```
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
@@ -158,7 +158,7 @@ Hashers:
|
||||
|
||||
### Installation (via plugin)
|
||||
|
||||
1. download the `Codecs.7z` archiv from here [7-Zip ZS Releases](https://github.com/mcmilk/7-Zip-zstd/releases), this archive holds binaries, which are compatible with the Mainline version of [7-Zip]
|
||||
1. download the `Codecs.7z` archive from here [7-Zip ZS Releases](https://github.com/mcmilk/7-Zip-zstd/releases), this archive holds binaries, which are compatible with the Mainline version of [7-Zip]
|
||||
2. create a new directory named `Codecs` and put in there the zstd-x32.dll or the zstd-x64.dll, depending on your [7-Zip] installation
|
||||
- normally, the x32 should go to: "C:\Program Files (x86)\7-Zip\Codecs"
|
||||
- the x64 version should go in here: "C:\Program Files\7-Zip\Codecs"
|
||||
@@ -218,7 +218,7 @@ Codecs:
|
||||
### Usage (codec plugin)
|
||||
|
||||
- compression and decompression for [Brotli], [Fast LZMA2], [Lizard], [LZ4], [LZ5] and [Zstandard] within the 7-Zip container format
|
||||
- you can only create `.7z` files, the files like `.lz4`, `.lz5` and `.zstd` are not covered by the plugins
|
||||
- you can only create `.7z` files, the files like `.lz4`, `.lz5` and `.zst` are not covered by the plugins
|
||||
- when compressing binaries (*.exe, *.dll), you have to explicitly disable the bcj2 filter via `-m0=bcj`,
|
||||
when using only the plugin dll's
|
||||
- so the usage should look like this:
|
||||
|
||||
Reference in New Issue
Block a user