ExcitingPress ReviewInteractive fiction · gamebooks

Tools & Platforms

Which player reads which story file? A lookup from file extension to interpreter

A reference table mapping Z-code and Glulx extensions to players such as Frotz, Nitfol, Glulxe, Git and Quixe, plus what Gargoyle bundles and why Twine games need none.

A text game usually arrives as a single file whose ending tells you what kind of virtual machine it needs. Pick the right player and it runs; pick the wrong one and you get an error. This article collects the mapping in one place.

Z-code files

Wikipedia’s article on the Z-machine says the modern convention for Z-code file names is an extension from .z1 to .z8, where the number is the Z-machine version the file is meant to run on, as given by the first byte of the story file. Wikipedia names Frotz and Nitfol among the popular interpreters. It says Nitfol uses the Glk API and supports versions 1 through 8, including the graphical version 6, and that Frotz was written in C by Stefan Jokisch in 1995 for DOS and later ported to other platforms.

Glulx files

The Glulx article says Glulx files have the extension .ulx but are commonly archived in Blorb packages, whose accepted extensions for a Glulx work are .gblorb, .glb, .blorb and .blb. It names Glulxe as the reference interpreter by Andrew Plotkin, says the Git interpreter is often used because it is somewhat faster, and lists a JavaScript interpreter called Quixe.

Lookup table

You have a file ending in Format Players named in the sources
.z1 to .z8 Z-code, version 1 to 8 Frotz, Nitfol (Wikipedia)
.ulx Glulx Glulxe, Git, Quixe (Wikipedia); Glulxe and Git (bundled in Gargoyle)
.gblorb, .glb, .blorb, .blb Blorb package that may contain a Glulx work As for Glulx
.html from Twine Story compiled to a web page A web browser

Wikipedia’s Interactive fiction article says some software, such as Twine, publishes directly to HTML, which reduces the need for an interpreter or virtual machine. That explains the last row.

One player for many formats

The Gargoyle project describes itself as an interactive fiction player supporting all the major formats. Its README lists the interpreters compiled into the package: AdvSys, Agility, Alan 2 and 3, Bocfel, Git, Glulxe, Hugo, JACL, Level 9, Magnetic, Plus, Scarier, Scottfree, TADS 2 and 3, and TaylorMade. Counting the list gives 15 entries. The README says its interpreters are freely distributable but copyrighted by their authors and covered by their own licenses. It also says Gargoyle can display any TrueType, OpenType or PostScript font specified in its configuration file.

Practical steps

  1. Read the file extension, not the website’s description of the game.
  2. If it is .z-something or .ulx, either install Gargoyle for a single player or choose the specific interpreter from the table.
  3. If it is a Blorb package, try a Glulx player first, since the extensions .gblorb and .glb are meant to signal a Glulx work. This article covers Glulx Blorb only; a Blorb file can also hold Z-code.
  4. If it is an HTML file, open it in your browser.
  5. Keep a copy of the file you downloaded and note where you obtained it, so you can check the download source later.

What we did not check

We did not test each interpreter on each platform. When a file will not open, read the game’s own page for instructions.

Sources

This article is written for: A reader has downloaded a text game file and does not know which program opens it.

AI assistance recorded as: AI draft, not edited. Review status: approved.