Skip to main content

Reading guide

Home · Technical references · Game executable

This project documents the DOS version of Eye of the Beholder II by studying its data files and its executable. The pages describe what this game does, and nothing else. This page explains the conventions shared by every page, so that the pages themselves can stay short.

What is certain and what is not​

Everything these pages and the file schemas state without a mark is established: read directly from the game's bytes and instructions, or supported by several independent observations. Only what is not established is marked, where it applies:

MarkMeaning
inferredA plausible interpretation that has not been established, or one that rests only on a comparative source.
unknownNot determined yet.

A whole section that is inferred starts with a box titled Inferred. The sources at the end of each page lead to the evidence; for a file format, they are on its overview page. A box titled Anomaly marks behavior that is observed in the code but looks unintended, such as an inconsistency between two tables; the pages describe what the game actually does, and the anomaly catalogue lists them all.

What the findings do and do not claim​

These rules apply everywhere, so pages do not repeat them:

  • Observed values are not rules. When every reference file contains the same value, that shows what the files contain, not that the game requires it. Pages say so explicitly only when it matters, for example when a value is known to be checked by the code.
  • One path is not every path. A description of what one routine does does not imply that other parts of the game behave the same way. Not finding another place that changes a value does not prove there is none.
  • Enumerations list what is established. An enumeration page lists the values found in the examined code and files. A value missing from it is neither known to be valid nor known to be invalid; pages say what the code does with other values when that is known.
  • Storage is not type. The width given for a stored value is the number of bytes the game uses; it says nothing about the type in the original source code. Signedness is stated only where the code shows it.
  • Little-endian. Multi-byte values are stored least significant byte first, as is usual on the PC, unless a page says otherwise.
  • This release only. Findings apply to the DOS version studied here. They are not assumed to hold for Eye of the Beholder I, for the Amiga version or for other releases.

Names, code and examples​

The original names of structures, fields, values and routines are unknown, unless a page explicitly says a name was recovered. Every name used here, such as MonsterRuntime or MONSTER_MODE_PURSUE, is descriptive and chosen for this documentation.

C declarations and pseudocode explain layouts and behavior; they are not a reconstruction of the original source and are not meant to compile. A record stored in a file and the structure the game builds from it in memory can describe the same thing with different layouts; pages keep them apart.

Byte examples labeled illustrative show how an encoding works; they are not taken from the game files unless the page says so.

Level coordinates​

Positions in a level are written [XX:YY]: XX is the column and YY the row, both counted from 00. The game numbers the 32 × 32 blocks of a level row by row, so block index = YY × 32 + XX.

Sources and addresses​

Each page ends with short source notes. Claims about the game's code link to the game executable reference, which gives the exact address of the code or data involved, explains the address conventions and links back to the pages that rely on it. File identities and hashes are in the file inventory.

External sources, such as independent implementations or descriptions of other releases, help the research but never prove on their own how this executable behaves. When one supports a finding, the section's status says so and the source notes cite it by its identifier, such as REF-SCUMM-008; the pages do not describe or discuss these sources. The technical references list every one of them.

Open questions​

A page that still has unanswered questions ends with a list of them. Each has a stable identifier made of a prefix of its page and a number, such as MONSTERS-01; a question is removed once it is answered, and its identifier is never reused. A page without such a list has no open question.