Back to Playbooks
ID: redengine
Next-Gen RPG

CDPR REDengine 3 & 4

.bundle archive decryption / CR2W chunk serialization / Swift scripts

Recommended LoaderCyber Engine Tweaks (CET), REDmod, WolvenKit
Decompilation ToolchainWolvenKit, w3strings, CR2W reader, quickbms

Architecture Specifications

1. Runtime Architecture Reconnaissance & Loader Selection

For CDPR REDengine 3 & 4, the AI agent inspects DLL export tables and process memory maps. The recommended loader is Cyber Engine Tweaks (CET), REDmod, WolvenKit, hooking into the game initialization lifecycle to load custom assemblies.

2. Symbol Recovery & Decompilation Toolchain

Headless decompilation is orchestrated via WolvenKit, w3strings, CR2W reader, quickbms. By restoring bytecode or reflection dumps into an Abstract Syntax Tree (AST), the AI assistant locates target classes, tick loops, and internal state fields.

3. Primary Hook Route & Injection Pattern

The established modding route is: .bundle archive decryption / CR2W chunk serialization / Swift scripts. This strategy provides atomic, reversible function detours without risking memory access violation exceptions.

4. Asset Overrides & Virtual Filesystem (VFS) Packing

Novel textures, sprites, and models are packed into engine-compliant archives and mounted via virtual filesystem overrides, leaving pristine game install directories untouched.

5. Automated Single-Player Sandbox Verification

The agent boots an isolated process, issues synthetic input signals, asserts memory invariants, and collects crash telemetry to guarantee deterministic mod stability.