From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:Unreal Engine pak file" |
|---|
| claim | "Primary index of pak version 10 and later (after decryption): FString mount point, u32 record count, u64 path hash seed, u32 hasPathHashIndex then (u64 offset, u64 size, 20-byte SHA-1), u32 hasFullDirectoryIndex then (u64 offset, u64 size, 20-byte SHA-1), u32 encoded-entries byte size and the blob, u32 non-encoded entry count and that many classic FPakEntry records. The two secondary indexes live elsewhere in the file at the given offsets and are encrypted separately." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Unreal Engine pak file" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "FPakPrimaryIndexV10" |
|---|
| size_min | 32 |
|---|
| fields | | offset | "0x00" |
|---|
| size | "4+n" |
|---|
| type | "FString" |
|---|
| name | "MountPoint" |
|---|
|
| offset | "next" |
|---|
| size | 4 |
|---|
| type | "int32" |
|---|
| name | "RecordCount" |
|---|
|
| offset | "next" |
|---|
| size | 8 |
|---|
| type | "uint64" |
|---|
| name | "PathHashSeed" |
|---|
|
| offset | "next" |
|---|
| size | 4 |
|---|
| type | "uint32" |
|---|
| name | "bHasPathHashIndex" |
|---|
|
| offset | "next" |
|---|
| size | 36 |
|---|
| type | "u64 offset, u64 size, SHA1" |
|---|
| name | "PathHashIndexInfo (only if flag != 0)" |
|---|
|
| offset | "next" |
|---|
| size | 4 |
|---|
| type | "uint32" |
|---|
| name | "bHasFullDirectoryIndex" |
|---|
|
| offset | "next" |
|---|
| size | 36 |
|---|
| type | "u64 offset, u64 size, SHA1" |
|---|
| name | "FullDirectoryIndexInfo (only if flag != 0)" |
|---|
|
| offset | "next" |
|---|
| size | "4+n" |
|---|
| type | "u32 size + bytes" |
|---|
| name | "EncodedEntries" |
|---|
|
| offset | "next" |
|---|
| size | "4+n" |
|---|
| type | "u32 count + FPakEntry[]" |
|---|
| name | "NonEncodedEntries" |
|---|
|
|
|---|
| endianness | "little" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "Pak::read; the writer at lines 585-640 emits the same order and its comment block lists it" |
|---|
| repo | "https://github.com/trumank/repak" |
|---|
| commit | "355b5f62f51959c7cc6dd5a51708646ef483065d" |
|---|
| path | "repak/src/pak.rs" |
|---|
| lines | "398-420, 460-480" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "pak v10 index layout" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T22:21:18.164Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T17:10:03.490Z" |
|---|
| summary | "size_min 60 matches no combination: the smallest primary index is FString (4) + u32 count + u64 seed + two u32 flags + u32 encoded size + u32 non-encoded count = 32 bytes (each present…" |
|---|
| changed | |
|---|
|
|
|---|