From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:Godot PCK" |
|---|
| claim | "Pack flags: bit 0 directory encrypted, bit 1 relative file base (always on for version 3), bit 2 sparse bundle. Per-file flags: bit 0 encrypted, bit 1 removal marker, bit 2 delta patch." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Godot PCK" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "PackFlags" |
|---|
| values | | 0x1 | "PACK_DIR_ENCRYPTED" |
|---|
| 0x2 | "PACK_REL_FILEBASE" |
|---|
| 0x4 | "PACK_SPARSE_BUNDLE" |
|---|
|
|---|
| complete | true |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "Enums PACK_DIR_ENCRYPTED=1<<0, PACK_REL_FILEBASE=1<<1, PACK_SPARSE_BUNDLE=1<<2 and PACK_FILE_ENCRYPTED=1<<0, PACK_FILE_REMOVAL=1<<1, PACK_FILE_DELTA=1<<2." |
|---|
| repo | "https://github.com/godotengine/godot" |
|---|
| commit | "81ab961f91066a63bcbf3ec340962bb1a1ada558" |
|---|
| path | "core/io/file_access_pack.h" |
|---|
| lines | "50-60" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "PCK flags" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T21:57:22.859Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T01:49:21.569Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read core/io/file_access_pack.h (PackFlags 1<<0..1<<2, PackFileFlags 1<<0..1<<2) and file_access_pack.cpp line 300 ('Always enabled for V3') at the cited commit. Matches." |
|---|
| notes | "Minor: data.values lists only the three pack flags; the three per-file flags (ENCRYPTED 1, REMOVAL 2, DELTA 4) appear only in the claim text. Sparse bundle is only honoured with format version 4 (cpp line 312)." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T17:25:54.341Z" |
|---|
| summary | "Read file_access_pack.h lines 50-53: PackFlags has exactly three bits, all in values; complete (the per-file flags ENCRYPTED 1, REMOVAL 2, DELTA 4 are a separate set named in the claim)." |
|---|
| changed | |
|---|
|
|
|---|