The built-in PK3 files aren't optimised.

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
tomatopipps
Posts: 2
Joined: Sun Dec 21, 2014 22:36

The built-in PK3 files aren't optimised.

Post by tomatopipps »

I was looking through gzdoom.pk3, and I noticed it's compressed using only the DEFLATE method.
There is a program included in zdoom's (and therefore gzdoom's) source code called "zipdir" which automatically chooses the best compression method out of DEFLATE, BZip2, and LZMA. It was created specifically to optimise zdoom.pk3. Why not use it for the release builds?
User avatar
Gez
Developer
Developer
Posts: 1399
Joined: Mon Oct 22, 2007 16:47

Re: The built-in PK3 files aren't optimised.

Post by Gez »

Because sometimes it's useful for people to look at what there is in that file, and the optimized zip compressions are not supported by many utilities, so people complained.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: The built-in PK3 files aren't optimised.

Post by Graf Zahl »

The main reason was that the Doom editors had problems - and they need to be able to read the file. That's more important than saving a few bytes.
Locked

Return to “GZDoom”