Skip to content

LOCS.TMP — Runtime Location Cache

Temporary file created when a saved game is loaded. Contains the full location array with runtime state (reputation, inn cache indices, etc.) that differs from the static DARKLAND.LOC source.

Extension
LOCS.TMP
Location
Game root (runtime-generated)
Byte order
Little-endian (16-bit)
Size
24,336 B — 2-byte count (414) + 414 × 58-byte location records (mirrors DARKLAND.LOC)
Compression
None
Magic
None — num_locations word = 0x019E at 0x00
Status
Partial
Source
Wendigo — locs.tmp.xml; reference-only validation

Canonical source: locs.tmp.xml (Wendigo’s Darklands repo)

File Layout

Offset 0x00:  word           num_locations = 0x19E (414)
Offset 0x02:  location[414]  locations

The location struct is the same used in DARKLAND.LOC and in the save file. See Locations for the struct layout.

Relationship to DARKLAND.LOC

DARKLAND.LOC is the static source — local_rep, inn_cache_idx, and other runtime fields are zeroed or placeholder values there. LOCS.TMP is the runtime copy with those fields live-populated from the current save session.

Confidence

Medium-high. Structure from locs.tmp.xml; reference-only validation.