p7zip icon indicating copy to clipboard operation
p7zip copied to clipboard

Zstandard is also part of zip format since 2020

Open stefano2734 opened this issue 2 years ago • 5 comments

See https://en.wikipedia.org/wiki/ZIP_(file_format) with Pkzip format 6.3.8 available at 93 since 2020.

so my question here: is this supported in p7zip? Or an older state of zip without zstandard?

stefano2734 avatar Jun 30 '22 21:06 stefano2734

This issue is a duplicate of #25.

master branch supports Zstd in ZIP (0ecdf74), but the other two branches do not support it yet.

You can also try https://github.com/cielavenir/p7zip , which is based on 7-Zip 22.00. cielavenir's fork supports Zstd in ZIP format and also other additional codecs in 7z format.

antermin avatar Jul 02 '22 12:07 antermin

you can use https://github.com/jinfeihan57/p7zip/releases/tag/v17.04 or https://github.com/cielavenir/p7zip/releases/tag/22.00.1 out of box

if you still want classic p7zip, extract cielavenir/p7zip/releases/tag/22.00.1 and copy Codecs directory to the same directory as 7z.so (note that this method only supports decompression)

cielavenir avatar Jul 07 '22 07:07 cielavenir

I my opinion of a little user, it should be possible in the two ways zip-93-Mode and zstd. So the user has no problems with actual zip with zstd codec in zip-container. And the user should can use normal zstd way. That was my deeper intention. That is than here a duplicate in code, but the world is not perfect.

Administrators can reduce with change to zstd inside the size of zip-files and more performance for user a lot without changing name of file. There is a great adavantage here on old zip area with zip93 possibility It need only actual zip standard.

Thanks for your great work.

stefano2734 avatar Jul 10 '22 08:07 stefano2734

Try this branch.

jinfeihan57 avatar Aug 01 '22 10:08 jinfeihan57

Great news, everyone! Igor Pavlov is working on Zstd support (for both 7z and zip formats, and probably for others like RPM too)!

antermin avatar Aug 08 '22 13:08 antermin