[TC 11.50b5] External 7-Zip packing with comp. rate 0 does not pack correctly

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

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

[TC 11.50b5] External 7-Zip packing with comp. rate 0 does not pack correctly

Post by *petermad »

As also written here: https://ghisler.ch/board/viewtopic.php?p=463511#p463511

Packing with compression rate 0 makes identical archives if I pack with Internal packer in TC or with 7zFM.exe - BUT I get very different size if I pack from TC with external packer (7zG.exe) - the files are not stored, but compressed

I consider this to be a bug.
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: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.50b5] External 7-Zip packing with comp. rate 0 does not pack correctly

Post by *ghisler(Author) »

Thanks, looks like 7zg.exe gets confused because I set both -mx=0 (zero compression) and -m0=LZMA (default method). I will leave out the parameter -m0 when the compression rate is 0.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.50b5] External 7-Zip packing with comp. rate 0 does not pack correctly

Post by *petermad »

Maybe you should set -m0=Copy when using -mx=0
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: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.50b5] External 7-Zip packing with comp. rate 0 does not pack correctly

Post by *ghisler(Author) »

Just -mx=0 seems to work fine.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.50b5] External 7-Zip packing with comp. rate 0 does not pack correctly

Post by *petermad »

Confirmed fixed in TC 11.50b6 :-)

Moderator message from: petermad » 2024-11-13, 19:14 UTC

Moved to "TC fixed bugs" from "TC11.x bug reports (English)"
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
Post Reply