7zip native support

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: 7zip native support

Post by *ghisler(Author) »

I don't consider the current handling of threads a bug.
Author of Total Commander
https://www.ghisler.com
lelik007
Member
Member
Posts: 173
Joined: 2021-04-20, 06:37 UTC

Re: 7zip native support

Post 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.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: 7zip native support

Post 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
Author of Total Commander
https://www.ghisler.com
lelik007
Member
Member
Posts: 173
Joined: 2021-04-20, 06:37 UTC

Re: 7zip native support

Post 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.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: 7zip native support

Post 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.
Author of Total Commander
https://www.ghisler.com
lelik007
Member
Member
Posts: 173
Joined: 2021-04-20, 06:37 UTC

Re: 7zip native support

Post 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.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: 7zip native support

Post by *ghisler(Author) »

As for the solid block size
Great, thanks for checking!
Author of Total Commander
https://www.ghisler.com
Post Reply