Page 13 of 13

Re: 7zip native support

Posted: 2025-01-12, 08:39 UTC
by ghisler(Author)
I don't consider the current handling of threads a bug.

Re: 7zip native support

Posted: 2025-01-15, 17:09 UTC
by lelik007
2ghisler(Author)
Christian, I have a question out of the pure curiosity.
TC7Z.DLL/TC7Z64.DLL are build with fully supported Deflate64 method (Encoder and Decoder) so why is it there?
Just in case?
Though I've never ever met an .7z archive with Deflate64 method inside, 7z container, of course is able to contain Deflate64.

Re: 7zip native support

Posted: 2025-01-16, 08:02 UTC
by ghisler(Author)
According to the documentation (7-zip.chm for switch -m under section 7z), 7z archives can contain Deflate64 streams, although 7zip itself doesn't seem to create them:
Parameter: {N}={MethodID}[:param1][:param2][..]
Default: LZMA2
Description: Sets a method: LZMA, LZMA2, PPMd, BZip2, Deflate, Delta, BCJ, BCJ2, Copy.

Therefore I have included the listed packers and unpackers in the dll.

Here is the project I use to compile the dll (stored CPP\7zip\Bundles\Format7z_ghisler ):
64-bit: https://www.totalcommander.ch/win/tools/format7z_ghisler64.zip
32-bit: https://www.totalcommander.ch/win/tools/format7z_ghisler32.zip

Re: 7zip native support

Posted: 2025-01-16, 11:56 UTC
by lelik007
2ghisler(Author)
According to the documentation (7-zip.chm for switch -m under section 7z), 7z archives can contain Deflate64 streams, although 7zip itself doesn't seem to create them.
7-zip can create .7z archives with Deflate64: -m0=Deflate64 and TC's internal packer also creates them. These archives are not spread widely, this might be a reason why Igor's build of 7za.dll doesn't contain Deflate64. But it's nothing bad that TC7Z.DLL/TC7Z64.DLL contain this method.

Re: 7zip native support

Posted: 2025-01-17, 08:33 UTC
by ghisler(Author)
7-zip can create .7z archives with Deflate64
What I meant is that the user interface in 7zfm doesn't offer Deflate as a compression method when creating 7z files. It does work via parameters, though.

Re: 7zip native support

Posted: 2025-01-18, 13:50 UTC
by lelik007
2ghisler(Author)
As for Deflate64, I understood the idea behind it, we think about it the same way.

As for the solid block size, thank you, you fixed it in v11.51 RC1 - I created some co-called semi-solid archives (where more than 2 solid blocks) using the internal packer and did the same in 7-zip, those archives are the identical if I choose the same solid block size.

Re: 7zip native support

Posted: 2025-01-19, 08:46 UTC
by ghisler(Author)
As for the solid block size
Great, thanks for checking!