From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:Unreal Engine pak file" |
|---|
| claim | "Pak footer in file order (little endian), read from end-of-file minus the version's size: key GUID (v7+), encrypted flag (v4+), magic, version, index offset, index size, index SHA-1, frozen flag (v9 only), compression names (v8: 4 x 32 bytes; v8B and later: 5 x 32). Sizes: v1-3 44, v4-6 45, v7 61, v8A 189, v8B 221, v9 222, v10-11 221. Compression names before v8 are implicit Zlib, Gzip, Oodle." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Unreal Engine pak file" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "FPakInfo" |
|---|
| size_min | 44 |
|---|
| size_max | 222 |
|---|
| fields | | offset | "0x00" |
|---|
| size | 16 |
|---|
| type | "FGuid" |
|---|
| name | "EncryptionKeyGuid (version >= 7)" |
|---|
|
| offset | "next" |
|---|
| size | 1 |
|---|
| type | "bool" |
|---|
| name | "bEncryptedIndex (version >= 4)" |
|---|
|
| offset | "next" |
|---|
| size | 4 |
|---|
| type | "uint32" |
|---|
| name | "Magic = 0x5A6F12E1" |
|---|
|
| offset | "next" |
|---|
| size | 4 |
|---|
| type | "uint32" |
|---|
| name | "Version" |
|---|
|
| offset | "next" |
|---|
| size | 8 |
|---|
| type | "int64" |
|---|
| name | "IndexOffset" |
|---|
|
| offset | "next" |
|---|
| size | 8 |
|---|
| type | "int64" |
|---|
| name | "IndexSize" |
|---|
|
| offset | "next" |
|---|
| size | 20 |
|---|
| type | "SHA1" |
|---|
| name | "IndexHash" |
|---|
|
| offset | "next" |
|---|
| size | 1 |
|---|
| type | "bool" |
|---|
| name | "bFrozenIndex (version 9 only)" |
|---|
|
| offset | "next" |
|---|
| size | "128 or 160" |
|---|
| type | "char[32][4 or 5]" |
|---|
| name | "CompressionMethods (version >= 8)" |
|---|
|
|
|---|
| endianness | "little" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "Version::size adds 44 base, +16 for the GUID at v7 and later, +1 encrypted flag at v4 and later, +1 frozen flag only at v9, +128 for V8A and +32 more for V8B and later" |
|---|
| repo | "https://github.com/trumank/repak" |
|---|
| commit | "355b5f62f51959c7cc6dd5a51708646ef483065d" |
|---|
| path | "repak/src/lib.rs" |
|---|
| lines | "68-92" |
|---|
|
| type | "source" |
|---|
| detail | "Footer::read order; compression slots default to Zlib, Gzip, Oodle below v8; magic and version are validated after reading" |
|---|
| repo | "https://github.com/trumank/repak" |
|---|
| commit | "355b5f62f51959c7cc6dd5a51708646ef483065d" |
|---|
| path | "repak/src/footer.rs" |
|---|
| lines | "25-84" |
|---|
|
| type | "source" |
|---|
| detail | "OffsetsToTry: the reader tries several candidate footer sizes (Size8a first) and keeps the one where the magic matches" |
|---|
| repo | "https://github.com/FabianFG/CUE4Parse" |
|---|
| commit | "7353666098ece8ed8799fe467a33e7f68b11d688" |
|---|
| path | "CUE4Parse/UE4/Pak/Objects/FPakInfo.cs" |
|---|
| lines | "570-625" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "pak footer layout and size" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T22:21:18.076Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T17:10:03.736Z" |
|---|
| summary | "Add data.endianness little (Footer::read uses ::<LE>). Re-checked the size table against Version::size and Footer::read: 44 base, +1 at v4, +16 at v7 (61), +128 V8A (189), +32 V8B (221), +1 frozen…" |
|---|
| changed | |
|---|
|
|
|---|