From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:PAK (Quake)" |
|---|
| claim | "A PAK directory entry is 64 bytes: a 56-byte NUL-terminated path with forward slashes, int32 file offset and int32 file length; files are stored uncompressed." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:PAK (Quake)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "dpackfile_t" |
|---|
| size | "0x40" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 56 |
|---|
| type | "char[56]" |
|---|
| name | "name" |
|---|
| notes | "e.g. maps/start.bsp; compared case-sensitively" |
|---|
|
| offset | "0x38" |
|---|
| size | 4 |
|---|
| type | "int32_t" |
|---|
| name | "filepos" |
|---|
|
| offset | "0x3C" |
|---|
| size | 4 |
|---|
| type | "int32_t" |
|---|
| name | "filelen" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "WinQuake/common.c dpackfile_t; MAX_FILES_IN_PACK 2048 (commit bf4ac42)." |
|---|
|
| type | "runtime_test" |
|---|
| detail | "LibreQuake v0.09-beta pak0/pak1 (413 entries): the BSP, MDL, SPR, WAD2 and progs entries located this way all start with their format's magic or version." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "PAK directory entry" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T04:20:50.655Z" |
|---|
| verifications | |
|---|