TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Moderators: Hacker, petermad, Stefan2, white

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

TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Post by *PiotrMPPL »

Hi


TC 11.51 has a bug in the 7-Zip archiver settings in the "Solid Block size: Unlimited" option

Unlimite size of Solid Block in 7-Zip is -ms=16777215t and never is -ms=on !!!


The value -ms=16777215t is from the author 7-Zip Igor Pavlov!!!

Post: https://sourceforge.net/p/sevenzip/discussion/45797/thread/feb72a3e/#2ac3

Please correct the error!!!!
siealex
Senior Member
Senior Member
Posts: 304
Joined: 2009-03-22, 16:36 UTC

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Post by *siealex »

Does the packer itself throw any warnings about this option?
We are not so S.M.A.R.T. as we imagine...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Post by *ghisler(Author) »

Why does it matter? setting -ms=on automatically sets it to the maximum. -ms=16777215t just sets a ridiculously large number so the archive is never split into smaller blocks.
Author of Total Commander
https://www.ghisler.com
User avatar
AntonyD
Power Member
Power Member
Posts: 1554
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Post by *AntonyD »

2ghisler(Author)
setting -ms=on automatically sets it to the maximum
There are no letter phrases in the rules for using this key that enable or disable this parameter.
There are only numeric constants with suffixes. The word "on" is not a recognizable element of this key.
So indeed - if you want to set unlimited size - so pls. use only ONE predefined constant: 16777215t.
#146217 personal license
User avatar
Dalai
Power Member
Power Member
Posts: 9941
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Post by *Dalai »

AntonyD wrote: 2025-03-18, 08:18 UTCThere are only numeric constants with suffixes. The word "on" is not a recognizable element of this key.
It IS valid, and it's even the default. Excerpt from 7-zip's help file:

Code: Select all

s=[off | on | [e] [{N}f] [{N}b | {N}k | {N}m | {N}g | {N}t]] 
Enables or disables solid mode. The default mode is s=on.
#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
AntonyD
Power Member
Power Member
Posts: 1554
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Post by *AntonyD »

It is strange that the developer's answers overlap with the help from him.
#146217 personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Post by *ghisler(Author) »

In my tests, setting the solid block size to unlimited gives me the same results as when I set it to a value larger than the total file size being packed.
So "-ms on" seems to work just fine with external 7zg.exe?
Author of Total Commander
https://www.ghisler.com
User avatar
Dalai
Power Member
Power Member
Posts: 9941
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Post by *Dalai »

2AntonyD
I see no contradiction in Igor Pavlov's answers and the 7-Zip help. Do you? If so, where exactly?
#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
AntonyD
Power Member
Power Member
Posts: 1554
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Post by *AntonyD »

If you follow the link https://sourceforge.net/p/sevenzip/discussion/45797/thread/6eeadd698d/,
you can clearly see that the question was asked using ALL options. Including the phrase -ms=on
BUT Igor's further answer is ONLY about the numerical format.
I very much doubt that the author "accidentally forgot" to mention that in addition to numerical
formats there are also letter phrases...
And even for himself, he sets a specific numerical value: -ms100t
#146217 personal license
User avatar
Dalai
Power Member
Power Member
Posts: 9941
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Post by *Dalai »

AntonyD wrote: 2025-03-18, 12:54 UTCBUT Igor's further answer is ONLY about the numerical format.
So? He says, one can use any big value. He doesn't rule out other arguments for this switch, including the one documented in the help. Had he written that only such big values are valid, it'd be a different story.
#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
AntonyD
Power Member
Power Member
Posts: 1554
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Post by *AntonyD »

Maybe you are used to thinking like this. But unfortunately, I have a different logic, based on the fact that
I was not the only one who understood his answer exactly as I described above.
IF the enumeration of all possible types of data input is specified, and the answer goes to ONLY one of them,
then the others are automatically considered invalid. And there is no need to describe this particular negation.
#146217 personal license
User avatar
Dalai
Power Member
Power Member
Posts: 9941
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Post by *Dalai »

2AntonyD
Sounds like you've never missed something when reading a text or forgot something when writing an answer. But it indeed sounds like we're having a different kind of logic about this.

Anyway, I always try to stick to the documentation as closely as possible as that's far more likely to be correct - unless it's written by Microsoft, but I digress. Only when there are enough indications or I even have evidence to prove the documentation wrong I deviate from it, search around the web, maybe ask the developer.
#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
Horst.Epp
Power Member
Power Member
Posts: 6950
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Post by *Horst.Epp »

Except for some forum members
I guess that most users will not even think about this option
and therefor never changing it, whatever the defaults.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
PiotrMPPL
Junior Member
Junior Member
Posts: 59
Joined: 2018-10-26, 07:04 UTC

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Post by *PiotrMPPL »

ghisler(Author) wrote: 2025-03-18, 11:24 UTC In my tests, setting the solid block size to unlimited gives me the same results as when I set it to a value larger than the total file size being packed.
So "-ms on" seems to work just fine with external 7zg.exe?
The -ms=on switch enables solid mode sizing by compression level

Code: Select all

The default solid block size for LZMA2 method:

Compression Level  Solid Block Size LZMA2 
0 - Store    0 B 
1 - Fastest  64 MB 
2   1 MB     256 MB 
3 - Fast     1 GB 
4   16 MB    4 GB 
5 - Normal   8 GB 
6   64 MB    16 GB 
7 - Maximum  16 GB 
8   256 MB   16 GB 
9 - Ultra    16 GB 

Unlimite size of Solid Block in 7-Zip is -ms=16777215t and never is -ms=on !!!
Last edited by PiotrMPPL on 2025-03-19, 08:52 UTC, edited 1 time in total.
Post Reply