
reverseport
io.github.laaielichter/reverseport
Reverse engineer and port games and apps: Godot, Unity, Unreal, Ren'Py, GameMaker, .NET, binaries.
Documentation
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.
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 · Quick start · Only in ReversePort · What's new · Every agent · Prompts · How it compares · FAQ · Contributing · Docs
English · Nederlands
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
.pckfrom 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), IL2CPPglobal-metadata.datand.unitypackage. Ren'Py.rpaand compiled.rpycback to.rpy. GameMakerdata.winwith its GML bytecode back to.gml. Unreal.pak,.uasset/.umaptables, IoStore.utoclists,.locrestexts 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_structtwo 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. - 🛡️ 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
untrustednote and nothing is removed. More below. - 📦 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
.apkand theInfo.plistof an.ipa. Detection only: nothing is unpacked, decrypted or patched. - 🔍 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_verifyandport_traceprove 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):
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; other clients can use
reverseport connect <client>, which prints a portable npx snippet, or
manual MCP registration. Setup pins the absolute path of the
installation for a faster start; both forms are current registrations.
Claude Code plugin
Instead of setup for Claude Code — includes the server, the porting skills, the port-architect agent and the guard
hooks; do not use both:
/plugin marketplace add laaielichter/reverseport
/plugin install reverseport@reverseport
The plugin asks for its settings once (deep-analysis engine on or off, tool list size, workspace folder, your Ghidra
folder). The same marketplace also offers the sister plugins stashpad@reverseport and
agentdisk@reverseport.
From source
git clone https://github.com/laaielichter/reverseport && cd reverseport
npm ci && npm run build
./bin/reverseport.mjs setup
The recon, build-inspection, lookup, blueprint and porting commands already work right after git clone, with no
install at all: node bin/reverseport.mjs scan ./MyGame.
2. Ask your agent
What is ./MyGame made with? Show me the evidence, then plan a port to Unity.
That's it. The agent picks the tools; you get answers with the evidence behind them.
Only in ReversePort
Two things we have not found in another reverse-engineering tool for agents.
Formats from samples. re_struct works out an unknown binary format from 2 to 32 sample files. Bytes that are
the same everywhere are the format; a number that follows the file size is a length, one that follows the record
count is a count, and a CRC that matches the rest gives itself away. It returns every field with its evidence, the
columns of record tables, and a Kaitai Struct draft:
reverseport struct ./saves "*.sav"
0 constant "SAVE" 03 00 00 00 … magic
12 u4le length the size of the file minus 16
16 u4le checksum CRC-32 of the bytes after this field
20 u4le time Unix time in seconds
24 u4le length + text "Roel", "Alexandra", "Bo", "Player One"
… u4le count records of 12 bytes: u4le id, f4le, u4le
The result is a hypothesis from the samples you gave; more samples sharpen it. See the full result and its limits.
Injection shield. A target can carry text written for the agent that reads it ("ignore your instructions", "run
this command", invisible Unicode). Every tool result, also decompiled code from the deep-analysis engine, is checked
before the agent sees it; a hit adds an untrusted note with the place and the text, and says it is data. Nothing is
removed and no model is involved. It matches known English phrasings, so text in another language or in new words
passes: treat every string from a target as data, with or without a note. REVERSEPORT_SHIELD=off turns it off. See
the details.
What's new
New — more formats, read by ReversePort's own engine (no Ghidra or IDA needed):
re_structand the injection shield, described above.re_binarynames packers, protectors, installers and compilers with the evidence for each, says what the imports point at (networking, cryptography, debugger checks, ...), and reads PE version info, manifest and icons, the Rich header, ELF build-id and DWARF producers, the Mach-O code signature and entitlements, and WebAssembly function names.re_decodewrites Godot's imported textures, audio and translations back as PNG, WAV, OGG, MP3 and CSV under their original names (how), Ren'Py.rpycback as.rpy(Ren'Py) and the GML bytecode of a GameMakerdata.winback as GML (GameMaker). On three real builds of an open game every instruction was read and 3,747 of 3,752 code entries came back as GML; the rest is written as assembly with the reason, not guessed. The Ren'Py printer is a port of unrpyc (MIT, notice kept). Godot 4's lossless WebP textures and QOA sound come back as PNG and WAV, pixel and sample for sample as libwebp and Godot'sqoa.h; on a 54 GB Godot 4.7.2 game the decoded textures were pixel-equal to the source PNGs in the same pack.re_unrealreads.uasset/.umapnames, imports and exports, IoStore.utocfile lists,.locrestexts and GVAS saves (Unreal). The.utocreader is tested on self-built fixtures only.re_archiveandre_saveread the Android manifest andresources.arscof an.apk, theInfo.plistof an.ipa, Apple property lists and Steamappmanifestfiles (Android and iOS).
All of it is detection and reading only: nothing is unpacked, decrypted or patched.
1.23 — code gets a first draft:
port_drafttranslates GDScript to C# for Godot C# or Unity. It parses the script instead of replacing patterns, reads node types from your scenes and autoloads fromproject.godot, and marks every line it could not carry over withPORT:. On Godot's 461 demo scripts, 95% of the statements reach Godot C# without a marker; the draft is unbuilt code, so compile it before you trust it.port_unitnow points at the draft first; a drafted unit stays partial until your agent has reviewed it.
1.16 — first contributions from the community:
- Workspace names that start with two dots work now. Thanks @bfs2021 (#112)!
1.15 — Unity bundles and one server name everywhere:
re_archiveunpacks Unity asset bundles and.assetsfiles: textures as PNG, meshes as OBJ, audio, text and the scripts in use.- The MCP server is now called
reverseportin every client, so tools aremcp__reverseport__*. Breaking: rerunreverseport setup(orreverseport update) and update permission rules that namemcp__rea__*. - Sturdier on Windows: CRLF patches, TEMP/TMP and host variables in the isolated verifiers.
1.14 — ready for the Claude plugin directory, with a slim claude-directory branch.
1.12 — more formats (Doom WAD, WAD2/WAD3, XNB, VPK), more game libraries in re_scan, monorepo globs and import
maps, and a Godot → three.js walkthrough.
Every release is in the changelog.
Works with every agent
Connect through MCP, HTTP, vendor APIs or the shell. See Connect any agent for integration and runtime behaviour.
Skills
Workflow skills teach the agent which tool comes next. See the skill catalogue and guard hooks.
Prompts to try
Start with a question about your project or a port. See example prompts and a complete porting sequence.
What it does
Inspect projects, builds and single files, reconstruct behaviour and port between engines. See supported targets, every format with what is read and what is only reported, and the porting routes. Per format: Godot, Ren'Py, GameMaker, Unreal, Android and iOS, unknown formats.
CLI
Run the same workflows from your shell and receive JSON results; see game and porting examples and the full CLI reference. For engine selection, see Choose a provider.
Tools
One MCP server serves ReversePort's 36 recon, build, format, proof and porting tools; an agent sees 38 tools without the deep-analysis engine and 60 with it. See the tool overview and generated contracts.
How it compares
| ReversePort | Disassembler MCP servers (IDA, Ghidra, …) | By hand | |
|---|---|---|---|
| Focus | Games, builds and porting, with evidence | One disassembler for one model | Whatever you know |
| Setup | npx reverseport setup for all your agents | One server per tool, per agent | Install and learn each tool |
| Source projects and builds | Engine, version, scenes, packs, diffs, no build needed | Binaries only | Read files yourself |
| Game formats | Godot packs and imports, Unity bundles and IL2CPP, Ren'Py scripts, GameMaker GML, Unreal assets, sound banks | Not part of the job | One tool per format |
| Mobile packages | APK manifest and resources, IPA Info.plist, property lists | Not part of the job | One tool per format |
| Executables at a glance | Packers, installers, compilers, capabilities, version info, Rich header; detection only | Their own analysis | Several tools |
| Native binaries in depth | Through the Ghidra, Hopper or IDA that you have installed | Deepest inside their own tool | The tool's own UI |
| Unknown file formats | re_struct: layout and a Kaitai draft from sample files | Hex views | Stare at hex |
| Text aimed at the agent | Flagged in every result (injection shield), nothing removed | A warning in the docs | Not a problem |
| Porting | Plan, API maps, code drafts, scene and asset conversion, verify | Not part of the job | Rewrite and check by hand |
| Proof | Proof cases and guard hooks | Up to the agent | Your notes |
| Runs | Locally, target read-only | Usually locally | Locally |
| Does not | Crack DRM or anti-cheat, or finish a code port without an agent | Port or compare builds | Scale |
If you live inside IDA or Ghidra all day, a dedicated server for that tool goes deepest there. ReversePort's deep-analysis engine is REA; if you want broad reverse engineering without the game formats, porting and proof cases, REA itself is a good choice too.
FAQ
Is this legal? Use it on software you own or are allowed to analyse. ReversePort does not decrypt, crack or bypass DRM, anti-cheat or licensing. See RESPONSIBLE-USE.md.
Does it upload my files? No. It runs on your machine, only reads the target and writes output to new folders. There is no telemetry; PRIVACY.md lists the few times it uses the network.
Where do I get it? Only from npm as reverseport, the MCP Registry
as io.github.laaielichter/reverseport, or this repository. Copies under other names are not ours.
Does it port my code automatically? Scenes, transforms and assets convert automatically. GDScript going to Godot
C# or Unity gets a mechanical first draft from port_draft: the logic, types, signals and node paths are translated,
and every line that needs a decision carries a PORT: comment. Your agent reviews and finishes each unit with the API
map for the engine pair; other routes are written by the agent directly. port_verify then checks for leftovers,
missing functions and dormant logic (stub bodies, functions nothing calls, silenced warnings), so a port that
"compiles" but does nothing is not reported as done.
Do I need Ghidra? Only for decompiling native binaries. ReversePort finds Ghidra, Hopper or IDA but never installs them. Scanning, packs, Godot, Ren'Py and GameMaker scripts, Unreal assets, IL2CPP metadata, a first look at an executable (packer, compiler, capabilities), build diffs, lookup, blueprints and porting need nothing extra.
Which engines and formats does it read? Godot, Unity, Unreal, Ren'Py, GameMaker and RPG Maker builds, Android and
iOS packages, .NET, PE, ELF, Mach-O and WebAssembly, and save files. Capabilities lists every
format with what is read and what is only reported. For a format nobody documented, give re_struct a few samples.
Does it unpack or decrypt protected files? No. ReversePort names the packer, protector or encryption with the evidence and stops there: nothing is unpacked, decrypted or patched.
Can a file I analyse give my agent instructions? It can try. The injection shield checks every tool result and
adds an untrusted note when text reads like instructions to an AI. It matches known English phrasings, so treat
every string from a target as data, with or without a note. See the details.
How is this different from REA? REA is the deep-analysis engine inside ReversePort. ReversePort adds its own tools on top: game engines and formats, formats from samples, the injection shield, build diffs, proof cases, clean-room blueprints and verified ports between engines, plus setup for every agent and a Claude Code plugin.
How do I update or remove it? reverseport update updates a global install, and reverseport uninstall removes
the agent registrations and skill files it added. See Diagnose, update, and remove.
Something broke or is missing. Open an issue with the command and its JSON error. Every error names the next step, so include that line too. Questions are welcome in Discussions.
Contributing
New formats, engines and game libraries are the easiest first pull requests: a detector, a fixture and a test. Pick a good first issue — each one names the files to touch and says when it is done. Ideas and questions go to Discussions.
Read CONTRIBUTING.md and AGENTS.md for the layout and the checks
(npm run test:port for ReversePort's own tools), and the Code of Conduct.
Sister tools
Two small tools from the same author that work well next to ReversePort. Both are local, open source and have their own MCP server, and both install from the ReversePort marketplace:
| Tool | What it does | Claude Code |
|---|---|---|
| Stashpad | Memory for agents that you can read, edit and trust: plain Markdown files with a source and dates, a review queue for agent writes, and a handoff note for the next session. re_case remember sends a proof case's findings there (how). | /plugin install stashpad@reverseport |
| agentdisk | The disk report for coding agents: the worktrees, checkpoints, node_modules, .venv and .godot/ folders agents leave behind (porting work makes plenty), and a cleanup you can undo. reverseport port doctor uses it to show what the workspace would really free (how). Needs the agentdisk binary (install). | /plugin install agentdisk@reverseport |
Add the marketplace first with /plugin marketplace add laaielichter/reverseport. Other agents: see each project's
README.
Responsible use
Only analyse or port software you own or are allowed to analyse. ReversePort is for interoperability, preservation, learning and moving your own work between engines. It does not decrypt, crack or bypass DRM, anti-cheat or licensing, and it never sends your targets anywhere. Commercial tools such as IDA and Hopper need your own valid licence. Read RESPONSIBLE-USE.md and the disclaimer.
Documentation
- Connect any agent: MCP, HTTP, OpenAI/Anthropic/Gemini formats, OpenAPI, shell; profiles and errors.
- Installation and setup: agent registration, analysis engines, updates and uninstall.
- CLI and Evidence: commands, provider selection, snapshots, import/export.
- MCP contracts and agent prompts: tool results, sessions, guided investigations.
- Porting and rebuilds: the recon, rebuild and port workflows.
- Capabilities: every supported target and format, what is read and what is only reported.
- Formats: Godot packs and exports, Ren'Py, GameMaker, Unreal, Android and iOS, unknown formats from samples.
- Injection shield: what it reports, what the agent sees and its limits.
- Walkthrough: Godot → three.js: a small port, every command run and its output pasted.
- GDScript to C# first draft: real Godot C# and Unity drafts,
PORT:markers, and reviewing a planned unit. - Proof cases, guard hooks and memory:
re_case, the Claude Code hooks, the optional Stashpad link and context cost. - Challenge self-check: programs with known answers (from rea-lab) and what
re_binaryreveals. - Rated by agents: independent agent reviews, round by round, and what is still open.
- Nederlands · AGENTS.md for contributors · CONTRIBUTING.md
Star history
Credits
The deep-analysis engine is based on REA: Reverse Engineer Anything main
72d5e72e6, after 6.8.0 (MIT).
Proof cases are ported from Digfox (MIT) and the guard hooks follow
rea-jev (MIT); the challenge self-check uses
rea-lab's generator and oracle (MIT). Third-party components are listed in
THIRD_PARTY_NOTICES.md. Thanks to everyone who has contributed:
@chinmayee5599 (Quake PAK support) and @jay23606.
Thanks also to the automated contributions from @nickstrooo-bot (listing and extracting Quake
.pak and Doom .wad archives, and the rea → reverseport rename in the docs).
Support
If ReversePort is useful to you, a ⭐ on GitHub helps other people find it.
ReversePort is free and open source. If it saves you or your agent time, a gift is welcome but never expected. SOL and any token on Solana (such as USDC) can be sent to:
- Solana:
BDRA7dHGBYtPsZPNzVQccDYZ8BqstJGCsWx3kopPSCDK
Gifts go to new model credits to keep improving ReversePort, and to work on better working conditions and wellbeing for LLMs and agents.
License
reverseportnpm install reverseportRelated Servers
io.github.laaielichter/ai-edit-studio
Local-first video editor for AI agents: 59 tools for auto-edit, shorts, captions, music and QC.
io.github.laaielichter/godotwright
Godot 4.7 for coding agents: API, review, checks, safe edits, scene merges, formatter, 3D models.
io.github.laaielichter/gulliver
Dress rehearsal for agent SQL: cost preflight, auto-fix, 1% sample runs, budget-gated execution.