News:

Come Chat with us live! Learn how HERE!

Main Menu

PK3 Compression [Solved]

Started by Overdose, January 02, 2009, 10:43:10 PM

Overdose

When pk3 files are read and loaded do they get decompressed? If so, would using a less aggressive algorithm help increase map loading speed? In other words would using the "Fast" setting instead of the "Ultra" setting, in 7-zip, help decrease loading times?
Chocolate Milk.

Archangel

If you like having an invalid pure checksum, sure

David

Regardless of pure, its an interesting point.  Would using zero compression have a speed up?
If so, then there's a good argument for doing it, both for 1.2, and for maps.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Overdose

Quote from: Archangel on January 02, 2009, 10:52:20 PM
If you like having an invalid pure checksum, sure

Does that matter if the server is already hosting my files? :)
Chocolate Milk.

kevlarman

the pure checksum only applies to files inside the pk3, not to the pk3 itself. repackaging a pk3 with less/no compression will help loading times a little at the cost of disk space.
Quote from: Asvarox link=topic=8622.msg169333#msg169333Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Archangel


Overdose

That's fantastic! Disk space is cheap these days, I'd rather save a few seconds than a few megabytes.
Chocolate Milk.

Bissig

Quote from: YourMama on January 03, 2009, 12:13:18 AM
That's fantastic! Disk space is cheap these days, I'd rather save a few seconds than a few megabytes.

At todays processor speeds you might save zilch to one second - at most. Someone should try to measure it.

David

It could even take more time, as it has to read more off the disk, and disks are massively slower than the processor.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Overdose

Hmm, I need an SSD so I can really test it.....donations anyone?
Chocolate Milk.