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:Unreal Engine

From ReverseEngineering.wiki
Library
Vendor Epic Games
Website https://www.unrealengine.com
On this wiki Facts · Code · Notes · Topics

Epic Games' Unreal Engine 4 and 5: games ship content as pak files or IoStore containers holding cooked packages (uasset/uexp), with code in the game executable (C++ with UObject reflection).

Overview

Typical layout: <Game>/Content/Paks/*.pak (and *.utoc/*.ucas from UE 4.26) next to <Game>/Binaries/Win64/<Game>-Win64-Shipping.exe. Content is cooked packages (Format:Unreal package (uasset)) inside Format:Unreal Engine pak file archives or Format:Unreal IoStore containers.

Workflow

  1. Open the pak footer / utoc header to learn the container version; check whether the index is encrypted (footer flag, utoc ContainerFlags 2).
  2. Find the engine version: the executable's version resource and the strings ++UE4+Release-4.xx or ++UE5+Release-5.x; cooked packages carry object versions (Format:Unreal package (uasset) lists the default per release).
  3. AES keys are not stored in the archives; each game supplies its own. They are not published on this wiki.
  4. Properties of unversioned packages need a mappings file (.usmap) from the running game.
  5. For runtime work (modding frameworks, object dumpers): see Library:Unreal Engine/Reflection data for FName storage, the global object array and UObject/UStruct/UClass/UFunction/FProperty offsets by engine version, and Tool:UE4SS.

Tools (source read, not run)

CUE4Parse (C#, Apache-2.0) with the FModel viewer; repak (Rust) for pak read and write; UnrealPak and the engine source (EULA-restricted) are the references.

Topics

  • Reflection data — The runtime reflection data of Unreal Engine 4 and 5 (FName storage, the global UObject array, UObject, UStruct, UClass, UFunction and the property classes)…

Localization

Compiled localization text is in .locres files (namespace, key and string tables) with a .locmeta describing the cultures: see Format:Unreal Engine localization resource (locres, locmeta). They are normally inside the game's pak or IoStore containers (Format:Unreal Engine pak file).

See also

Save files (.sav, magic GVAS): Format:Unreal Engine SaveGame (GVAS).

Code & repositories

  • https://github.com/FabianFG/CUE4Parse @ 7353666098ece8ed8799fe467a33e7f68b11d688 · license: Apache-2.0
    C# parser of Unreal Engine 4/5 archives and assets (basis of FModel). Useful without running: UE4/Pak/Objects/FPakInfo.cs, UE4/IO/Objects/FIoStoreTocHeader.cs, FIoChunkId.cs, UE4/Objects/UObject/FPackageFileSummary.cs, UE4/Versions/EGame.cs.
    Tested on: source read, not run: source read, not run: read the pak footer, utoc header and package summary code; not built · checked 2026-10-18; last activity 2026-10-17; Note: the latest release ships binaries; the wiki links only the source, never the binaries
  • https://github.com/UE4SS-RE/RE-UE4SS @ 97adba01e9fcb3c208376581e54edb9ef466f233 · license: MIT
    Unreal Engine scripting/modding framework (MIT). Useful without building: assets/MemberVarLayoutTemplates and assets/VTableLayoutTemplates (class layouts 4.07 to 5.08), assets/UE4SS_Signatures examples, docs/guides/fixing-compatibility-problems*.md, docs/patternsleuth-games.md.
    Tested on: source read, not run: source read, not built · checked 2026-10-18; last activity 2026-10-17; Note: the latest release ships binaries; the wiki links only the source, never the binaries
  • https://github.com/Spuckwaffel/UEDumper @ 5b2b5264a66aa9edb28619c5ff654b16d3b9e038 · license: MIT
    Windows UE4/UE5 SDK dumper and live editor (MIT). Useful without building: UEDumper/Engine/Core/Core.cpp (FName decoding for the old name array and the 4.23+ pool), Core/ObjectsManager.h (object array layouts), Userdefined/UEdefinitions.h (per-version switches).
    Tested on: source read, not run: source read, not built · checked 2026-10-18; last activity 2026-04-18