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

Library:Godot Engine

From ReverseEngineering.wiki
Library
Vendor Godot Engine contributors
License MIT
Website https://godotengine.org
On this wiki Facts · Code · Notes · Topics

The open-source Godot game engine (MIT): games ship a .pck resource pack (or embed it in the executable) with scenes, resources and GDScript, and C# games add .NET assemblies.

Overview

Identify: a game executable with a pck section or a trailing GDPC magic (Format:Godot PCK), a <game>.pck next to a renamed template executable, or assets/*.pck in an APK. The engine version is stored in the PCK header. GDScript source is often kept as text or as bytecode (.gdc); C# projects keep assemblies in data_<name>/.

Tools (source read, not run)

gdsdecomp (GDRETools, MIT): reads, extracts, creates and patches PCKs, decompiles GDScript bytecode and restores a project. Its BYTECODE_HISTORY.md is a table of GDScript bytecode versions per engine commit and release.

Translations

The compact compiled translation resource is described on Format:Godot optimized translation. In it, only hashes of the source texts are stored, so recovering keys needs the project's original translation sources. Project translations may also be ordinary Translation resources (Unverified: not read here).

See also

Save data written with store_var and ConfigFile: Format:Godot variant binary encoding.

Code & repositories

  • https://github.com/GDRETools/gdsdecomp @ e2780fcc73ab14083967d3945e513d1f6af1dbd0 · license: MIT
    Godot reverse engineering tools: PCK extract/create/patch and project recovery. Useful without running: utility/gdre_packed_source.cpp (PCK reader), utility/pck_creator.cpp (PCK writer), BYTECODE_HISTORY.md (GDScript bytecode versions).
    Tested on: source read, not run: source read, not run: read the PCK reader and writer and the bytecode table; not built · checked 2026-10-18; last activity 2026-10-14; Note: the latest release ships binaries; the wiki links only the source, never the binaries
  • https://github.com/godotengine/godot @ 81ab961f91066a63bcbf3ec340962bb1a1ada558 · license: MIT
    Godot engine source (MIT). Useful without building: core/io/file_access_pack.cpp (PCK reader), core/io/resource_format_binary.cpp (RSRC), core/io/file_access_compressed.cpp (RSCC), core/io/file_access_encrypted.cpp, scene/resources/compressed_texture.cpp (GST2/GSTL), modules/gdscript/gdscript_tokenizer_buffer.cpp (GDSC).
    Tested on: source read, not run: source read, not run · checked 2026-10-18; last activity 2026-10-18; Note: the latest release ships binaries; the wiki links only the source, never the binaries