Page 1 of 2
TC 11.51: Error in 7-Zip Solid Block archiver settings!!!
Posted: 2025-03-14, 10:02 UTC
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!!!!
Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!
Posted: 2025-03-15, 16:29 UTC
by siealex
Does the packer itself throw any warnings about this option?
Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!
Posted: 2025-03-17, 11:07 UTC
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.
Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!
Posted: 2025-03-17, 22:12 UTC
by PiotrMPPL
Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!
Posted: 2025-03-18, 08:18 UTC
by AntonyD
2
ghisler(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.
Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!
Posted: 2025-03-18, 10:42 UTC
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.
Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!
Posted: 2025-03-18, 10:57 UTC
by AntonyD
It is strange that the developer's answers overlap with the help from him.
Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!
Posted: 2025-03-18, 11:24 UTC
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?
Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!
Posted: 2025-03-18, 12:21 UTC
by Dalai
2AntonyD
I see no contradiction in Igor Pavlov's answers and the 7-Zip help. Do you? If so, where exactly?
Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!
Posted: 2025-03-18, 12:54 UTC
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
Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!
Posted: 2025-03-18, 13:00 UTC
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.
Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!
Posted: 2025-03-18, 13:07 UTC
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.
Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!
Posted: 2025-03-18, 13:18 UTC
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.
Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!
Posted: 2025-03-18, 15:05 UTC
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.
Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!
Posted: 2025-03-18, 21:44 UTC
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 !!!