Tremulous Forum

General => General Discussion => Topic started by: Vector_Matt on January 02, 2007, 04:24:38 pm

Title: What are the compression methods the devs use?
Post by: Vector_Matt on January 02, 2007, 04:24:38 pm
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.
Title: What are the compression methods the devs use?
Post by: vcxzet on January 02, 2007, 04:31:03 pm
there are compresion levels for zip
use maximum
Title: What are the compression methods the devs use?
Post by: Vector_Matt on January 02, 2007, 05:20:24 pm
Quote from: "vcxzet"
there 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?
Title: What are the compression methods the devs use?
Post by: Stof on January 02, 2007, 05:24:18 pm
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.
Title: What are the compression methods the devs use?
Post by: vcxzet on January 02, 2007, 05:26:57 pm
file size is not important checksum is calculated from the files inside the pk3 not directly from pk3's itself
Title: What are the compression methods the devs use?
Post by: chompers on January 02, 2007, 05:40:51 pm
pakscape is quite nice for pk3 editing
Title: What are the compression methods the devs use?
Post by: Vector_Matt on January 02, 2007, 06:21:14 pm
Quote from: "vcxzet"
checksum 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)
Title: What are the compression methods the devs use?
Post by: Odin on January 02, 2007, 06:27:43 pm
The devs should add tarball support(.tar.gz's renamed to .pk3, though).
Title: What are the compression methods the devs use?
Post by: vcxzet on January 02, 2007, 06:30:56 pm
tar.gz is a solid format you cant get individual files without decompressing all the files