reverse-engineering
यह क्या करती है
यह स्किल बताती है कि गेम के कोड, डेटा फ़ाइलों और मेमोरी को कैसे decompile करके पढ़ा जाए, ताकि मोड उनसे जुड़ सके। यह उन मोडर्स के लिए है जिन्हें अनुमान नहीं, असली अंदरूनी जानकारी चाहिए।
कब इस्तेमाल करें
- ✓जब मोड को गेम के आंतरिक function नाम या डेटा की बनावट चाहिए।
- ✓जब आप .NET, Unity या Java गेम का कोड पढ़ने के लिए decompile करना चाहते हों।
- ✓जब किसी गेम की बिना दस्तावेज़ वाली फ़ाइल फ़ॉर्मेट समझनी हो।
Skill का लिंक
https://github.com/rehan-remade/universal-modder/blob/main/.agents/skills/reverse-engineering/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस Unity गेम का कोड decompile कीजिए, ताकि मैं वह function ढूंढ सकूं जो खिलाड़ी की छलांग संभालता है।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट हर तरह के कोड के लिए सही टूल चुनता है, जैसे .NET के लिए ILSpy या native प्रोग्राम के लिए Ghidra, आउटपुट का अध्ययन करता है, और नाम, IDs व फ़ॉर्मेट को काम के साथ एक लॉग में लिखता जाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Reverse engineering for mods
Rule zero: read the real thing, don't guess. Decompiled code, the actual data, a live memory view or a
GPU capture is the spec. Write what you learn into MODLOG.md (names, IDs, offsets, formats) as you go.
Keep all decompiled output and extracted assets outside the mod repo (e.g. ~/<game>-decomp/) and never
publish them. Single-player, offline or servers the user runs. Never attach debuggers or scanners to games
with anti-cheat (see skills/mod-any-game/references/safety.md).
Pick the tool by what the code is (um scan tells you)
If REA (Reverse Engineer Anything, npx rea-agents setup) is connected as an MCP
server, start there: one server covers native binaries (through an existing Ghidra, IDA or Hopper install), .NET
assemblies and JavaScript/Electron apps, and its answers come with the evidence behind them. The tools below are
the fallback, and the way to go deeper.
Managed .NET (XNA/FNA, Unity Mono, most indie C#)
dotnet tool install -g ilspycmd, thenilspycmd -p -o ~/<game>-decomp <Game>.exe(orAssembly-CSharp.dll). This gives a full C# project you can grep.- dnSpyEx: step through with a debugger, set breakpoints, edit methods.
- MCP: ILSpy-MCP / dnspy-mcp let an agent query types and methods directly.
Unity IL2CPP
- Cpp2IL (or Il2CppDumper) on
GameAssembly.dll+global-metadata.datgives types, fields, method signatures and addresses, plus dummy DLLs for ILSpy. - Method bodies are native: load
GameAssembly.dllin Ghidra/IDA and apply the generated script to name functions. - Live: UnityExplorer, or
il2cpp-frida-mcp.
Java (Minecraft, Slay the Spire...)
Vineflower / CFR / Recaf. For Minecraft, use Loom genSources with Mojang mappings.
Blitz3D (.bb games; SCP: Containment Breach's source is public): the game is a module inside the exe
that Ghidra can't see. Use the blitz3d-decomp skill (B3DDecomp, runtime behaviour for ports, animated
.b3d models).
Native C/C++ (custom engines, Unreal game code, console recomps)
- Ghidra (free) or IDA, driven through MCP so the agent can decompile, rename, retype and follow
cross-references:
- Ghidra: GhidraMCP (LaurieWired), pyghidra-mcp (headless, with a run-script tool; code-capable tools beat hundreds of tiny ones), ReVa.
- IDA: the official Hex-Rays IDA MCP (IDA 9.4+ Pro/Home; "code mode" runs IDAPython), or ida-pro-mcp.
- Binary Ninja and radare2 have MCP servers too.
- Workflow:
- Strings, then cross-references, then the function.
- Name and type everything you understand. Renames accumulate into a readable program.
- Confirm dynamically (below) before building on a guess. Agents can confidently misidentify things.
- Unreal: dump the reflection data first (UE4SS dumper or Dumper-7); it names most gameplay classes and properties for free.
Dynamic / live
- Cheat Engine: value scans → "find out what writes to this address" → struct → owner. CheatEngine MCP servers exist.
- x64dbg: breakpoints and tracing (x64dbg-mcp; bind it to 127.0.0.1, since some default to 0.0.0.0).
- Frida (frida-mcp, frida-game-hacking-mcp): hook functions from JavaScript, log arguments.
- ReClass.NET rebuilds structs from live memory.
Graphics
- RenderDoc (renderdoc-mcp) captures a frame and shows every draw, the render targets, the constant buffers (view/projection matrices) and the depth buffer.
- That's how you find where to inject geometry or effects (mashup-mods), and which texture holds a sprite atlas.
Data files and asset formats
Use the community tool first:
- Unity: UABEA, AssetRipper
- Unreal: FModel, UAssetGUI
- Fully compressed UE3
.upk(UELib showsExports=0): unpack a copy with Gildor'sdecompress(from UE Viewer), or, for LZO packages, withunpack_upk.py.
- Fully compressed UE3
- Bethesda: xEdit, BSArch
- GameMaker: UndertaleModTool
- Genie: genieutils
- Source: VRF, Crowbar
- FromSoft: WitchyBND, Smithbox
- Godot: GDRE Tools
Before reversing a format yourself, search the community archives. Most game formats from the 2000s and 2010s were worked out there:
- XeNTaX (closed in 2023): the forum, wiki and attachments are on archive.org, with a [public backup on GitHub](https://githu
अक्सर पूछे जाने वाले सवाल
क्या यह anti-cheat वाले गेम पर काम करती है?
नहीं। स्किल कहती है कि anti-cheat वाले गेम में debugger या scanner न लगाएं।
निकाली गई फ़ाइलें कहां रखी जाती हैं?
मोड प्रोजेक्ट के बाहर, और उन्हें कभी प्रकाशित नहीं किया जाता।
फ़ाइल फ़ॉर्मेट कैसे साबित होता है?
स्किल round trip test सुझाती है, जिसमें डेटा पढ़ा और वापस लिखा जाता है ताकि दिखे कि फ़ॉर्मेट समझ आ गया है।
जानकारी
लेखक का मूल विवरण
Read how a game actually works so a mod can hook it. Decompile .NET/Mono (ILSpy), IL2CPP (Cpp2IL, Il2CppDumper), Java (Vineflower) and native code (Ghidra, IDA, via MCP servers); dump data and asset formats; reverse-engineer a binary file format and prove it with a round trip; read live memory (Cheat Engine, Frida, x64dbg); find render passes (RenderDoc). Use when a mod needs game internals, e.g. "how does the boss AI work", "find the damage function", "what format is this .sld/.pak/.dat", "where is the player position in memory".
लोकप्रियता
- GitHub स्टार
- 9.3k
- रैंकिंग में स्थान
- #12292
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
asset-pipeline
9.3kआपके एजेंट को बनाई गई या हाथ से बनाई कला को ठीक उसी आकार, फ़्रेम लेआउट, पैलेट और फ़ाइल फ़ॉर्मेट में बदलने में मदद करती है, जो गेम इंजन लोड करता है।
blitz3d-decomp
9.3kआपके एजेंट को Blitz3D गेम को पढ़ने योग्य सोर्स में बदलने और उसे किसी दूसरे इंजन में पोर्ट करने की योजना बनाने में मदद करती है, मूल गेम को संदर्भ के रूप में रखते हुए।
fal-assets
9.3kआपके एजेंट को fal.ai से गेम कला, ध्वनि प्रभाव, संगीत और 3D मॉडल बनाने में मदद करती है, स्प्राइट और टेक्सचर से लेकर वॉइस लाइन और वीडियो तक।
game-automation
9.3kआपके एजेंट को असली गेम चलाने, स्क्रीनशॉट लेने, मेनू में क्लिक और टाइप करने और लॉग पढ़ने देती है, ताकि वह अपने गेम मॉड खुद टेस्ट कर सके।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।