zt1-engine

zt1-engine is a Zoo Tycoon 1 engine port for Windows that rebuilds the original game for modern PCs with bug fixes and optional extras.

README

            _____________ __            
           |___  /__   __/_ |           
              / /   | |   | |           
             / /    | |   | |           
            / /__   | |   | |           
           /_____|  |_|   |_|           
                                        
 ______ _   _  _____ _____ _   _ ______ 
|  ____| \ | |/ ____|_   _| \ | |  ____|
| |__  |  \| | |  __  | | |  \| | |__   
|  __| | . ` | | |_ | | | | . ` |  __|  
| |____| |\  | |__| |_| |_| |\  | |____ 
|______|_| \_|\_____|_____|_| \_|______|

An open-source engine for Zoo Tycoon 1 on modern Windows: the original game, rebuilt to 2026 standards, for everyone to play, mod and improve.

Latest release Status: alpha Platform: Windows License: MIT

Get it  ·  What works  ·  Modding  ·  Contribute  ·  Roadmap  ·  Q & A  ·  Forks


The ZT1-Engine main menu

The ZT1-Engine main menu, drawn from your own copy of Zoo Tycoon.

Think of it as OpenRCT2 for Zoo Tycoon. The original game is the spec. Every rule (animal happiness, guest needs, the zoo rating, prices, research, escapes, predators) is recovered from the original zoo.exe and checked against it, not guessed. The game plays as it always did, only on today's PCs, at any window size, with bugs fixed and with optional extras you can switch on.

Note

You need your own copy of Zoo Tycoon. The engine ships none of the game's art, sound or files: it imports them from your install the first time it runs.

Important

Status: alpha. The base game's freeform mode is playable and being polished against the original. New alphas come out regularly. Expect rough edges, back up saves you care about, and please report anything that behaves differently from the original.


Why this exists

Zoo Tycoon 1's engine has no documentation, no source, no support from Microsoft and almost nobody left who knows how it works. It was built to run one game, in 2001, and it shows its age on modern Windows.

This project rebuilds that engine in the open so the game can live on. The goals are:

  1. Faithful. It does what the original does, measured against the original running side by side. Changing the original game is not the point.
  2. Better on today's PCs. Any resolution, a scaled UI, sharper drawing, fixes for old crashes and bugs.
  3. Optional extras, never forced. Everything beyond the original is a switch, and switched off you get the original's behaviour exactly.
  4. Open to everyone. The engine, the tools and the knowledge about the original are here for anyone to use, learn from, fork and build on. The aim is that nothing about how Zoo Tycoon works stays secret sauce.
  5. Friendly to new programmers and modders. Clear code, notes on where every rule came from, and tools that make reverse engineering and modding approachable for people who've never done it.

This is made out of love for the game. It isn't affiliated with Microsoft or Blue Fang Games.


Getting it

WhereWhat
GitHub ReleasesEvery alpha, with release notes
CodeRookThe same builds, as releases of the zt1-engine project (the game and the Lab update from there first)

Both places get the same three files with each alpha. Two of them play the game; the third is for looking inside it.

DownloadWhat it is
ZT1-Engine-Setup-<version>.exe — 4 MBThe engine. Get this one. An installer, no admin prompt. Start ZT1-Engine and it finds your Zoo Tycoon by itself (or asks you once where it is), reads the game where it's installed without ever changing your game's folder, and offers each new alpha at the main menu.
ZT1-Game-Build-<version>-win64.zip — 3 MBThe other way to play. A folder that runs on its own, like the first alpha: unzip it anywhere and run start.bat. The first time it copies your Zoo Tycoon's files in beside the engine, and for that it needs Python 3 installed. After that the folder plays by itself, but it doesn't update itself — download the next one when it's out.
ZT1-Lab-Setup-<version>.exe — 570 MBNot needed to play. The workbench the engine is developed with: it reads your own zoo.exe, shows what each address in it does, records which code runs in which situation, and edits and builds this engine's C++ beside it.

Every download has its .sha256 beside it, so you can check what you got.

The ZT1 Lab, if you want it

The Lab is for anyone who wants to know how Zoo Tycoon and this engine actually work. Playing does not need it, and it is a 570 MB download — skip it unless that sentence describes you.

It installs the same way, for you alone with no admin prompt, and everything it needs is inside it: the decompiler (Ghidra) and the Java it runs on, an embeddable Python with the packages its tools use, and its knowledge base. There is nothing to install first. Like the engine, it ships none of the game's files — it reads your own copy where it is.

You can point it at the engine's source to edit and build, or let it use what it carries. How it works: lab-app/README.md.

Each download's own README has the rest.

What you need

  • Windows 10 or 11, 64-bit
  • Zoo Tycoon 1. The base game is enough; the Complete Collection works too.

Linux / macOS: this repository focuses on the Windows build (see the Q & A and Forks & Related Projects below). For Linux or cross-platform work, see sharkwouter's zt1-engine, its openztc branch, or any of the community forks listed below.


What works now

The base game's freeform mode is the focus, and most of it works as in the original:

  • Menus and screens: loading screen, main menu, freeform and scenario selection, credits, the in-game HUD and panels, tooltips, messages.
  • Saving and loading: original .zoo imports, shared .zoo saves with a compatible world for the original and full engine state, engine-only .zt1save files, the original's file dialogs and Continue Saved Game. Exact original save-state parity remains incomplete. See the release notes.
  • Building: terraforming, paths, every fence type and gate, exhibits, scenery, foliage, rocks, buildings and shops, shelters and toys; the bulldozer and undo.
  • Animals: adopting and selling, the original's behaviours and animations, eating, drinking, sleeping, swimming, exhibit suitability and happiness worked out as zoo.exe does, breeding, illness, old age.
  • Escapes and predators: jumpers jump, climbers climb, bashers break fences. Loose meat-eaters chase guests and keepers dart and crate them. Predators hunt their prey in exhibits.
  • Guests: arriving by the zoo's rating, needs, shops, tours, donations, thoughts, litter, fleeing.
  • Staff: zookeepers, maintenance workers and tour guides, with hiring, firing and duties.
  • The zoo's business: zoo rating, admissions, marketing, finances, graphs, research and conservation, freeform goals and awards, private foundation donations.
  • Scenarios: each scenario starts with its goals, time limit, money settings and locked items; animals and items arrive as you meet its goals, and it ends with the original's win or lose. Wins are remembered, so later scenarios open and each tutorial leads on to the next. The tutorials' step-by-step popups and some scenario events are still being copied.
  • Sound: music, ambience, crowds, guests, animals and buildings.

Marine Mania (Complete Collection) is in: tanks, marine animals, tank filters, Marine Specialists who climb in, feed and clean underwater as in the original, and scheduled animal shows with their tricks, audiences and income. Dinosaur Digs has started: dinosaurs, eggs and DRT capture work, and the rest is still being checked against the original.

Graphics and Game Options

Game Options is a window with every setting, opened from the in-game disk button or the main menu. Each page is one list you scroll, with the setting under the mouse explained at its foot. Switch it off (Controls › Game Options) to get the original's side panel back.

  • Display: window, borderless or full screen at any resolution, a frame rate limit, vertical sync, brightness, the graphics API (Auto, Direct3D 11, OpenGL or Vulkan) and HDR output for HDR monitors (experimental).
  • Quality presets: Low, Medium, High or Ultra, with an Auto-detect button. The first start picks one to suit the PC: Low on laptops and other built-in graphics, High on a graphics card.
  • Interface size: menus and panels scaled to suit a big screen, from 0.5x up.
  • Art upscaling: how the 2001 art looks when drawn bigger: FSR (AMD's upscaler, on the graphics card), Stylized, Sharp, Smooth or MMPX pixel-art scaling, with an Art Sharpness slider.
  • Effects: anti-aliasing (FXAA), bloom, a tilt-shift miniature look, contrast and vibrance, a vignette and film grain. They apply to the zoo only, never the menus, and all are off unless you pick them.
  • Day and night: an optional twelve-minute day with sunrise and sunset, sun shadows in each object's real shape, and buildings, lamps, signs and fires that light up at night. Its own settings set the shadow quality and range, the light on animals and guests, lamp light, and whether the lighting is worked out on the graphics card or the processor.
  • Game speed: an optional button beside Pause for normal, 2x and 5x speed. While it or day and night is on, a 24-hour clock shows beside the date.
  • Accessibility: colour-blind filters and a bigger mouse pointer.
  • HD art (optional mods): zoomed in, the map's art can be drawn from much bigger HD pictures. See Modding.

The game runs on SDL3 and draws with Direct3D 11 by default, the fastest on Windows, with every setting above; with Direct3D 11 the day and night lighting is worked out on the graphics card. OpenGL and Vulkan can be picked instead. Only shader mods, which are written for OpenGL, switch the game to OpenGL.

The zoo at night, lit by its lamps, windows, signs and carousel bulbsLate afternoon: long sun shadows in each object's real shape
Day and night: lamps, windows, signs and bulbs light the zoo after dark, with a 24-hour clock beside the dateSun shadows in each object's real shape, long and warm towards sunset
The Game Options window on its Gameplay pageRaised walkways
Game Options: every setting in one window, the engine's additions each a switchRaised walkways, an optional extra

Optional extras

Each is a switch; off means the original's behaviour. They're on the Gameplay, Controls, Graphics and Mods pages of Game Options (or in the dev console: features, set <name> on|off). Among them:

SwitchWhat it does
allunlockedevery item available in freeform from day one
fencemodes / pathmodesfence and path drags that can bend; Tab cycles the shape
elevatedpathsraised walkways and stairs, from the original's path art
staffpaths / smoothroutesstaff keep to paths; walkers take straighter routes
maptooltipshints over the map, not only on buttons
hotkeysEsc / right-click put tools away, Ctrl+Z undoes, Q/E rotate, F11 full screen
daynightthe day and night cycle and its lighting
fastforwardthe game speed button (with day and night, it brings the 24-hour clock)
dragwindows / smartstackdrag any window by its title; windows step aside instead of covering each other
tankclip / tankgroundback / nofenceonpathtank animals cut off at the glass; the ground put back when a tank goes; no fences across paths
mods / modmenu / custommapsload mods; the Mod Menu; freeform maps made in the Lab
suitabilityadviceFull exhibit advice: while an exhibit is less suitable than its animals want, their recommendations name each thing holding it back
infinitemoneya cheat: buy anything, whatever your cash

Modding

Mods use the game's own kind of files. A mod is a folder in mods/ with a mod.json (name, author, version, about, replaces) and .ztd archives holding files under their game paths. They take the place of the originals while switched on, the same way the original game's own patches work. The full guide is docs/MODDING.md.

  • The Mod Menu turns your mods on and off, shows each one's details and pictures, and browses the mod repository: mods other players have uploaded, checked (the rules and a virus scan) and ready to download in the game. Big mods download in parts, so a dropped connection only costs one part.
  • Old Zoo Tycoon downloads (.ztd files from fan sites) can be added straight from the Mod Menu.
  • Mods can have settings, shown on their own page in Game Options › Mods.
  • Shader mods bring their own looks: art shaders for the map's art and screen shaders for the whole picture. The bundled Toon mod is one.
  • HD art mods replace the map's art with pictures four times the size, used when you zoom in. There are three, one each for Zoo Tycoon, Marine Mania and Dinosaur Digs, arriving in the repository part by part. Their art is the game's own, enlarged on the author's PC by Real-ESRGAN, an open-source upscaler; that's why they carry the AI tag. An HD art mod adds a Graphics card memory setting: kept compressed (the default), its pictures take a quarter of the graphics card's memory.
  • The ZT1 Lab makes mods without code: new animals from your own art, buildings, scenery, fences, staff and guest looks, freeform maps, theme packs and HD art, then checks and uploads them to the repository.
The Mod Menu with an HD art mod picked: its cover, details and sizeThe mod repository in the Mod Menu, with each mod's picture
The Mod Menu: your mods with their pictures and sizes, sorting, and the mods folder on any driveThe mod repository: checked mods to download in the game
HD art: giraffe, dolphin, grizzly bear and cheetah before and afterThe ZT1 Lab making a new animal: its pictures and values
HD art mods: the game's own art at four times the detailThe ZT1 Lab: a new animal made from your own art, with its values

Tools for contributors: the ZT1 Lab, and AI agents

The ZT1 Lab (lab-app/) is the workbench this engine is built with, and it's yours to use too. It's a desktop app that puts everything in one place:

  • the original's code, through Ghidra;
  • the game's files;
  • our engine's code, with a build button;
  • a test zoo where you can step through the engine's logic live;
  • the original game running alongside, for recording what it does.

Its Explore view answers "where is X in the original, and do we have it yet?". See lab-app/README.md.

The ZT1 Lab's Test Zoo: a custom animal in its exhibit, with the Inspector showing its needs live

The Test Zoo: the engine running inside the Lab, here with a custom animal, its needs shown live in the Inspector.

Use it with your own AI agent. The Lab comes with an MCP server (lab-app/mcp/server.js), so any agent that speaks MCP can drive the Lab: Claude Code, Codex, Cursor, VS Code / Copilot, Gemini CLI, and others. That covers searching the original's functions, reading their code, editing and building the engine, placing things in the test zoo and reading what happened.

  • It runs on your own PC only (it talks to the Lab on 127.0.0.1).
  • Everything it does happens visibly in the Lab's window.

Claude Code picks it up from this repo's .mcp.json by itself. Other agents need one entry in their MCP settings:

{ "mcpServers": { "zt1-lab": { "command": "node", "args": ["lab-app/mcp/server.js"] } } }

(Use the full path to server.js if your agent doesn't start in the repo's folder.) Start the Lab first, with lab-app/ZT1 Lab.cmd.

Using an agent is entirely optional. Everything it can do, you can do by hand in the Lab.


Contributing

Everyone is welcome: players reporting bugs, modders, and programmers of any level. See CONTRIBUTING.md for how to build, how the code is laid out, and the one big rule: the original game is the spec.

The most useful thing anyone can do is report a difference from the original: what you did, what the original does, what the engine does, with screenshots or a saved zoo.

You're also free to fork it and take it your own way. That's what open source is for.


Roadmap

  1. Base Zoo Tycoon freeform, one to one with the original. Every system checked against zoo.exe, function by function.
  2. An options menu for the extras, and a friendlier mod menu (done: the Game Options window, the Mod Menu and the mod repository).
  3. Scenarios: goals, time limits, unlocks, winning and losing are in; the tutorials' steps and the remaining scenario events are next.
  4. Marine Mania and Dinosaur Digs: tanks, marine animals, specialists, scheduled shows, dinosaur eggs and DRT capture are implemented; wider expansion parity remains in progress.
  5. The original's .zoo saves: imports and shared original-compatible export are implemented. Exact AI/task continuation and remaining state conversion still need work.
  6. Graphics for today's PCs, always optional: quality presets, Direct3D 11, OpenGL and Vulkan, and lighting on the graphics card are in; HDR output is experimental. Next: more of what a modern game's graphics page offers, such as smoother zoomed-out art and ambient occlusion, each one a switch that's off unless you pick it.

How it's made (and AI)

The original's rules are recovered by reading zoo.exe's machine code (in Ghidra) and by watching the original run side by side with this engine. That'