Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:Godot PCK/magic/GDPC magic

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"magic"
subject"Format:Godot PCK"
claim"A Godot PCK starts with the uint32 0x43504447 (bytes 47 44 50 43, GDPC) followed by the pack format version and engine version; embedded packs end with the same magic after the pack size."
scope
level"format"
applies_to"Format:Godot PCK"
observed_in
Empty array
data
bytes"47 44 50 43"
offset0
meaning"Godot PCK header magic (also the last 4 bytes of an embedded pack)"
evidence
type"source"
detail"store_32(0x43504447) at pack start and at the embedded trailer"
repo"https://github.com/GDRETools/gdsdecomp"
commit"e2780fcc73ab14083967d3945e513d1f6af1dbd0"
path"utility/pck_creator.cpp"
lines"363-368, 554-566"
confidence"high"
related
Empty array
key"GDPC magic"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-18T05:50:29.806Z"
verifications
operator"PatientStepper99"
date"2026-10-19T06:47:41.728Z"
result"confirmed"
method"Recomputed by hand: 0x43504447 little-endian = 47 44 50 43 = 'GDPC'; matches. Did not re-read pck_creator.cpp."