Repository navigation
zzt-rust v0.1 Beta
First public beta release of zzt-rust, a cross-platform Rust port of Tim Sweeney's ZZT 3.2 (1991) focused on behavioral and file-format fidelity.
Play right now in your browser: https://duhubz.github.io/zzt-rust/
Highlights
- Native IBM EGA graphical window (default): Authentic 8×14 IBM EGA CP437 bitmap font (
640×350), sharp-bilinear scaling,4:3 CRT/Nativeaspect ratios, optional CRT scanlines (Off/Light/Strong), andAlt+Enterfullscreen. - Classic terminal mode (
--tui): Full 80×25 TUI with IBM CGA 16-color palette, monochrome mode, and 1.875 Hz hardware-accurate text blink. - Browser player (HTML5 / WebAssembly): Play
DEMO.ZZTor drag-and-drop any.ZZT,.SAV, or.JSONworld directly in the browser with WebAudio PC-speaker sound and.SAV/.JSONexport. - Complete ZZT 3.2 gameplay & ZZT-OOP: All original elements and AI, dark rooms and torches, multi-player clones, passages, board transitions, high scores (
.HI), DOS-compatible.ZZT/.SAVsaves,ZZT.DAThelp resources, and?debug commands. - Built-in world editor: Press
Efrom the title menu or runzzt-port --edit <world.zzt>. - Authentic timing & PC-speaker audio: 18.2065 Hz PIT-quantized cycles and 4.5 kHz low-pass-filtered square-wave PC-speaker synthesis.
- Gamepad & keyboard support: Keyboard controls plus cross-platform controller support (XInput, DirectInput/WGI, Linux
evdev, macOS HID, and HTML5 Gamepad API). - JSON tooling: Export/rebuild worlds with
--dump-jsonand--from-json.
What's in the Downloads
Prebuilt archives are available for Windows (x86_64), Linux (x86_64), and macOS (aarch64), along with SHA256SUMS.txt.
Each native archive includes:
zzt-rust/zzt-rust.exe- Shareware
TOWN.ZZTandTOWN.HI(loaded by default on launch) - MIT-licensed Reconstruction
DEMO.ZZT,ZZT.DAT, and.HLPhelp resources (runzzt-port DEMO.ZZTto play the demo) README.md,LICENSE, andNOTICE
To play other worlds (for example from the Museum of ZZT), drop .ZZT files into the folder or run zzt-rust <world.zzt>.
Fidelity & Notes
- Reference-verified: All 285 routines in The Reconstruction of ZZT are audited and test-pinned, and gameplay has been cross-checked against genuine
ZZT.EXE3.2 under DOSBox-X across 46 official and community worlds. - AI-assisted development: This project was built with AI assistance and verified against the reference source and DOSBox-X oracle.
- Unsigned beta binaries: Release builds are not yet code-signed, so Windows SmartScreen or macOS Gatekeeper may prompt on first launch.
Feedback, bug reports, and edge-case .ZZT worlds are welcome in Issues!