Page 2 of 2
Re: RFE: support “implode” ZIP compression
Posted: Sun May 17, 2009 1:41 am
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.
Re: RFE: support “implode” ZIP compression
Posted: Sun May 17, 2009 2:54 am
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.
Re: RFE: support “implode” ZIP compression
Posted: Sun May 17, 2009 5:25 am
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
[...]
Re: RFE: support “implode” ZIP compression
Posted: Sun May 17, 2009 5:35 am
by Graf Zahl
Then it was changed only in the VC++ project but not the CMake version.