QuickDreamViz

Open-Source AI Modding Framework

GitHub Universal Modder: AI-Driven PC Game Modding Engine

Universal Modder AI bridges state-of-the-art coding assistants like Claude Code and OpenAI Codex directly with PC game memory runtimes, AST decompilers, and dynamic binary instrumentation.

What is Universal Modder AI? Reverse Engineering Meets Agentic Coding

Traditional game modding has historically required deep manual reverse-engineering expertise: analyzing disassembly dumps in Ghidra or IDA Pro, locating dynamic memory pointers with Cheat Engine, and authoring brittle memory injection hooks using raw C++ Win32 API calls.

GitHub Universal Modder completely shifts this paradigm. By providing an open-source, engine-agnostic runtime abstraction layer (the Universal Modder AI Architecture), developers can connect modern LLM coding agents directly to a running game process. The engine translates high-level developer intentions—such as "remove camera shake on sprint" or "dynamically adjust weapon recoil curves via mathematical interpolation"—into live runtime memory hooks, detours, and bytecode patches.

Engine Agnostic

Single unified interface for Unity (Mono & IL2CPP), Unreal Engine 4/5, Capcom RE Engine, and bare-metal x64 binaries.

Agentic Automation

Full Model Context Protocol (MCP) and CLI daemon integration allowing Claude Code and Codex to read symbol tables and test live patches.

Non-Destructive Hooks

Trampoline-based memory detours that execute in microsecond latency without touching original game assets on disk.

Supported AI Coding Assistants & Agent Integration

Universal Modder AI is engineered specifically to interface with developer CLI tools. Rather than acting as a static code generator, it exposes an interactive bridge where AI agents can interrogate the target process memory state:

Primary

Claude Code (Anthropic CLI)

Claude Code delivers exceptional multi-step reasoning capabilities for disassembly analysis. With the Universal Modder Claude integration, Claude can inspect decompiled functions, identify variable offsets across compiler optimizations, and generate compile-ready C++ detours in seconds.

$ claude "Inspect Palworld process, find APlayerCameraManager::UpdateViewTarget, and patch FieldOfView calculation to a slider variable."
Supported

OpenAI Codex & GitHub Copilot CLI

OpenAI Codex excels at bulk pattern identification across massive memory dumps. It can batch-generate unit tests and mock memory structures directly from PDB debug symbols or Ghidra export headers.

Local LLM

Cursor / Windsurf & DeepSeek-Coder 33B

For security-conscious developers working offline, Universal Modder supports local Ollama/vLLM endpoints running DeepSeek-Coder or Qwen-2.5-Coder to ensure zero data transmission when modding private prototypes.

3-Step Installation & Setup Guide

Get up and running with GitHub Universal Modder in less than 5 minutes on standard 64-bit Windows or Linux Proton environments:

1

Clone the Repository & Install Dependencies

Ensure Node.js 20+ and CMake 3.22+ are installed on your workstation.

git clone https://github.com/universal-modder/universal-modder.git
cd universal-modder
npm install && npm run build:tools
2

Initialize Engine Symbol Adapters

Run the auto-detector against your installed game directory to parse symbols, extract IL2CPP metadata, or map Unreal Engine reflection offsets:

./bin/modder init --game-dir "C:\Games\TargetGame" --auto-detect
3

Launch the AI Runtime Daemon

Start the daemon with your chosen AI assistant bridge enabled. You are now ready to issue live modding prompts:

./bin/modder daemon --bridge claude-code --port 8788

Supported Games & Engine Matrix (Continuously Updated)

The table below reflects current compatibility verification across major commercial game engines and AAA/indie PC titles:

Engine / ArchitectureBenchmark GamesInjection StrategyAI Assistant SupportStatus
Unreal Engine 4 / 5Palworld, Black Myth: Wukong, Hogwarts LegacyUObject Reflection & Native VTable DetoursClaude Code, Codex, CursorStable (v1.4.2)
Unity (IL2CPP)Elden Ring (Tooling), Genshin, Risk of Rain 2Metadata Virtual Offset Decryption & Method JIT PatchClaude Code, DeepSeek-CoderStable (v1.4.0)
Unity (Mono)Hollow Knight, Valheim, Cities: SkylinesDirect C# IL Injection & Harmony BridgeCodex, Claude CodeFull Support
RE Engine (Capcom)Resident Evil 4 Remake, Monster Hunter Wildsvia.runtime Memory Scan & Lua HookingClaude CodeBeta (v1.3.5)
REDengine 4Cyberpunk 2077, The Witcher 3 Next-GenCET / REDscript Bytecode TranspilationClaude Code, CodexStable
Custom Native x64 / C++FromSoftware titles, Armored Core VISignature Pattern Scan & Hardware Breakpoint HooksClaude Code, CodexAdvanced Manual

Troubleshooting & Common Error Codes

Modding games at runtime involves low-level operating system memory operations. Below are solutions to the most frequent error scenarios encountered during AI-driven injection:

ERR_HOOK_INJECTION_FAILED (0xC0000005: Access Violation)

Root Cause: The target game process is protected by an active ring-3 debugger intercept or dynamic code relocation (ASLR) without base address recalculation.

Fix: Launch Universal Modder with the `--rebase-aslr` flag and ensure you run your terminal as Administrator. Verify the target executable offset via Ghidra/IDA before injecting custom payload scripts.

ERR_LLM_CONTEXT_OVERFLOW (Token count exceeded 200k)

Root Cause: Dumping complete engine reflection headers (e.g., Unreal Engine SDK headers with 40,000+ classes) directly into the AI assistant context.

Fix: Use the selective symbol extraction flag: `modder extract --class APawn,APlayerController --depth 2` to narrow symbol parsing down to target gameplay objects before sending AST trees to Claude Code or Codex.

ERR_IL2CPP_METADATA_MISMATCH

Root Cause: Game update altered the global-metadata.dat structure, invalidating cached field offsets in the local modder workspace.

Fix: Execute `modder dump-metadata --force-refresh` to re-extract function pointers and regenerate the high-level C# dummy DLL declarations.

ERR_ANTI_CHEAT_GUARD_TRIGGERED

Root Cause: Process hook triggered memory integrity scanner in games running Easy Anti-Cheat (EAC) or BattlEye.

Fix: Universal Modder strictly supports offline single-player modding. Always start game executables with offline bypass flags (e.g., `-eac-nop-loaded` or disconnected network adapters) prior to daemon attachment.

Changelog & Technical Roadmap

v1.4.2 (October 2026)

  • •Native Claude Code 3.7 integration with streaming memory diff preview.
  • •Unreal Engine 5.5 live UObject property reflection without pausing frame loop.
  • •Automated fallback decompilation using local LLM inference for proprietary C++ engines.

v1.3.0 (August 2026)

  • •Multi-agent Codex tool-calling bridge for parallel memory structure identification.
  • •Added zero-overhead IL2CPP function detour wrapper using modern x64 trampoline mechanics.
  • •Unified configuration file format (`modder.config.json`) across all supported game platforms.

v1.1.0 (May 2026)

  • •Initial open-source release of the Universal Modder core engine on GitHub.
  • •Support for Unity Mono and Unreal Engine 4 memory hook injection.
  • •CLI toolchain enabling developers to test prompt-to-hook pipelines.

Deep Dive into Claude Code Game Modding

Ready to hook Claude Code into your game runtime? Explore our dedicated guide with verified command blocks, permissions setup, and an end-to-end mod build walkthrough.

Read Universal Modder Claude Guide →Explore AI Visualization Tools

Supercharge Your Creative & Engineering Workflows

From AI-assisted reverse engineering to architectural photo-to-3D walkthroughs, QuickDreamViz accelerates cutting-edge computer vision and AI agent development.

Try AI Tools Free
QuickDreamViz

AI-powered interior design visualization for room redesigns, virtual staging, and 3D walkthroughs.

Product

  • Features
  • Pricing
  • API
  • Changelog

Resources

  • Explore Tools
  • Best AI Apps 2026
  • Free AI Design Tools
  • Free AI Room Design
  • Design Walkthrough
  • AI Magic Brush
  • Blog

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 QuickDreamViz. All rights reserved.

Made with ❤️ for interior design enthusiasts