TCMD 7.50pb1 - Can't select LZMA compression for ZIP
Moderators: Hacker, petermad, Stefan2, white
TCMD 7.50pb1 - Can't select LZMA compression for ZIP
TotalCMD 7.50 public beta 1 with windows NT4 sp6
Configuration -> Zip packer -> Internal ZIP compression
The up/down box only allows values form 0 to 9.
Selecting 10 (LZMA) is impossible.
Configuration -> Zip packer -> Internal ZIP compression
The up/down box only allows values form 0 to 9.
Selecting 10 (LZMA) is impossible.
Maybe this option should be set to 1 by default?
Anyway TC asks user when he tries to set 10 in zip packer config.
p.s. TC's own maximum compression (9) sometimes better than LZMA
Anyway TC asks user when he tries to set 10 in zip packer config.
p.s. TC's own maximum compression (9) sometimes better than LZMA

Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2DrShark
It's not set to 1 by default because this is not full LZMA implementation. Few things are still missing (i.e. encryption) and it was meant for testing only. I don't know why author decided not to remove that at all (despite of wondering about it few times).
It's not set to 1 by default because this is not full LZMA implementation. Few things are still missing (i.e. encryption) and it was meant for testing only. I don't know why author decided not to remove that at all (despite of wondering about it few times).
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
LZMA packing is there only for test reasons. Only the unpacker is on by default, to support ZIP archives created by newer Winzip versions. LZMA compression is better only for some file types, but it's very slow.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I overlooked this, sorry.Lefteous wrote:[Packer]
LzmaAllowed=1
I wanted to test it, because in my experience 7-ZIP's compression ratio is (almost) always better than WinRAR and only a bit slower.
I just tested it, it's indeed _very_ slow, almost unusable, compared to 7-ZIP (native or wcx plugin) even with ultra setting, which works well even on my low end PC. Strange.ghisler(Author) wrote:LZMA compression is better only for some file types, but it's very slow.
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Better ?
2gnozal8
Hello !
• I just tested now that follows (ZIP ratio "10" - LZMA) :
- Not slower, not better…
… but I persist in saying that to keep the LZMA method is useful, anyway.
KR
Claude
Clo[face=arial][/face]

• I just tested now that follows (ZIP ratio "10" - LZMA) :
- With the History.txt file of TC 7.5 ß-1 as source…HISTORY.RAR 99 130 17/04/2009 22:57 -a--
HISTORY.ZIP 127 412 16/04/2009 07:50 -a--
- Not slower, not better…
… but I persist in saying that to keep the LZMA method is useful, anyway.

Claude
Clo[face=arial][/face]
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
It's probably because of my (very) low end PC : NT4 PII-300MHz 64Mb RAM ! (memory allocation issue ? lots of disk swapping !).ghisler(Author) wrote:Strange, I'm using their official LZMA SDK dll...
Nevertheless, 7-ZIP wcx plugin or genuine 7-ZIP are _much_ faster.
Here are my results (on the same old PC) :Clo wrote:I just tested now that follows (ZIP ratio "10" - LZMA)
HISTORY_Best.rar 99 130
HISTORY_wcx.7z 127 016
HISTORY_Genuine.7z 127 405
HISTORY_Ratio10.ZIP 127 412
HISTORY_Normal.rar 134 706
HISTORY_Ratio9.ZIP 153 776
HISTORY.TXT 496 242
Other example :
TOTALCMD.7z 1 104 409
TOTALCMD.rar 1 214 171
TOTALCMD.EXE 3 447 544
I can't use the very best compression settings with 7-Zip because of the available memory.
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
LZMA isn't good for TXT files. RAR probably uses something else like PPMD. TC can currently only unpack PPMD.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com