CACHE.TMP — Inn Storage Cache
Temporary file created when a saved game is loaded. Contains the current inn storage state. Structures here are shared with the save-file format; this page documents only the cache-specific layout.
Canonical source: cache.tmp.xml (Wendigo’s Darklands repo)
File Layout
Offset 0x00: byte max_cache_slot = 0x63 (99) — constant
Offset 0x01: byte num_caches
Offset 0x02: word[0x62] cache_offsets — offsets into the cache array
Offset 0xC6: cache[N] caches — N = num_cachesThe file uses the same cache struct defined in the save-file format. See Save File for the cache struct details.
Confidence
Medium-high. Reference-only validation — structure is from cache.tmp.xml; byte-level correlation against a live sample file is pending.