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
5.07k stars 300 forks source link

Please make plugin for Far file manager #27

Closed me21 closed 7 years ago

me21 commented 7 years ago

There is archive manager plugin in Far which supports 7-zip format. Is it possible to add these new algorithms to that plugin?

mcmilk commented 7 years ago

You can use the 7z.dll from the Codecs.7z archive.

Copy the 7z-x64.dll or 7z-x32.dll to this folder: C:\Program Files\Far Manager\Plugins\ArcLite ... then the Far Manager should work with 7-Zip Zstandard archives ;-)

mcmilk commented 7 years ago

Hello? Does this work? I would like to close this issue ... the 7z.dll is okay, and Far should work fine.

me21 commented 7 years ago

I wasn't going to test it right now, I just wanted to know if it is possible at all. If it won't work, I (or someone else) will reopen the issue.

mcmilk commented 7 years ago

Okay, just re-open it then.

dmak commented 6 years ago

I confirm that 7z-x32.dll (renamed to 7z.dll) from Codecs.7z archive works fine in couple with 7z1701-extra.7z. I've initially taken 7z.dll from 7-Zip ZS x32 installation folder and it didn't work: the following error was shown and Far was falling back to MultiArc plugin.

╔═══════════ Error ═══════════╗
║ No such interface supported ║
╟─────────────────────────────╢
║           { Ok }            ║
╚═════════════════════════════╝

However I am a bit concerned that 7zip now selects ZSTD as default compression algorithm... perhaps LZMA2 would be a better choice for better backward compatibility.

vbolshakov commented 2 years ago

Jus use regular Far plugin and update 7z related dll from this build. Only keep 7-ZipFar64.dll

dmak commented 2 years ago

Jus use regular Far plugin and update 7z related dll from this build. Only keep 7-ZipFar64.dll

When you say "this", which version do you actually mean? Second is where have you taken 7z-x32.dll/7z.dll from and is it compatible with "this" version which you refer?

vbolshakov commented 2 years ago

I use "7-Zip Extra: standalone console version, 7z DLL, Plugin for Far Manager" from https://www.7-zip.org/download.html I preferer a portable version so copy all 7z related dll into 7z plugin folder. Content of plugin folder before adding zstd: 7-ZipEng.hlf 7-ZipEng.lng 7-ZipFar64.dll - Far plugin 7z.dll - 7z dll from "7-Zip for Windows"

Just yesterday i need to open ZSTD compressed files and found this version and now it's look like this: 7-zip.dll - from 7z21.03-zstd-x64.exe 7-ZipEng.hlf - original Far plugin file 7-ZipEng.lng - original Far plugin file 7-ZipFar64.dll - original Far plugin file 7z.dll - from 7z21.03-zstd-x64.exe 7za.dll - from 7z21.03-zstd-x64.exe 7zxa.dll - from 7z21.03-zstd-x64.exe brotli-x64.dll - from Codecs-x64.7z flzma2-x64.dll - from Codecs-x64.7z lizard-x64.dll - from Codecs-x64.7z lz4-x64.dll - from Codecs-x64.7z lz5-x64.dll - from Codecs-x64.7z zstd-x64.dll - from Codecs-x64.7z

P.S. If you need 32bit version just use 7-ZipFar.dll and appropriate 7z and zstd.

vbolshakov commented 2 years ago

Jus use regular Far plugin and update 7z related dll from this build. Only keep 7-ZipFar64.dll

When you say "this", which version do you actually mean? Second is where have you taken 7z-x32.dll/7z.dll from and is it compatible with "this" version which you refer?

"this" - this repo builds

mcmilk commented 2 years ago

Hello,

just read this part "Codec Plugin for Far Manager" of https://github.com/mcmilk/7-Zip-zstd/ ...

dmak commented 2 years ago

@vbolshakov: Thanks for verbose instructions, but they didn't work for me. When I "Enter" on 7z archive, I get this error:

╔═════ Error ═════╗
║ Not implemented ║
╟─────────────────╢
║     { Ok }      ║
╚═════════════════╝

and then not plugin, but command-line utility is used to read the archive. I am testing with Far v2.0 build 1807 x86 (probably you have v3.0?)

vbolshakov commented 2 years ago

@dmak: Yes, v3...