<!-- Canonical page: https://reversedwithai.com/p/open-rise-of-nations-macos-engine-claude-code -->
Canonical page: https://reversedwithai.com/p/open-rise-of-nations-macos-engine-claude-code

# Rebuilt the Rise of Nations engine as a native Mac app from Ghidra specs, with Claude Code

> A from-scratch Mac engine for a 2003 RTS, built from 30+ written specs.

Ben Wright reverse engineered Rise of Nations: Extended Edition in Ghidra, wrote a spec per system, and had Claude Code write the C++ for OpenRiseOfNations, an early but playable native macOS engine.

## Key facts

- Target: Rise of Nations: Extended Edition
- Category: Games and mods
- Platform: Windows to macOS (Metal)
- Models: Claude Opus 5.5
- Tools: Claude Code, Ghidra
- Outcome: Partial
- License: GPL-3.0
- Checks: Source available: yes; Repro steps: yes; Real hardware: not reported; Verified by others: not reported
- Author: [Ben Wright](https://github.com/ben-wright-1)
- Added: 2026-10-18
- Updated: 2026-10-18
- Sources reviewed: 2026-10-18 (editor)

## What was done

Ben Wright rebuilt the engine of Rise of Nations: Extended Edition, his favourite childhood strategy game, as OpenRiseOfNations, a native macOS app. He studied the original in Ghidra and wrote specs in his own words; Claude Code then wrote the C++ from them while he reviewed. The README credits heavy use of Claude Code, directed and reviewed by the maintainer, and commits carry a Claude Opus 5.5 co-author line.

## Specs first

The game ships with full debug symbols for its executable. Each subsystem, from terrain and movement to combat, economy, AI and scripting, was reverse engineered and written up in a specification that cites original functions by name and address. Most specs come with a small JavaScript reference tool that reads the game's data. The C++17 code was written from the specs and checked against those tools, often byte for byte: the damage table matches on all 169,312 attacker and target pairs. The simulation has been checked only against reference tools derived from the original code, not against recorded games.

## Playing it

The README calls the alpha early but playable. It runs on Apple Silicon and Intel Macs with Metal. You can load the tutorials and stock scenarios, command units, gather, build a city and fight a computer opponent that builds, expands and attacks. The game's own script language runs through a compatible compiler and virtual machine. Not yet done: random maps and the skirmish setup screen, the Conquer the World campaign, multiplayer, saves and replays, garrisons, heroes, transports and aircraft.

It reads the art and data from your own copy of Rise of Nations: Extended Edition (the Windows game files on your Mac) and ships no game files. You need macOS 12 or newer with Metal. Download the dmg from Releases, drag the app to Applications and use Control-click then Open the first time, since it is not notarised. Building from source needs the Xcode Command Line Tools and bash build-mac.sh.

Sources:
- https://github.com/ben-wright-1/OpenRiseOfNations

## Human work and limitations

The author did the Ghidra work and wrote each spec himself, then directed and reviewed Claude Code. The simulation is only checked against reference tools so far, not recorded games.

## What the commit history shows

3 of 3 commits in the public repository credit an AI, over 1 day between 2026-10-13 and 2026-10-13. Credited: Claude Opus 5.5 (3).

Measured by this site from public git history.

## Questions about Rise of Nations: Extended Edition

### What is the Rise of Nations: Extended Edition project?

Ben Wright reverse engineered Rise of Nations: Extended Edition in Ghidra, wrote a spec per system, and had Claude Code write the C++ for OpenRiseOfNations, an early but playable native macOS engine. It is listed under Games and mods for Windows to macOS (Metal).

### Which AI model was used on Rise of Nations: Extended Edition?

The entry names Claude Opus 5.5. The tools named alongside are Claude Code and Ghidra.

### Did the AI reverse engineering of Rise of Nations: Extended Edition work?

Its author reports that it partly works. Checks recorded: source available yes, repro steps yes.

### Is the source code for Rise of Nations: Extended Edition available?

Yes. The code, patches or tooling are public: https://github.com/ben-wright-1/OpenRiseOfNations. Licence: GPL-3.0. The sources give enough steps to reproduce it.

## Sources

- [Repository](https://github.com/ben-wright-1/OpenRiseOfNations)
- [Discussion](https://x.com/benw_____/status/2111116976168779845)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: Ben Wright (2026). Rebuilt the Rise of Nations engine as a native Mac app from Ghidra specs, with Claude Code. Reversed with AI. https://reversedwithai.com/p/open-rise-of-nations-macos-engine-claude-code
