Quake Pak Files Download
From Quake Wiki
.pak is Quake's container file format. It is an exceedingly simple uncompressed archive format which preserves file paths and that's about it. See Quake_tools#PAK_Editors for a list of tools to work with .pak files.
Format specification[edit]
All numerical values are in little-endian (Intel) format.
Header (12 bytes):
Name | Type | Info |
---|---|---|
id | 4 byte string | Should be 'PACK' (not null-terminated). |
offset | Integer (4 bytes) | Index to the beginning of the file table. |
size | Integer (4 bytes) | Size of the file table. |
Anybody know where I can download just the PAK files from shareware Quake?:confused.
- Anybody know where I can download just the PAK files from shareware Quake?:confused.
- Creating a Pak File Creating a.pak file is simple. Just download and execute my Setup Batch File which sets up Quake for running add-ons easily. After creating all the files you want to use for Quake, put them in the proper directory and then use AdQuedit, and get the Manuel, select the root directory and go to FileCreate Pack. That was easy.
- Please watch entire video and read comments before posting question.Link to download Quake 1 Files: to down.
You can determine the number of files stored in the .pak file by dividing the 'size' value in the header by 64 (the size of the file entry struct).
File entry (64 bytes):
Name | Type | Info |
---|---|---|
name | 56 byte null-terminated string | Includes path. Example: 'maps/e1m1.bsp'. |
offset | Integer (4 bytes) | The offset (from the beginning of the pak file) to the beginning of this file's contents. |
size | Integer (4 byte) | The size of this file. |
The pak files packaged with Quake store the file table after all the actual contents, but it shouldn't matter which comes first.
Games which use the .pak format[edit]
Most games based on the Quake engine retain the use of the .pak file format.
Some other completely unrelated games also use the .pak format, due to its simplicity.
Quake 1 Pak Files Download
- Another World (15th anniversary re-release)
Sample code[edit]
Here is some public-domain C code to open a .pak file, and return the contents of a certain file inside it. (The LittleLong function, not defined here, should byteswap the variable contents only if the code is compiled on a big-endian machine.)