Confusing Help for 7Zip packer configuration

English support forum

Moderators: Hacker, petermad, Stefan2, white

User avatar
petermad
Power Member
Power Member
Posts: 16001
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Confusing Help for 7Zip packer configuration

Post by *petermad »

In the help for the configuration of the "7Zip packer": hh.exe %COMMANDER_PATH%\TOTALCMD.CHM::dlg_internal7zipconfig.htm it says:
Help wrote:Use internal 7ZIP - Packer
Use the 7ZIP packer built directly into Total Commander, based on 7ZIP sources. You can replace tc7z.dll/tc7z64.dll with newer versions of 7z.dll. Make sure to use the correct version (32-bit or 64-bit).
This is confusing because tc7z.dll and tc7z64.dll in previous versions opf TC used to be for UNpacking and are still described as: 7ZIP unpacker DLL

Are tc7z.dll and tc7z64.dll in TC 11.50 now for both packing and unpacking?

If one wants to replace tc7z.dll/tc7z64.dll with 7z.dll is it then done by overwriting the two files with 7z.dll - or is 7z.dll just copied to TC's program directory, and being used instead of tc7z.dll/tc7z64.dll - and do those two files then have to be removed from TC's program folder
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
nsp
Power Member
Power Member
Posts: 1912
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Confusing Help for 7Zip packer configuration

Post by *nsp »

in TC 10.50 b1:
If you give a closer look with file info or peviewer or ... to tc7z and tc7z64.dll you will see that is is a pure 7za.dll 24.8 so i guess you can replace by a newer version once it will be released. It is used to pack and unpack.

You can also use 7z.dll which do more in 32bit, 64bit, and probably have 7z.dll and 7z64.dll for a 32+64 install of TC.

But you are right this is not very clear from the help ;)
User avatar
petermad
Power Member
Power Member
Posts: 16001
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Confusing Help for 7Zip packer configuration

Post by *petermad »

2nsp

So it is not the 7z.dll from for example https://www.7-zip.org/a/7z2408-x64.exe that can be used for replacing, but 7za.dll? - and where is that obtained from?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Dalai
Power Member
Power Member
Posts: 9945
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Confusing Help for 7Zip packer configuration

Post by *Dalai »

7za.dll is contained in 7z*-extra.7z, described as "7-Zip Extra: standalone console version, 7z DLL, Plugin for Far Manager" on the download page.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Confusing Help for 7Zip packer configuration

Post by *ghisler(Author) »

You can use the regular 7z.dll instead of the included one.
tc7z.dll is just a self-compiled version where I removed all the functions I don't need, like unpacking other formats than 7zip. tc7z.dll is now used for both packing and unpacking (previously it only included the unpacking functions).
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16001
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Confusing Help for 7Zip packer configuration

Post by *petermad »

You can use the regular 7z.dll instead of the included one.
But do I overwrite your tc7z.dll with 7z.dll or do I just place 7z.dll in TC's program folder and then TC will use that instead?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Confusing Help for 7Zip packer configuration

Post by *ghisler(Author) »

do I overwrite your tc7z.dll with 7z.dll
Yes.
Author of Total Commander
https://www.ghisler.com
User avatar
ZoSTeR
Power Member
Power Member
Posts: 1049
Joined: 2004-07-29, 11:00 UTC

Re: Confusing Help for 7Zip packer configuration

Post by *ZoSTeR »

  
I guess you mean you overwrite tc7z.dll with 7zA.dll ?
User avatar
petermad
Power Member
Power Member
Posts: 16001
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Confusing Help for 7Zip packer configuration

Post by *petermad »

I guess you mean you overwrite tc7z.dll with 7zA.dll ?

Apparently I can also use 7z.dll:
ghisler(Author) wrote:You can use the regular 7z.dll instead of the included one.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
nsp
Power Member
Power Member
Posts: 1912
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Confusing Help for 7Zip packer configuration

Post by *nsp »

On my test, i have added 7z.dll for 32bit and renamed 7z to 7z64.dll for 32+64 install and it seems to work if i remove tc7z.dll
@Ghisler(Author):
What is not very clear is about additional possibility of 7z.dll to unpack many format tc7z or 7za do not support. If you use 7z.dll, do you support with internal packer more format than with your regular tc7z ?
AkulaBig
Power Member
Power Member
Posts: 528
Joined: 2021-09-09, 17:28 UTC

Re: Confusing Help for 7Zip packer configuration

Post by *AkulaBig »

I have already tested this in practice. Copy from the archive NOT standalone 7z to the TC folder with renaming. TC itself will still only unpack 7z. But you connect the Total7zip plugin to these libraries and it will use these libraries.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Confusing Help for 7Zip packer configuration

Post by *ghisler(Author) »

There are 7zip dlls which support additional 7z formats like ZSTD an BROTLI. The internal packer offers these as options when it detects such a DLL. However, separate file container formats like ISO are not supported:
1. You can't just pass such a file to the dll, you need to tell it what format it is. Therefore some external detection logic is needed
2. I don't want to automatically associate the internal unpacker with a lot of formats like ISO when the user may want to open them externally, e.g. to mount ISO files in Windows.
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2982
Joined: 2020-01-18, 04:03 UTC

Re: Confusing Help for 7Zip packer configuration

Post by *Fla$her »

Can someone explain the unavailability of the "Use internal 7-Zip packer" checkbox on XP?
Overquoting is evil! 👎
User avatar
Gral
Power Member
Power Member
Posts: 1600
Joined: 2005-01-26, 15:12 UTC

Re: Confusing Help for 7Zip packer configuration

Post by *Gral »

Already explained - viewtopic.php?t=84267
Fla$her
Power Member
Power Member
Posts: 2982
Joined: 2020-01-18, 04:03 UTC

Re: Confusing Help for 7Zip packer configuration

Post by *Fla$her »

OK.
Overquoting is evil! 👎
Post Reply