RFE: support “implode” ZIP compression

Moderator: GZDoom Developers

Gez
 
 
Posts: 17945
Joined: Fri Jul 06, 2007 3:22 pm

Re: RFE: support “implode” ZIP compression

Post by Gez »

Blzut3 wrote:I'm curious as to if the zdoom.pk3 compression program has been updated to use these formats or if they are actually worse than LZMA, bzip2, and DEFLATE in most cases?
If you change the compression method of zdoom.pk3, you make it unreadable by Slumped.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: RFE: support “implode” ZIP compression

Post by Graf Zahl »

The program that creates zdoom.pk3 already can do LZMA and BZip2 but doesn't use these for zdoom.pk3.

And I doubt that this is going to change. I suspect that at some time zdoom.pk3 will switch to 7z format because it's far more efficient with data that consists of a large number of smaller text files.

Recompressing the current zdoom.pk3 from Zip to 7z shrinks its size from 445864 to 288875.
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

Re: RFE: support “implode” ZIP compression

Post by Hirogen2 »

Graf Zahl wrote:The program that creates zdoom.pk3 already can do LZMA and BZip2 but doesn't use these for zdoom.pk3.
Actually, it does:

Code: Select all

$ unzip -lv zdoom.pk3
Archive:  zdoom.pk3
 Length   Method    Size  Ratio   Date   Time   CRC-32    Name
--------  ------  ------- -----   ----   ----   ------    ----
    3176  Unk:014    1321  58%  02-28-09 21:38  135954ff  acs/strfhelp.o
   10628  BZip2      2594  76%  12-06-08 10:22  5fbb01b8  actors/actor.txt
    1433  Defl:X      391  73%  09-14-08 06:44  3cce5f1f  actors/chex/chexammo.txt
[...]
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: RFE: support “implode” ZIP compression

Post by Graf Zahl »

Then it was changed only in the VC++ project but not the CMake version.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”