Skip to content

Save / load specification#

Game-state persistence and post-load rebuild.

Scope#

  • Save file enumeration (.sav, .sva, .svb)
  • Field-table read/write blocks
  • castles.dat tile slice sync (16×0x3200)
  • MP save ready-sync and restart-after-load
  • Continue-from-lastturn behavior

Evidence#

First spec targets#

  1. Save/load wizard UI flow — screen modes, debounce dispatch, MP wait loop (lotr2_save_wait_mp_ready).
  2. On-disk layoutdone: see On-disk file format.

Spec pages#

  • On-disk file format — complete 203-entry field-block map, Region B castle/siege tile slice, read/edit/write algorithm, and file variant table.