News:

Come Chat with us live! Learn how HERE!

Main Menu

What are the compression methods the devs use?

Started by Vector_Matt, January 02, 2007, 04:24:38 PM

Vector_Matt

I would like to know what tool and what settings the devs use to create the .pk3's. I have been doing some experimenting and am unable to end up with a .pk3 the same size as the original, even though I did not add, remove or change anything from the archive.

vcxzet

there are compresion levels for zip
use maximum

Vector_Matt

Quote from: vcxzetthere are compresion levels for zip
use maximum
I tried 7-zip, winrar, and winzip and the closest one was winrar at a size of 43,849 (good compression) kb and 43,938 (normal compression) while the original file was 43,873 kb.

Am I using the wrong programs?

Stof

Don't expect to get the exact same files since there are a few different zip compressors available.

Try the Linux command line zip utility next.

PS : probably the case. A zip created with WinRAR has a flag showing the host OS to be DOS, the .zip we got with trem show the host OS is Unix.
urphy's rules of combat
8 ) Teamwork is essential; it gives the enemy someone else to shoot at.
18 ) Make it too tough for the enemy to get in and you can't get out.

vcxzet

file size is not important checksum is calculated from the files inside the pk3 not directly from pk3's itself

chompers


Vector_Matt

Quote from: vcxzetchecksum is calculated from the files inside the pk3 not directly from pk3's itself
Ah... Does anyone know of a program to view the checksums for .pk3's then? (A windows program that is)

Odin

The devs should add tarball support(.tar.gz's renamed to .pk3, though).

vcxzet

tar.gz is a solid format you cant get individual files without decompressing all the files