A ZStandard packer Plugin for the Total Commander

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

janika
New Member
New Member
Posts: 1
Joined: 2019-03-05, 12:18 UTC

Re: A ZStandard packer Plugin for the Total Commander

Post by *janika »

great plugin. very useful.
but,
when a compressed zstandard file contains more than one frame, it decompresses the first frame only.
multiple frames in one file are completely normal:
https://github.com/facebook/zstd/blob/dev/doc/zstd_compression_format.md#frames
e.g concatenating two or more zst files.
"The decompressed content of multiple concatenated frames is the concatenation of each frame decompressed content."
can you solve that?
c72578
Junior Member
Junior Member
Posts: 3
Joined: 2005-10-23, 14:15 UTC

Re: A ZStandard packer Plugin for the Total Commander

Post by *c72578 »

Thanks a lot for this plugin. It is very useful concerning decompression of zstd packed files.

I am using wcx_zstd_1_1_3_5.zip from here: https://franke.ms/Downloads.wiki
Could you please add the defaultextension zstd to pluginst.inf, in addition to zst:

Code: Select all

[plugininstall]
description=Zstandard packer plugin for TotalCommander V1.1.3.6
type=wcx
file=zstd.wcx
file=zstd.wcx64
file=README
file=pluginst.inf
defaultdir=zstd
defaultextension=zst,zstd
version=1.1.3.6
Thanks
zdenkod
Junior Member
Junior Member
Posts: 4
Joined: 2009-10-07, 08:51 UTC

Re: A ZStandard packer Plugin for the Total Commander

Post by *zdenkod »

Hi Bebbo!

Linux ZSTD packer used in http://www.fsarchiver.org/compression uses compression level 1-22. I believe 22 would be better in compression ratio than rar. Could you implement that?
Tested today with 19 and its marginally better then XZ and 7Z on a large PDF.

Regards.
hi5
Power Member
Power Member
Posts: 551
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: A ZStandard packer Plugin for the Total Commander

Post by *hi5 »

I'd only installed the plugin as an experiment a while ago and forgot about it, but running a batch file I use from time to time it seems to crash TC11beta when you call it to open a tab focusing on a path, file:

Code: Select all

c:\totalcmd\TOTALCMD.EXE /O /T /S /R="c:\downloads\test.md"
TC Crashes:
---------------------------
Error
---------------------------
Error in packer plugin "zst" calling CanYouHandleThisFileW for
"c:\downloads\test.md\" !
Please report this error to the plugin author!

The reported error is:
Access violation at address 72BF150B. Read of address 003A1048
---------------------------
OK
---------------------------
I've removed the plugin and that (obviously) solved the problem.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: A ZStandard packer Plugin for the Total Commander

Post by *ghisler(Author) »

The plugin seems to dislike the trailing backslash, which is probably appended because you pass "c:\downloads\test.md" as a directory. I will change it.
Author of Total Commander
https://www.ghisler.com
hi5
Power Member
Power Member
Posts: 551
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: A ZStandard packer Plugin for the Total Commander

Post by *hi5 »

For the historians :D
11.07.23 Fixed: Passing an archive name to Total Commander via command line would call CanYouHandleThisFile with a trailing backslash (32/64)
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Post Reply