Skip to main content

EOSPREFS.DAT field reference

File page · Format catalogue · Schema source

This page is generated from the Kaitai schema EOSPREFS_DAT.ksy each time the site is built. The schema is the authoritative description; statements are established unless marked inferred or unknown, and the evidence is listed on the file page (see the reading guide).

  • Schema: Eye of the Beholder II DOS settings (EOSPREFS.DAT)
  • Byte order: little-endian
  • File extension: dat
  • Schema license: MIT

Description​

The settings chosen with SETUP.EXE: three 16-bit words, 6 bytes. The game reads them once at start-up and stops with a message when the file is missing; it never writes the file. See the format overview.

The reference file holds 3, 1 and 1: VGA, AdLib, mouse.

File structure​

FieldTypeSize, repetition and constraints
display_modeu2—
sound_driveru2—
use_mouseu2—

display_mode

Display mode: 3 VGA, 5 EGA, 6 Tandy, the values of SETUP's table; its menu offers 3 and 5. It selects the display driver (mga.ovl, xga.ovl, yga.ovl) and the .PAL or .EGA palettes. See /eob2/executable/data/DISPLAY#d-628a.

sound_driver

Sound driver: 1 AdLib (the .ADL files), 2 PC speaker and 3 Tandy sound chip (the .SND files), 0 none. A nonzero value also turns the "Sounds" option on. SETUP writes 1, 2 or 0; it names 3 in its summary but no menu writes it. See /eob2/executable/data/TIMING#d-638a.

use_mouse

Mouse: 1 to use the mouse, 0 to play with the keyboard only, as SETUP writes them. The game plays without the mouse when this word is 0 or when no mouse is detected. See /eob2/executable/data/INPUT#d-6654.