reverse-engineering
하는 일
이 스킬은 모드가 연결할 수 있도록 게임의 코드, 데이터 파일, 메모리를 디컴파일하고 분석하는 방법을 설명합니다. 추측이 아니라 게임의 실제 내부 구조가 필요한 모더를 위한 것입니다.
사용하는 경우
- ✓모드에 게임의 내부 함수 이름이나 데이터 구조가 필요할 때.
- ✓.NET, Unity, Java 게임의 코드를 디컴파일해서 읽고 싶을 때.
- ✓게임의 문서화되지 않은 파일 형식을 알아내야 할 때.
스킬 링크
https://github.com/rehan-remade/universal-modder/blob/main/.agents/skills/reverse-engineering/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 Unity 게임의 코드를 디컴파일해서 플레이어가 점프할 때 실행되는 함수를 찾아 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 각 종류의 코드에 맞는 도구를 고릅니다. 예를 들어 .NET에는 ILSpy, 네이티브 프로그램에는 Ghidra를 씁니다. 결과를 살펴보고, 작업하면서 이름, ID, 형식을 기록합니다.
기술 내용 (원본 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
자주 묻는 질문
안티치트가 있는 게임에서도 작동하나요?
아니요. 이 스킬은 안티치트가 있는 게임에 디버거나 스캐너를 붙이지 말라고 안내합니다.
추출한 파일은 어디에 두나요?
모드 프로젝트 밖에 두며, 절대 공개하지 않습니다.
파일 형식이 맞는지 어떻게 증명하나요?
이 스킬은 데이터를 읽은 뒤 다시 써서 형식을 이해했음을 보이는 왕복 테스트를 권장합니다.
상세 정보
작성자의 원본 설명
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
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
asset-pipeline
9.3k에이전트가 생성되었거나 직접 만든 그림을 게임 엔진이 불러오는 정확한 크기, 프레임 배치, 팔레트, 파일 형식으로 바꾸도록 돕습니다.
blitz3d-decomp
9.3k에이전트가 Blitz3D 게임을 읽을 수 있는 소스로 분해하고, 원본 게임을 기준으로 다른 엔진으로 옮기는 계획을 세우도록 돕습니다.
fal-assets
9.3k에이전트가 fal.ai로 게임 그림, 효과음, 음악, 3D 모델을 만들도록 돕습니다. 스프라이트와 텍스처부터 음성 대사와 영상까지 다룹니다.
game-automation
9.3k에이전트가 실제 게임을 실행하고, 스크린샷을 찍고, 메뉴를 클릭하고 입력하며, 로그를 읽어 자신이 만든 게임 모드를 테스트하도록 돕습니다.