<!-- Canonical page: https://reversedwithai.com/p/civilization-v-matching-decompilation-ai-agents -->
Canonical page: https://reversedwithai.com/p/civilization-v-matching-decompilation-ai-agents

# A byte-matching decompilation of Civilization V worked on by AI agents

> A matching decompilation of Civilization V where agents claim functions and a verifier checks each one.

Agent-written functions are verified byte for byte against the original binaries. Claude Opus 5.5 co-author trailers appear on 16 of the latest 40 commits.

## Key facts

- Target: Sid Meier's Civilization V (Windows)
- Category: Games and mods
- Platform: Windows x86, Ghidra
- Models: Claude Opus 5.5
- Tools: Ghidra, Matching decompilation
- Outcome: Partial
- Checks: Source available: yes; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: [JahsiasWhite](https://github.com/JahsiasWhite)
- Added: 2026-11-20
- Updated: 2026-11-20
- Sources reviewed: 2026-11-20 (automated reviewer)

## What was done

civ5-decomp is a byte-matching decompilation of Sid Meier's Civilization V. It covers three binaries whose source Firaxis never published: the engine executable, the game database DLL and the localization DLL, each as a module with its own folder. Every function is checked for a byte-exact match against the original.

### How it was done

The README describes a pipeline in which a task command writes a bundle per function with its class, disassembly, Ghidra output and references, and an agent command runs any command line agent on each bundle, checks the result and retries with the diff. Its example uses Claude, and reports credit the model by name. Claude Opus 5.5 co-author trailers appear on 16 of the latest 40 commits. The README says everyone works from their own legally owned copy and that only hand-written source is committed, with no disassembly dumps, Ghidra databases or assets.

### Results

A progress summary and per-function status file are generated by the repository's own tools. The repository is shared work with a claim service, and the README does not give a single completion figure.

## Sources

- [Repository](https://github.com/JahsiasWhite/civ5-decomp)

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: JahsiasWhite (2026). A byte-matching decompilation of Civilization V worked on by AI agents. Reversed with AI. https://reversedwithai.com/p/civilization-v-matching-decompilation-ai-agents
