Reference
Home · Reading guide · The engine in ten minutes
In brief
The reference holds what the two first parts of the book rely on, entry by entry: the named values the game uses, the structures it keeps in memory, every routine and variable of the executable that the documentation describes, the layout of each file format, and the catalogue of anomalies and bugs. It is not meant to be read in order: rule pages and file pages link each fact to its entry here, and each entry lists the pages that use it.
What the reference holds
| Part | What it holds |
|---|---|
| Values | The enumerations and flag sets of the game, named for the documentation and grouped by subject in the navigation: world, party, monsters, items, magic, and the values of the script language. |
| Runtime structures | The records the game keeps in memory: characters, items, item types, monsters, blocks, spells. |
| The game executable | The memory map, the routines and data of START.EXE, its overlays and its display drivers, each entry with its addresses, its role and the pages that use it. |
| File schemas | The Kaitai schema of each format, and the field reference generated from it at each build. |
| Anomalies and bugs | Every behavior that contradicts the game's own code or data, with whether play reaches it. |
| Technical references, tools | The comparative sources and the programs that produce the figures, maps and listings. |
Sources
The figure is drawn by
make_reference_figures.py.