Why is Total Commander still unable to compress in 7-Zip without a plugin after all these years?

English support forum

Moderators: white, Hacker, petermad, Stefan2

PiotrMPPL
Junior Member
Junior Member
Posts: 43
Joined: 2018-10-26, 07:04 UTC

Why is Total Commander still unable to compress in 7-Zip without a plugin after all these years?

Post by *PiotrMPPL »

Hi

Why is Total Commander still unable to compress in 7-Zip without a plugin after all these years?
User avatar
Stefan2
Power Member
Power Member
Posts: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Why is Total Commander still unable to compress in 7-Zip without a plugin after all these years?

Post by *Stefan2 »

PiotrMPPL wrote: 2023-05-28, 07:20 UTC Hi

Why is Total Commander still unable to compress in 7-Zip without a plugin after all these years?


How should TC be able to compress in 7-Zip without a plugin ?





 
User avatar
Wilhelm M.
Power Member
Power Member
Posts: 990
Joined: 2003-06-05, 10:45 UTC

Re: Why is Total Commander still unable to compress in 7-Zip without a plugin after all these years?

Post by *Wilhelm M. »

Stefan2 wrote: 2023-05-28, 09:41 UTC
PiotrMPPL wrote: 2023-05-28, 07:20 UTC Hi
Why is Total Commander still unable to compress in 7-Zip without a plugin after all these years?
How should TC be able to compress in 7-Zip without a plugin ?
In the same as it handles zip files without a plugin?
Grüße/Regards,
Wilhelm
User avatar
Stefan2
Power Member
Power Member
Posts: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Why is Total Commander still unable to compress in 7-Zip without a plugin after all these years?

Post by *Stefan2 »

Wilhelm M. wrote: 2023-05-28, 10:20 UTC
Stefan2 wrote: 2023-05-28, 09:41 UTC
PiotrMPPL wrote: 2023-05-28, 07:20 UTC Hi
Why is Total Commander still unable to compress in 7-Zip without a plugin after all these years?
How should TC be able to compress in 7-Zip without a plugin ?
In the same as it handles zip files without a plugin?


TC and Mr. Ghisler have no rights to include 7-zip code in the main program.
Read the EULA and license agreement.

EDIT:
sorry, I remembered it wrongly and take all back. See below for more...




 
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Why is Total Commander still unable to compress in 7-Zip without a plugin after all these years?

Post by *Dalai »

Stefan2 wrote: 2023-05-28, 21:27 UTCTC and Mr. Ghisler have no rights to include 7-zip code in the main program.
Well, TC already ships a DLL (tc7z.dll or tc7z64.dll) for extraction of 7-zip archives. So what would be the reason that it couldn't ship a DLL that also creates such archives? Many other programs use 7-zip DLLs.

Still, two independent plugins exist - both of which have their own issues* - and the 7-zip program can be used via the context menu (or even the command line), so the need to integrate 7z packing into TC is certainly decreased.

*) The 7-zip plugin uses only two threads for packing which makes it slow and not utilize modern processors.
The Total7zip plugin copies files to %TEMP% before packing when packing directly into a subdirectory within the archive: viewtopic.php?p=425122

Regards
Dalai
#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: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Why is Total Commander still unable to compress in 7-Zip without a plugin after all these years?

Post by *ghisler(Author) »

TC and Mr. Ghisler have no rights to include 7-zip code in the main program.
This isn't true. 7zip is released under LGPL license (library GPL), so it is allowed to include the library as long as any changes to the library itself are again open source.

The main reason why I don't include 7zip packing are:
1. There are a LOT of options which will overwhelm the casual user. Leaving it a plugin ensures that only experienced users will use it.
2. Keeping the ZIP format as the main format has a lot of benefits, like everyone can unpack ZIP files without third party software, and there are no exotic compression methods the user could choose as with 7ZIP.
3. There are 1000s of more important features to add, and I only have limited time to add them. There is no big gain to add internal 7ZIP support compared to using a plugin.
Author of Total Commander
https://www.ghisler.com
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Why is Total Commander still unable to compress in 7-Zip without a plugin after all these years?

Post by *Hacker »

Christian,
Keeping the ZIP format as the main format has a lot of benefits, like everyone can unpack ZIP files without third party software
Just FYI, Windows 11 is getting built-in RAR and 7-Zip support.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Why is Total Commander still unable to compress in 7-Zip without a plugin after all these years?

Post by *ghisler(Author) »

At the time of this writing, Windows 11 is still at just 23% share, Windows 10 is at 71%.
Source: Statcounter
https://gs.statcounter.com/os-version-market-share/windows/desktop/worldwide
Author of Total Commander
https://www.ghisler.com
User avatar
MaxX
Power Member
Power Member
Posts: 1024
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: Why is Total Commander still unable to compress in 7-Zip without a plugin after all these years?

Post by *MaxX »

2ghisler(Author)
What's about replacing UC2 with 7zip exe? You even can't use old 16-bit UC2 on any Win64.
Just give the exe path in config to use 7z.exe packer. There should not be difficult.

Then it may be something like this in wincmd.ini:

Code: Select all

ACE=%COMMANDER_PATH%\Ace32.exe -d4096 -m5 -s -c2 -o
ARJ=%COMMANDER_PATH%\Arj.exe -a+ -r+ -y+ -jm0 -jt+ -j$ -jh17000
LHA=%COMMANDER_PATH%\Lha32.exe
RAR="%COMMANDER_PATH%\Rar.exe" -ma4 -m5 -s -t
7z="%COMMANDER_PATH%\7z.exe" -mx9 -mqs -mfb273 -md26
That will be good enough for most purposes.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

Re: Why is Total Commander still unable to compress in 7-Zip without a plugin after all these years?

Post by *LonerD »

ghisler(Author) wrote: 2023-05-29, 07:59 UTC 1. There are a LOT of options which will overwhelm the casual user.
Modern casual users much more overwhelmed with UC2, LHA, ACE or ARJ archivers :lol:
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3278
Joined: 2003-05-06, 11:46 UTC

Re: Why is Total Commander still unable to compress in 7-Zip without a plugin after all these years?

Post by *Sir_SiLvA »

LonerD wrote: 2023-05-29, 12:38 UTC
ghisler(Author) wrote: 2023-05-29, 07:59 UTC 1. There are a LOT of options which will overwhelm the casual user.
Modern casual users much more overwhelmed with UC2, LHA, ACE or ARJ archivers :lol:
how? those packers dont even have a configuration dialog? :lol:
Hoecker sie sind raus!
User avatar
MaxX
Power Member
Power Member
Posts: 1024
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: Why is Total Commander still unable to compress in 7-Zip without a plugin after all these years?

Post by *MaxX »

2Sir_SiLvA
Do they need it? AFAIK, you can just write cmdline to use maximum compression for always. The same is for 7zip, you may use best compression with 64 or 128 MB dictionary in most cases (OK, not always, but at least 99%).
Ukrainian Total Commander Translator. Feedback and discuss.
KozakMak
Senior Member
Senior Member
Posts: 352
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: Why is Total Commander still unable to compress in 7-Zip without a plugin after all these years?

Post by *KozakMak »

imho UC2, LHA, ACE or ARJ must be as plugin
7z = by default
OS: Win10 | TC: latest x64
User avatar
Wilhelm M.
Power Member
Power Member
Posts: 990
Joined: 2003-06-05, 10:45 UTC

Re: Why is Total Commander still unable to compress in 7-Zip without a plugin after all these years?

Post by *Wilhelm M. »

Although I would very much wellcome a 7zip support without a plugin, we should respect the statement by Mr. Ghisler. He has other priorities, full stop.
Grüße/Regards,
Wilhelm
Post Reply