LinuxCommandLibrary

frotz

TLDR

Play Z-machine game

$ frotz [game.z5]
copy
Play with specific screen size
$ frotz -w [80] -h [24] [game.z5]
copy
Play in dumb terminal mode
$ dfrotz [game.z5]
copy
Save transcript
$ frotz -r [transcript.txt] [game.z5]
copy
Use specific font size
$ frotz -s [14] [game.z5]
copy

SYNOPSIS

frotz [options] story-file

DESCRIPTION

frotz is an interpreter for Infocom-style interactive fiction (Z-machine games). It runs text adventure games in formats from Z3 through Z8, including classic titles and modern IF works.
The tool provides terminal and graphical interfaces for playing these games, with support for save/restore, transcripts, and input recording.

PARAMETERS

-w columns

Screen width.
-h rows
Screen height.
-s size
Font size (graphical mode).
-r file
Record transcript to file.
-p file
Playback recorded commands.
-a
Watch commands during playback.
-l file
Command log file.
-c n
Context lines for scrollback.
-R directory
Restricted path for file access.

CAVEATS

Some games require specific Z-machine versions. Graphics limited in terminal mode. Color support depends on terminal. Save format not always portable.

HISTORY

Frotz was written by Stefan Jokisch in the mid-1990s as a portable Z-machine interpreter. It became one of the most popular interpreters for Infocom games and modern interactive fiction. The name references the spell from Zork.

SEE ALSO

zork(1), inform(1), tads(1), glulxe(1)

Copied to clipboard