A ZStandard packer Plugin for the Total Commander
Moderators: Hacker, petermad, Stefan2, white
A ZStandard packer Plugin for the Total Commander
I wrote a WCX plugin for zstandard http://www.zstd.net/. The packer supports packing of one file, so apply tar before using zstd.
Feel free to download at http://franke.ms/packer/zstd.wiki and test it.
Feel free to download at http://franke.ms/packer/zstd.wiki and test it.
SFTP4TC - sftp based on PuTTY
report tickets at https://sf.net/p/sftp4tc/tickets
ZSTDWCX - zstd packer http://franke.ms/packer/zstd.wiki
report tickets at https://sf.net/p/sftp4tc/tickets
ZSTDWCX - zstd packer http://franke.ms/packer/zstd.wiki
Thanks for the plugin. However, it does not show the unpacked size yet.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
The size is displayed if the compressed file contains the info of the uncompressed size.tbeu wrote:Thanks for the plugin. However, it does not show the unpacked size yet.
Unfortunately most archives are created using a zstandard stream (many compressed chunks), and then the uncompressed size is not stored.
Bebbo
SFTP4TC - sftp based on PuTTY
report tickets at https://sf.net/p/sftp4tc/tickets
ZSTDWCX - zstd packer http://franke.ms/packer/zstd.wiki
report tickets at https://sf.net/p/sftp4tc/tickets
ZSTDWCX - zstd packer http://franke.ms/packer/zstd.wiki
-
- Junior Member
- Posts: 2
- Joined: 2017-01-30, 12:46 UTC
Thank you for this plugin and good idea of using zstd as it is probably the best compression algorithm out there in term of speed and compression ratio.
Unfortunately there is maybe bug in this version of plugin that it doesn't create readable archives in case compressed file is bigger then 2GB. In this case it also sometimes cause TC crash. That is pity.
Tested with TC 32&64 bit, 8.5 and 9.0a.
Unfortunately there is maybe bug in this version of plugin that it doesn't create readable archives in case compressed file is bigger then 2GB. In this case it also sometimes cause TC crash. That is pity.
Tested with TC 32&64 bit, 8.5 and 9.0a.
Good news: the created files are ok. The bug is in the reading part, where opening fails. It's fixed locally so I will soon publish an update.Slobodoslav wrote:Thank you for this plugin and good idea of using zstd as it is probably the best compression algorithm out there in term of speed and compression ratio.
Unfortunately there is maybe bug in this version of plugin that it doesn't create readable archives in case compressed file is bigger then 2GB. In this case it also sometimes cause TC crash. That is pity.
Tested with TC 32&64 bit, 8.5 and 9.0a.
Bebbo
SFTP4TC - sftp based on PuTTY
report tickets at https://sf.net/p/sftp4tc/tickets
ZSTDWCX - zstd packer http://franke.ms/packer/zstd.wiki
report tickets at https://sf.net/p/sftp4tc/tickets
ZSTDWCX - zstd packer http://franke.ms/packer/zstd.wiki
SFTP4TC - sftp based on PuTTY
report tickets at https://sf.net/p/sftp4tc/tickets
ZSTDWCX - zstd packer http://franke.ms/packer/zstd.wiki
report tickets at https://sf.net/p/sftp4tc/tickets
ZSTDWCX - zstd packer http://franke.ms/packer/zstd.wiki
-
- Junior Member
- Posts: 2
- Joined: 2017-01-30, 12:46 UTC
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
If you could support the StartMemPack, PackToMem and DoneMemPack functions, and return PK_CAPS_MEMPACK in GetPackerCaps, then TC could create .tar.zst files directly.
If the zst API works with callbacks, you could create a background thread for packing, and pass the data blocks received from PackToMem to that thread, where the callback would pass the data to the packer.
If the zst API works with callbacks, you could create a background thread for packing, and pass the data blocks received from PackToMem to that thread, where the callback would pass the data to the packer.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Sorry, I don't see a benefit.ghisler(Author) wrote:If you could support the StartMemPack, PackToMem and DoneMemPack functions, and return PK_CAPS_MEMPACK in GetPackerCaps, then TC could create .tar.zst files directly.
...
Bebbo
SFTP4TC - sftp based on PuTTY
report tickets at https://sf.net/p/sftp4tc/tickets
ZSTDWCX - zstd packer http://franke.ms/packer/zstd.wiki
report tickets at https://sf.net/p/sftp4tc/tickets
ZSTDWCX - zstd packer http://franke.ms/packer/zstd.wiki
Plus (according to wcx_ref2.21se.zip) there is onlybebbo wrote:Sorry, I don't see a benefit.ghisler(Author) wrote:If you could support the StartMemPack, PackToMem and DoneMemPack functions, and return PK_CAPS_MEMPACK in GetPackerCaps, then TC could create .tar.zst files directly.
...
Bebbo
Code: Select all
int __stdcall StartMemPack (int Options, char *FileName);
Code: Select all
int __stdcall StartMemPackW (int Options, wchar_t *FileName);
Bebbo[/code]
SFTP4TC - sftp based on PuTTY
report tickets at https://sf.net/p/sftp4tc/tickets
ZSTDWCX - zstd packer http://franke.ms/packer/zstd.wiki
report tickets at https://sf.net/p/sftp4tc/tickets
ZSTDWCX - zstd packer http://franke.ms/packer/zstd.wiki
A new version is available http://franke.ms/download/wcx_zstd_1_1_3_4.zip .
Bebbo
Code: Select all
VERSION 1.1.3.4 [2017-02-02]
* Added support for MemPack thus tar.zst archives can be created.
SFTP4TC - sftp based on PuTTY
report tickets at https://sf.net/p/sftp4tc/tickets
ZSTDWCX - zstd packer http://franke.ms/packer/zstd.wiki
report tickets at https://sf.net/p/sftp4tc/tickets
ZSTDWCX - zstd packer http://franke.ms/packer/zstd.wiki
-
- Junior Member
- Posts: 84
- Joined: 2010-04-19, 15:50 UTC
TC crash
I have Windows 10 Home Version 10.0.14393 64bit and Totcmd 9.0a 64bit.
i installed WCX Zstandard packer plugin 1.1.3.4 32/64bit
This plugin works fine with zst extension files but
if i try to unpack any file type that is not a packed file like plain txt file,
TC crashes with alert message:
Total commander has stopped working. a problem caused the program to stop working correctly.
It does not matter if the file has extension ot not.
no entry in TC log file.
If the file is zero size, then the crash is even without an alert message.
This error dose not occurs with other packer plugins (z.wcx, iso.wcx, gifwcx.wcx, total7zip.wcx...)
Just to clarify: sometimes file does not have extension and I want to check if it is a packed file. Sometimes file have a packed type extension but actually it is not. Sometimes I select a lot of files to unpack and it includes some files that are not packed and etc.
i installed WCX Zstandard packer plugin 1.1.3.4 32/64bit
This plugin works fine with zst extension files but
if i try to unpack any file type that is not a packed file like plain txt file,
TC crashes with alert message:
Total commander has stopped working. a problem caused the program to stop working correctly.
It does not matter if the file has extension ot not.
no entry in TC log file.
If the file is zero size, then the crash is even without an alert message.
This error dose not occurs with other packer plugins (z.wcx, iso.wcx, gifwcx.wcx, total7zip.wcx...)
Just to clarify: sometimes file does not have extension and I want to check if it is a packed file. Sometimes file have a packed type extension but actually it is not. Sometimes I select a lot of files to unpack and it includes some files that are not packed and etc.
The link gives anbebbo wrote:A new version is available http://franke.ms/download/wcx_zstd_1_1_3_4.zip .
BebboCode: Select all
VERSION 1.1.3.4 [2017-02-02] * Added support for MemPack thus tar.zst archives can be created.
Not Found
404
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
There is a dot at the end of the link. It should be removed ...
http://franke.ms/download/wcx_zstd_1_1_3_4.zip
http://franke.ms/download/wcx_zstd_1_1_3_4.zip
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
#259941, TC 11.01 x64, Windows 7 SP1 x64