Difference between revisions of "Category:PAK Files"

From COD Engine Research
Jump to: navigation, search
(Created page with "Category:PAK Files Category:MW2 Category:MW3 There are two different types of PAK files used by the Modern Warfare series, Packfiles and Imagefiles. Packfiles sto...")
 
 
Line 1: Line 1:
[[Category:PAK Files]]
+
PAK files have been used by the Quake engine and are still used today by CoD engines, although its formats have changed. The format varies for each CoD but all are used to store audio and/or image data used by the game.
[[Category:MW2]]
+
[[Category:MW3]]
+
 
+
There are two different types of PAK files used by the Modern Warfare series, Packfiles and Imagefiles. Packfiles store audio data and Imagefiles store image data.
+
 
+
== Imagefile ==
+
Uses the same common header as all fastfiles do. After the header is nothing else but the data.
+
=== Header ===
+
{| class="wikitable"
+
|-
+
! Name !! Offset !! Description
+
|-
+
| Magic || 0x0 || "IWffu100"
+
|-
+
| Version || 0x4 || See [[:Category:FastFiles|fastfile versions]]
+
|}
+
 
+
On PS3, the compression method is the same as it is for fastfiles. Image data is concatenated as one file, split into blocks each 0x10000 bytes, then each block is compressed, and appended to the file.
+
 
+
On XBOX, each image's data is compressed, then appended to the file.
+
 
+
No image headers are stored in these files. It is currently unknown how they are loaded.
+
 
+
== Packfile ==
+
=== Header ===
+
{| class="wikitable"
+
|-
+
! Description !! Offset !! Size
+
|-
+
| Hash || 0x0 || 4
+
|-
+
| Alignment || 0x4 || PS3: 0x7FC<br/>XBOX: 0x46C
+
|}
+
 
+
After the header is the audio data. Each audio file is concatenated and aligned (by 0x800 on PS3). These sounds are known as streamed sounds. They are loaded through sound alias list assets by offsets.
+

Latest revision as of 04:35, 29 December 2013

PAK files have been used by the Quake engine and are still used today by CoD engines, although its formats have changed. The format varies for each CoD but all are used to store audio and/or image data used by the game.

Pages in category "PAK Files"

The following 3 pages are in this category, out of 3 total.