Author Topic: What are the compression methods the devs use?  (Read 2935 times)

Vector_Matt

  • Posts: 732
  • Turrets: +2/-1
What are the compression methods the devs use?
« 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.

vcxzet

  • Guest
What are the compression methods the devs use?
« Reply #1 on: January 02, 2007, 04:31:03 pm »
there are compresion levels for zip
use maximum

Vector_Matt

  • Posts: 732
  • Turrets: +2/-1
What are the compression methods the devs use?
« Reply #2 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?

Stof

  • Posts: 1343
  • Turrets: +1/-1
What are the compression methods the devs use?
« Reply #3 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.
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

  • Guest
What are the compression methods the devs use?
« Reply #4 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

chompers

  • Posts: 224
  • Turrets: +4/-0
What are the compression methods the devs use?
« Reply #5 on: January 02, 2007, 05:40:51 pm »
pakscape is quite nice for pk3 editing

Vector_Matt

  • Posts: 732
  • Turrets: +2/-1
What are the compression methods the devs use?
« Reply #6 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)

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
What are the compression methods the devs use?
« Reply #7 on: January 02, 2007, 06:27:43 pm »
The devs should add tarball support(.tar.gz's renamed to .pk3, though).

vcxzet

  • Guest
What are the compression methods the devs use?
« Reply #8 on: January 02, 2007, 06:30:56 pm »
tar.gz is a solid format you cant get individual files without decompressing all the files