How it is built
At a glance
RustyZoo is a fan-made, open-source remake of the Zoo Tycoon (2001) engine, written in Rust. The figures on this page come from GitHub, as of 1 December 2026.
The goal
The first goal is a faithful copy: the same rules, the same timing and the same results as the original game. Only when that is reached does a second build follow, an enhanced one made from the same source.
Bugs found in the original along the way are not fixed in the faithful build. They are recorded as issues with an original-bug label, so that the later build can deal with them. There are 85 such issues so far.
One maintainer, several AI agents
One person directs the project. They make every decision, answer every open question, and test the result against the original game, including on a real Mac.
Most of the routine work is done by AI agents. Each agent has a role and a fixed written set of instructions, and the roles are kept apart on purpose:
- Orchestrator. Plans the work and hands it out through milestones and a public project board. Every task and decision is a GitHub issue.
- Analysts. Study the original program, using a disassembler and decompiler and by watching the original game run under Wine on a virtual display, driven by scripted inputs. The running original is called “the oracle”. Analysts write behaviour specifications.
- Developers. Implement one issue per pull request, working only from the specifications. They never see the original's code.
- Reviewers. Check each pull request against the specifications and against the original, write a small reproduction script, and post a single verdict.
- Clerk. Keeps issues, labels and the board tidy. It decides nothing.
Clean room
The people and agents who read the original program are not the ones who write the engine. The analysts describe what the original does, in specifications. The developers implement from those descriptions alone.
The specifications are private, because they describe the original program. The engine and its tests are public, under GPL-3.0-or-later. The repository contains no original code, no original assets and no original text. To play, you bring your own copy of the game, or use one of the two free official trials that Microsoft still hosts. RustyZoo never redistributes them.
How a change gets in
Every change starts from an issue and arrives as one pull request. Pull requests are merged one at a time, as squashed commits. Before a pull request is opened, a local gate must pass:
- formatting check;
- lint check, with warnings treated as errors;
- unit tests;
- the tests that need the full game data;
- the asset and map commands run over the free trial data.
The reviewer then checks the change against the specifications and the original. The reviewer's reproduction script is run again on the merged result before the merge.
How the tests check the engine
Development is test-based. Beyond the usual unit tests, three kinds of check carry most of the weight.
Continuous integration on three systems
Every change is built and tested on Windows, macOS and Linux.
A deterministic simulation hash
The simulation can run without any window for a fixed number of steps and print one hash of the whole state: tiles, entities, animals, guests and staff, money, calendar and the random generator. The same zoo must give the same hash on all three systems. CI compares them. If one system drifts, the build fails.
Pinned frame hashes
Real game scenes are drawn without a window, and the hash of each drawn frame is pinned in the tests. A change that alters a picture alters its hash, so a visual regression cannot pass unnoticed.
A picture gallery
Each pull request that changes what is visible produces pictures automatically. They go into the separate screenshots repository, one folder per milestone, with pictures of the original game next to them for comparison. A README per milestone says which command made each picture. You can compare progress without building anything: the gallery shows them all.
Milestones
The work is split into ten milestones, M0 to M9. The dates are when each one closed on GitHub.
The repository was created on 13 October 2026. It has 659 merged pull requests, 869 closed issues and 174 open ones.
- M0Foundations13 Oct 2026A window, an audio device, builds on Windows, macOS and Linux. 5 issues closed.
- M1Assets14 Oct 2026Reads the game's archives and file formats. 19 issues closed.
- M2Static world14 Oct 2026Draws every map as the original does: terrain, relief, paths, fences, buildings, animals. 23 issues closed.
- M3Window14 Oct 2026The game loop at the original's timing; scrolling, zoom, rotation, sound. 29 issues closed.
- M4UI15 Oct 2026Windows and buttons built from the original layout files, the main menu up to loading a map. 60 issues closed.
- M5Building15 Oct 2026Terrain, paths, fences, scenery, buildings and exhibits, and paying for all of it. 62 issues closed.
- M6Life25 Oct 2026Animals, guests and staff, driven by the game's own behaviour scripts. 260 issues closed.
- M7Full game15 Nov 2026Saved games, research, scenarios, awards, translations. 915 issues closed.
- M8Packagingin progressReady-to-run releases for Windows, macOS and Linux. 90 issues closed, 15 open.
- M9Beyond the originalafter parityThe enhanced build.
What this means for you
What is reliable
- The file formats and the data readers. They are exercised on the full game and on both free trials, on three systems.
- Drawing maps and the interface as the original does, backed by pinned frame hashes and the picture gallery.
- A freeform zoo can be played: build exhibits, adopt animals, hire staff, and guests come in, pay and walk the paths.
- The simulation is deterministic: the same zoo gives the same result on Windows, macOS and Linux.
- The engine can be read in full, and every change has a public trail of issue, review and tests.
What is not yet
- It is pre-alpha. In progress now, M8 Packaging: Ready-to-run releases for Windows, macOS and Linux.
- Ready-to-run versions are on the release page.
- The enhanced build does not exist yet. It starts only after the faithful build is complete.
- Faithful means checked against the original by the maintainer and by tests, not proven. If you find a difference, open an issue.
Links
- Engine repository: github.com/RustyZoo/RustyZoo
- Project board: github.com/orgs/RustyZoo/projects/1
- Screenshots: github.com/RustyZoo/screenshots