# ReversePort
### Reverse engineer anything. Port it anywhere.
**The reverse-engineering and porting toolkit for AI coding agents.**
Read Godot, Unity, Unreal, Ren'Py and GameMaker builds, Android and iOS packages, .NET and native binaries. Work out
an unknown file format from a few samples, compare builds, keep proof for every claim — and port games between Godot,
Unity, Unreal and three.js with parity checks.
[](https://www.npmjs.com/package/reverseport)
[](https://www.npmjs.com/package/reverseport)
[](https://registry.modelcontextprotocol.io/v0/servers?search=io.github.laaielichter/reverseport)
[](#claude-code-plugin)
[](docs/reference/mcp-contracts.md#generated-catalog)
[](docs/getting-started/installation.md)
[](LICENSE)
[](https://glama.ai/mcp/servers/laaielichter/reverseport)
[](https://github.com/laaielichter/Reverseport/stargazers)
```bash
npx reverseport setup
```
A real run on Godot's 2D platformer demo, JSON trimmed to the key fields. Watch the MP4.
Used ReversePort on something? Show us what you ported · ⭐ Star the repo if it saved you time.
[Website](https://laaielichter.github.io/Reverseport/) · [Quick start](#quick-start) · [Only in ReversePort](#only-in-reverseport) · [What's new](#whats-new) · [Every agent](#works-with-every-agent) · [Prompts](#prompts-to-try) · [How it compares](#how-it-compares) · [FAQ](#faq) · [Contributing](#contributing) · [Docs](#documentation)
**English** · [Nederlands](docs/README.nl.md)
---
See a feature you like in an app or a game? Ask your agent how it works — down to the decompiled function — and
then ask it to build your own version. Have a game in Godot and want it in Unity? Ask your agent to port it, unit by
unit, verified. No files at all? Give it a name or a store page.
ReversePort gives agents one consistent way to do all of that:
- 🎮 **Game engines and formats built in** — Godot `.pck` from Godot 3 to 4.7 (also inside the `.exe`) back to an
editable project: scripts, scenes (also compressed ones), and imported textures, audio and translations as PNG, WAV,
OGG, MP3 and CSV. Unity asset bundles
and `.assets` (textures as PNG, meshes as OBJ, audio, scripts in use), IL2CPP `global-metadata.dat` and
`.unitypackage`. Ren'Py `.rpa` and compiled `.rpyc` back to `.rpy`. GameMaker `data.win` with its GML bytecode
back to `.gml`. Unreal `.pak`, `.uasset`/`.umap` tables, IoStore `.utoc` lists, `.locres` texts and GVAS saves.
RPG Maker, FMOD and Wwise banks, Quake PAK, Doom WAD, Flash; XNB, VPK, compiled shaders (SPIR-V, DXBC/DXIL) and
TrueType collections (`.ttc`) are recognised. No engine install needed.
- 🧬 **Unknown formats from samples** — give `re_struct` two or more files of a format nobody documented (saves,
levels, packets) and get the layout back: fields with the evidence for each, record tables, checksums and a Kaitai
Struct draft. [More below](#only-in-reverseport).
- 🛡️ **Injection shield** — a binary, a pack or a web page can carry text written for the agent that reads it.
Every tool result is checked; a hit gets an `untrusted` note and nothing is removed.
[More below](#only-in-reverseport).
- 📦 **Executables and packages at a glance** — which packer, protector, installer or compiler made an executable,
with the evidence; what its imports point at; PE version info, manifest and icons; ELF build-id; Mach-O signature
and entitlements; the Android manifest of an `.apk` and the `Info.plist` of an `.ipa`. Detection only: nothing is
unpacked, decrypted or patched.
- 🧰 **What a build holds** — the original source tree of a web bundle from its source maps; URLs, hosts, keys and
tokens with credential values redacted; third-party libraries with versions and licences as a CycloneDX file;
WebAssembly modules, SQLite databases, protobuf and MessagePack messages; names and constants out of PyInstaller,
Lua, Go, Rust and C++ binaries. Reading only, no decompiling. [More below](#whats-new).
- 🔍 **Understand anything** — engine and version of any project or exported game, dependency graphs, scenes, symbols
in 30+ languages, save files and unknown data. JS/TS monorepos (pnpm, Turborepo, Nx, Lerna, Rush, tsconfig
paths, `#imports`, Deno import maps) and Rust workspaces resolve too. No build step, no dependencies.
- 🧠 **Go deep** — decompile, cross-reference and trace native, managed (.NET), Android, Electron/JavaScript,
WebAssembly, firmware and browser targets through Ghidra, Hopper, IDA, JADX and more. ReversePort connects to the
tools you have installed, drives them and shows the evidence behind every conclusion.
- 🔀 **Compare builds** — what changed between build 43 and 44: files, packs, .NET types and methods, and IL2CPP metadata, biggest
changes first.
- 🧾 **Proof, not guesses** — a proof case ties every claim to saved evidence and keeps unknowns visible. In Claude
Code, guard hooks stop a "done" while a proof case fails its check.
- 🧩 **Rebuild precisely** — no files? A name, a store page or a website is enough for a clean-room rebuild spec:
every system, the parameters to measure, a parity table and a project skeleton.
- 🚚 **Port for real** — Godot ⇄ Unity, Godot → Unreal, Godot → three.js, GDScript → C#, Godot 3 → 4, RPG Maker →
Godot, or language to language. Scenes and transforms convert automatically; GDScript gets a parsed C# first draft
(`port_draft`) that your agent finishes with API maps; `port_verify` and `port_trace` prove nothing was left behind
and behaviour matches.
- 🔒 **Local** — runs on your machine. Targets are only read; output goes to new folders. Nothing is uploaded to an
analysis service, there is no telemetry and no extra API bill.
## Quick start
### 1. Connect your agent
With Node.js 22.23.4 or newer (24.22.1+ on Node 24):
```bash
npx reverseport setup
```
Pick your agents, review the changes and approve. Setup registers one MCP server and installs the matching skill,
with backups of existing configuration. Restart your agent afterwards. Setup supports Claude Code, Codex, Cursor,
Gemini CLI, GitHub Copilot, OpenCode and [more agents](docs/getting-started/installation.md#supported-agents); other clients can use
`reverseport connect