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:
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."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.
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:
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:toolsInitialize 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-detectLaunch 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 8788Supported Games & Engine Matrix (Continuously Updated)
The table below reflects current compatibility verification across major commercial game engines and AAA/indie PC titles:
| Engine / Architecture | Benchmark Games | Injection Strategy | AI Assistant Support | Status |
|---|---|---|---|---|
| Unreal Engine 4 / 5 | Palworld, Black Myth: Wukong, Hogwarts Legacy | UObject Reflection & Native VTable Detours | Claude Code, Codex, Cursor | Stable (v1.4.2) |
| Unity (IL2CPP) | Elden Ring (Tooling), Genshin, Risk of Rain 2 | Metadata Virtual Offset Decryption & Method JIT Patch | Claude Code, DeepSeek-Coder | Stable (v1.4.0) |
| Unity (Mono) | Hollow Knight, Valheim, Cities: Skylines | Direct C# IL Injection & Harmony Bridge | Codex, Claude Code | Full Support |
| RE Engine (Capcom) | Resident Evil 4 Remake, Monster Hunter Wilds | via.runtime Memory Scan & Lua Hooking | Claude Code | Beta (v1.3.5) |
| REDengine 4 | Cyberpunk 2077, The Witcher 3 Next-Gen | CET / REDscript Bytecode Transpilation | Claude Code, Codex | Stable |
| Custom Native x64 / C++ | FromSoftware titles, Armored Core VI | Signature Pattern Scan & Hardware Breakpoint Hooks | Claude Code, Codex | Advanced 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:
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.
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.
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.
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.
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