Total7zip

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Dec
Member
Member
Posts: 115
Joined: 2006-11-23, 12:48 UTC

Post by *Dec »

alessio.71 wrote:Could be possible to add support for LZIP?
Total7Zip can use external plugins for 7Zip. And there is (my) 7zip plugin Lzip7z that can open and create lzip files. Just copy plugin files into Codecs and 64\Codecs subfolders and Total7Zip will be able to work with lzip.

Also you may be interested in 7zip plugins eDecoder, Asar7z and WinCryptHashers.
iana
Senior Member
Senior Member
Posts: 345
Joined: 2010-07-27, 22:00 UTC

Post by *iana »

Dec wrote:
alessio.71 wrote:Could be possible to add support for LZIP?
Total7Zip can use external plugins for 7Zip. And there is (my) 7zip plugin Lzip7z that can open and create lzip files. Just copy plugin files into Codecs and 64\Codecs subfolders and Total7Zip will be able to work with lzip.

Also you may be interested in 7zip plugins eDecoder, Asar7z and WinCryptHashers.
wow tanks a lot
maybe this has been discussed but any thoughts about zstd fork of 7-zip
https://github.com/mcmilk/7-Zip-zstd/releases

ps Dec what's the license to your codecs is the source code available?
could you fork/update the codecs from
https://github.com/mcmilk/7-Zip-zstd
not to depend on a modified 7z.dll as your codecs work great out of the box while the above need a replaced 7z.dll which is a bad idea specially as 7-zip has been updated and that project seems staled
Dec
Member
Member
Posts: 115
Joined: 2006-11-23, 12:48 UTC

Post by *Dec »

what's the license to your codecs is the source code available?
Free but with close sources.
could you fork/update the codecs from https://github.com/mcmilk/7-Zip-zstd
I am not C++ developer.
not to depend on a modified 7z.dll
zstd and other codecs are NOT depend on a modified 7z.dll. They work with original 7z.dll without any problem. And they can be used with Total7Zip also.
iana
Senior Member
Senior Member
Posts: 345
Joined: 2010-07-27, 22:00 UTC

Post by *iana »

OK tanks
my mistake I just installed your formats and put the zstd fork dll's in the formats instead of the codecs directory
but the codecs alone don't have support for zstd files the modified 7z.dll is needed for "full" support using the codecs only allows for the zstd to be used inside 7z archives

edit
I think Igor did some changes in 7-zip 18 as the zstd codecs don''t appear in the 7-zip GUI or it could just be me
Dec
Member
Member
Posts: 115
Joined: 2006-11-23, 12:48 UTC

Post by *Dec »

iana wrote:I think Igor did some changes
7Zip GUI does not provide a simple way to select any additional CODEC for 7z archive. The only variant is write 0=ZSTD in Parameters input box. But 7Zip GUI allows you to select additional FORMAT implemented in external dlls.
iana
Senior Member
Senior Member
Posts: 345
Joined: 2010-07-27, 22:00 UTC

Post by *iana »

I can't see the additional codecs but I remember testing these dll's a year ago and while I couldn't create a zstd archive I could select zstd as the compression method from the 7-zip Explorer GUI (replacing the 7z.dll allows me to see/use zstd in a 7z archive or create a zstd file)
running

Code: Select all

7z i
I do see that the dll's are loaded but no entry in 7z-FM
I'm not that good with long command line parameters
I wanted to test/compare zstd vs lzo vs lzma but I always endup using lzma
I find it strange that nobody's written a lzo plugin for TC (there was an unpacker only released years ago https://totalcmd.net/plugring/lzop.html )
Dec
Member
Member
Posts: 115
Joined: 2006-11-23, 12:48 UTC

Post by *Dec »

iana wrote:I can't see the additional codecs but I remember testing these dll's a year ago and while I couldn't create a zstd archive I could select zstd as the compression method from the 7-zip Explorer GUI (replacing the 7z.dll allows me to see/use zstd in a 7z archive or create a zstd file)
Again. Original 7Zip GUI does not provide... GUI of 7Zip ZSTD provide...
iana wrote:I do see that the dll's are loaded

Code: Select all

7-Zip 17.01 beta (x86) : Copyright (c) 1999-2017 Igor Pavlov : 2017-08-28


Libs:
 0  C:\7-Zip 32\7z.dll
 1  C:\7-Zip 32\Formats\Asar.32.dll
 2  C:\7-Zip 32\Formats\brotli-x32.dll
 3  C:\7-Zip 32\Formats\eDecoder.32.dll
 4  C:\7-Zip 32\Formats\lizard-x32.dll
 5  C:\7-Zip 32\Formats\lz4-x32.dll
 6  C:\7-Zip 32\Formats\lz5-x32.dll
 7  C:\7-Zip 32\Formats\LzhamCodec_x86.dll
 8  C:\7-Zip 32\Formats\Lzip.32.dll
 9  C:\7-Zip 32\Formats\WinCryptHashers.32.dll
10  C:\7-Zip 32\Formats\zstd-x32.dll

Formats:
 0               APM      apm           E R

<skiped>

 0 C   FMG       zip      zip z01 zipx jar xpi odt ods docx xlsx epub ipa apk appx P K 03 04  ||  P K 05 06  ||  P K 06 06  ||  P K 07 08 P K  ||  P K 0 0 P K
 1 C             Asar     asar
 3 C             uue      uue           b e g i n 20
 3 C             xxe      xxe           b e g i n 20
 3               msg      msg
 3 C             mime     b64 eml nws msg mht mhtml
 3               emlx     emlx
 3               mbox     mbox mbx mbs  F r o m 20
 3               mbx      mbx           J M F 6
 3               dbx      dbx           CF AD 12 FE C5 FD t o
 3               tbb      tbb           20 06 y 19
 3               pmm      pmm           F r o m 20
 3     F         SavePageWE htm html
 3               tnef     tnef          x 9F > "
 8 CK            lzip     lz lzip       L Z I P 01
 9 CK            MD5      md5
 9 CK            CRC32    sfv
 9 CK            BLAKE2sp blake2sp

Codecs:
 0 4ED  303011B BCJ2
 0  ED  3030103 BCJ
 0  ED  3030205 PPC
 0  ED  3030401 IA64
 0  ED  3030501 ARM
 0  ED  3030701 ARMT
 0  ED  3030805 SPARC
 0  ED    20302 Swap2
 0  ED    20304 Swap4
 0  ED    40202 BZip2
 0  ED        0 Copy
 0  ED    40109 Deflate64
 0  ED    40108 Deflate
 0  ED        3 Delta
 0  ED       21 LZMA2
 0  ED    30101 LZMA
 0  ED    30401 PPMD
 0   D    40301 Rar1
 0   D    40302 Rar2
 0   D    40303 Rar3
 0   D    40305 Rar5
 0  ED  6F10701 7zAES
 0  ED  6F00181 AES256CBC
 2  ED  4F71102 BROTLI
 4  ED  4F71106 LIZARD
 5  ED  4F71104 LZ4
 6  ED  4F71105 LZ5
 7  ED  4F71001 LZHAM
10  ED  4F71101 ZSTD

Hashers:
 0    4        1 CRC32
 0   20      201 SHA1
 0   32        A SHA256
 0    8        4 CRC64
 0   32      202 BLAKE2sp
 9   16     8003 MD5
Markar1
Junior Member
Junior Member
Posts: 3
Joined: 2018-01-31, 07:06 UTC

Post by *Markar1 »

Can Total7zip plugin (0856) create multiple volume archives, if it can then how?
Its Option for the purpose does not work.
trevor12
Junior Member
Junior Member
Posts: 65
Joined: 2012-12-06, 15:16 UTC
Location: Czech republic

OT some benchmarks

Post by *trevor12 »

I found on net some benchmarks and it is clear that mainstream archiver (rar, 7zip, zip) are not best (speed, compress ration)

http://www.maximumcompression.com/data/summary_mf2.php

http://www.squeezechart.com/

click on header on

download benchmark as OpenDocument spreadsheet download benchmark as Excel spreadsheet

I recommend especially to see speed of density and efficiency of nanozip and freearc

links
density (only library, not binary executable) - https://github.com/centaurean/density

nanozip
http://nanozip.ijat.my/
win32 version has gui, win64 version only command line

freearc
https://sourceforge.net/projects/freearc/files/FreeArc/FreeArc%200.51/

portable version has gui, console version is command line

also for me is interesting this configuration for make 7zip archive:
7z a -t7z -m0=lzma2 -mqs -mx=9 -mfb=273 -md=256m -ms=on -ms=65536g -mmt=8 Archiv.7z \DirectorytoArchive\*
Orochi
Junior Member
Junior Member
Posts: 58
Joined: 2011-10-09, 21:32 UTC

Post by *Orochi »

I do see that the dll's are loaded but no entry in 7z-FM
My problem is that I see double of every codec in the 7zip FM.
I am using latest 7zip 18.01 portable. I copied x32 and x64 codecs to the appropriate directories. 7z-x32.dll and 7z-x64.dll were copied as well the formats folders. Without them, I don't see the codecs in the 7zip FM.

PS: Don't have such problem with Dec's dlls.
iana
Senior Member
Senior Member
Posts: 345
Joined: 2010-07-27, 22:00 UTC

Post by *iana »

I came across an AppImage file that 7z-FM opens fine but TC with Total7zip does not open it :(
according to 7z-FM it's a SquashFS file

Code: Select all

Size: 162 584 297
Packed Size: 60 450 638
Folders: 164
Files: 1 018
----------------------------
Path: C:\Users\\Downloads\XnView_MP-0.89.glibc2.17-x86_64.AppImage
Type: SquashFS
Offset: 146768
Physical Size: 60 481 536
Headers Size: 32 238
File System: SquashFS 4.0
Method: ZLIB
Cluster Size: 131 072
Big-endian: -
Created: 2018-01-18 10:09:04
Characteristics: DUPLICATES_REMOVED EXPORTABLE
Code Page: UTF-8
I got the file from xnview it's an appimage of xnview-mp for Linux
https://newsgroup.xnview.com/viewtopic.php?f=82&t=37173
my question does anybody know how to add the newer formats supported by 7zip to the total7zip plugin ?
I use the latest 7z.dll with total7zip the same one as 7z-FM so it's not a dll mismatch issue

ps
a bit off topic but to avoid multiple posting
Markar1 wrote:Can Total7zip plugin (0856) create multiple volume archives, if it can then how?
Its Option for the purpose does not work.
it should but it does not it's a bug in the plugin but the author seams to have abandoned it, you don't really need it as Total Commander can create split files the so called multivolume 7z is not a real multivolume
you can create a 7z file then use TC's build in split function,
select the file then from the menu do
File-> Split Files ...
and you'll get .001 .002 ... files
trevor12 wrote:I found on net some benchmarks and it is clear that mainstream archiver (rar, 7zip, zip) are not best (speed, compress ration)

http://www.maximumcompression.com/data/summary_mf2.php

http://www.squeezechart.com/

click on header on

download benchmark as OpenDocument spreadsheet download benchmark as Excel spreadsheet

I recommend especially to see speed of density and efficiency of nanozip and freearc

links
density (only library, not binary executable) - https://github.com/centaurean/density

nanozip
http://nanozip.ijat.my/
win32 version has gui, win64 version only command line

freearc
https://sourceforge.net/projects/freearc/files/FreeArc/FreeArc%200.51/

portable version has gui, console version is command line

also for me is interesting this configuration for make 7zip archive:
7z a -t7z -m0=lzma2 -mqs -mx=9 -mfb=273 -md=256m -ms=on -ms=65536g -mmt=8 Archiv.7z \DirectorytoArchive\*
yeah well no not really there are other packers out there for instance I've found uharc to be among the best compressors out there
ftp://ftp.sac.sk/pub/sac/pack/uharc06b.zip
but it's abandoned it doesn't have a native 64bit port and it's slow as hell
freearc looks good but if I'm not mistaken it's written in Haskell amd C++ and it's a lot lot slower then 7z which is a combination of assembler C and C++ both WinRar and 7-zip outperform it in speed and 7zip can outperform it in compression
Octopuss
Junior Member
Junior Member
Posts: 53
Joined: 2011-11-30, 13:15 UTC

Post by *Octopuss »

Can anyone update the plugin with current 7zip files please?
User avatar
Gral
Power Member
Power Member
Posts: 1460
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

Everyone can :)
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

Octopuss wrote:Can anyone update the plugin with current 7zip files please?
Download the current 7z files (18.05) and overwrite the files in the plugin.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Or just write path to installed 7-Zip into plugin xml config and delete its own 7-Zip folder.
Post Reply