# Frotz

> Built from commit 3effc4a043e0 on 2026-11-24. The current build: https://abdess.github.io/retrobios/version.json

Source: https://abdess.github.io/retrobios/emulators/frotz/

Frotz emulates Infocom Z-Machine.

**About this profile**

| Detail | Value |
|---|---|
| Type | standalone |
| Classification | Game engine |
| Source | [https://gitlab.com/DavidGriffith/frotz](https://gitlab.com/DavidGriffith/frotz) |
| Version | 2.56pre, stated in [`Makefile`](https://gitlab.com/DavidGriffith/frotz/-/blob/042d7bcadc1e2a8090cf737c841d8b7fc14b6eff/Makefile) |
| Revision | [DavidGriffith/frotz@042d7bcadc1e](https://gitlab.com/DavidGriffith/frotz/-/commit/042d7bcadc1e2a8090cf737c841d8b7fc14b6eff) |
| Run by | [Recalbox](https://abdess.github.io/retrobios/platforms/recalbox/), [RetroPie](https://abdess.github.io/retrobios/platforms/retropie/) |
| Profiled | 2026-10-17 |
| Profile | [YAML](https://github.com/Abdess/retrobios/blob/main/emulators/frotz.yml), [JSON](https://abdess.github.io/retrobios/api/v1/emulators/frotz.json) |
| Cores | frotz |
| Systems | [Infocom Z-Machine](https://abdess.github.io/retrobios/systems/infocom/#z-machine) |

**Technical notes**

Z-machine interpreter for Infocom and Inform story files (versions 1 to 8). Recalbox builds the SDL front end, sfrotz, and launches it with a generated config file and the story file.

sf_initfonts() builds the text and fixed-width fonts from the bitmap compiled into sf_deffont.c (ref: [`src/sdl/sf_deffont.c:22`](https://gitlab.com/DavidGriffith/frotz/-/blob/042d7bcadc1e2a8090cf737c841d8b7fc14b6eff/src/sdl/sf_deffont.c#L22)) and the character graphics font from SF_font3 (ref: [`src/sdl/sf_fonts.c:990-1000`](https://gitlab.com/DavidGriffith/frotz/-/blob/042d7bcadc1e2a8090cf737c841d8b7fc14b6eff/src/sdl/sf_fonts.c#L990-1000)). TrueType fonts are loaded only when the config file names them under [Fonts] (ref: [`src/sdl/sf_resource.c:401-412`](https://gitlab.com/DavidGriffith/frotz/-/blob/042d7bcadc1e2a8090cf737c841d8b7fc14b6eff/src/sdl/sf_resource.c#L401-412)), and a font that fails to load is reported and skipped (ref: [`src/sdl/sf_fonts.c:970-984`](https://gitlab.com/DavidGriffith/frotz/-/blob/042d7bcadc1e2a8090cf737c841d8b7fc14b6eff/src/sdl/sf_fonts.c#L970-984)). No default font path exists.

Pictures and sounds come from the story's Blorb data or from loose resource files under the [Resources] Dir setting, "./" by default (ref: [`src/sdl/sf_resource.c:74`](https://gitlab.com/DavidGriffith/frotz/-/blob/042d7bcadc1e2a8090cf737c841d8b7fc14b6eff/src/sdl/sf_resource.c#L74), [`415`](https://gitlab.com/DavidGriffith/frotz/-/blob/042d7bcadc1e2a8090cf737c841d8b7fc14b6eff/src/sdl/sf_resource.c#L415)). Both belong to the game.

No BIOS or firmware files required.

fonts compiled into the binary, external TrueType fonts only when the user config names them

## Next steps

- [Get the files](https://abdess.github.io/retrobios/which-pack/), for the setup in use
- [Every system](https://abdess.github.io/retrobios/systems/), and the files each one needs
- [When a game does not start](https://abdess.github.io/retrobios/wiki/troubleshooting/)

Data as of 24 November 2026.
