Zaytun Project

Downloads

Ready-built copies of the Zaytun compiler and the terminal player, version 1.2.0 — built from the v1.2.0 tags of the two repositories. Every archive holds both programs, the language guide and the licence, and nothing else — there is no installer and nothing to configure.

You do not need any of this to play the games in a browser. You need it to compile a game of your own, or to play one in a terminal.

What changed in 1.2.0 is a page of its own. If you already have 1.0.0, read it before you upgrade: a game compiled by 1.0.0 will not play on this release, and recompiling it from source is the whole of the fix.

Choose your platform

Download Zaytun for Linux, 64-bit x86
Most desktop and server Linux. If you are not sure, this is the one.
zaytun-1.2.0-linux64.tar.gz · 372 KB · SHA-256 0b1e80c6b94cc7e6…
Download Zaytun for Linux, 32-bit x86
Older 32-bit x86 machines.
zaytun-1.2.0-linux32.tar.gz · 387 KB · SHA-256 c433b84fee14b863…
Download Zaytun for Linux, 64-bit ARM
Raspberry Pi 3 and later on a 64-bit system, and ARM servers.
zaytun-1.2.0-arm64.tar.gz · 363 KB · SHA-256 086631ac70c41751…
Download Zaytun for Linux, 32-bit ARM
Raspberry Pi on a 32-bit system, and older ARM boards. Hard-float.
zaytun-1.2.0-arm32.tar.gz · 343 KB · SHA-256 368d20ff632f2aaf…
Download Zaytun for Linux, 64-bit RISC-V
New in 1.2.0, and tested on a StarFive VisionFive 2 (JH7110). It writes bytecode byte-identical to the x86 build’s, and plays it.
zaytun-1.2.0-riscv64.tar.gz · 372 KB · SHA-256 464aae3615ff8c86…
Download Zaytun for Windows, 64-bit
Windows 7 and later on a 64-bit system.
zaytun-1.2.0-win64.zip · 579 KB · SHA-256 a116b25ea33a0d67…
Download Zaytun for Windows, 32-bit
Windows 7 and later on a 32-bit system.
zaytun-1.2.0-win32.zip · 581 KB · SHA-256 65ffdec95c6a2f6e…
Download Zaytun for FreeBSD, 64-bit x86
Built on FreeBSD 15.1, not cross-compiled.
zaytun-1.2.0-freebsd64.tar.gz · 382 KB · SHA-256 1960911a6a516232…
Download Zaytun for FreeBSD, 64-bit ARM
Cross-compiled on FreeBSD against the 15.1 arm64 base, and tested on a Raspberry Pi. It writes the same bytes as the amd64 build and plays them.
zaytun-1.2.0-freebsdarm64.tar.gz · 361 KB · SHA-256 e246e0e198524c77…

What is in the archive

Unpack it anywhere. Both programs are single files with no dependencies beyond the system C library, so you can put them on your PATH or run them from where they are.

Unpacking and running, on Linux.
tar xzf zaytun-linux64.tar.gz
cd zaytun-linux64
./zaytunc mygame.zaytun
./zaytunplay mygame.zaytunb

Editor support

Somebody who has just unpacked the toolchain is exactly the person who wants their editor to know what a .zaytun file is. There are three — VS Code, Emacs, and Vim with Neovim — all maintained here, and the editor support page has what each one does, how to install it without a plugin manager, and which of them checks its word list against the compiler.

Checking what you downloaded

Every archive is published with its SHA-256 beside it, in a SHA256SUMS file alongside the downloads, and this page prints the first sixteen characters of each so the two can be compared without downloading anything twice.

Checking an archive against the published sums.
sha256sum -c SHA256SUMS

Building it yourself instead

These binaries are built from the same source you can clone, with no patches. The whole toolchain needs a C compiler and nothing else, and zaytunc and zaytunplay both build with make — GNU make and BSD make alike, so on FreeBSD you can use either make or gmake.

Each also has a make cross that builds every binary the machine you are on can honestly produce. From Linux that is the six Linux and Windows builds; on FreeBSD it is the FreeBSD one, and the FreeBSD ARM build with FREEBSD_ARM64_SYSROOT= pointed at an unpacked arm64 base tree. It will not label a binary with a platform it was not built for, so running it on both machines is what produces the full set on this page.

A note on what is tested

Every binary here was built from the v1.2.0 tags and run before it was published. All nine compilers produced byte-identical bytecode for the same game — one file, one checksum, nine machines — and each of the nine players then played that bytecode. The file they all produced is also the one checked into the player's own test data, which is how a change to any of them would show up.

Saves cross machines too, and both halves of that were checked rather than assumed: a game saved by the 32-bit ARM build was restored by the 64-bit x86 one, and a game saved on FreeBSD was restored on Linux. A save is not tied to the machine that made it.

How each one was run is worth being plain about. Seven of the nine ran on real hardware: both x86 Linux builds — the 32-bit one runs natively on a 64-bit machine, which is what x86 is for, and needs nothing but the 32-bit loader; the FreeBSD x86 build, compiled on a FreeBSD 15.1 system rather than cross-compiled; all three ARM builds on a Raspberry Pi, the two Linux ones and the FreeBSD one; and the RISC-V build on a StarFive VisionFive 2, a JH7110, which is a real 64-bit RISC-V processor and not a simulator.

That leaves the two Windows builds, and they are the only ones here not run on the system they are for: they are cross-compiled and exercised under Wine, which runs the same instructions a real machine would but is not Windows. If one of them misbehaves for you, that is the most useful thing on this page to report.