Status & Open Work
Status & Open Work
Section titled “Status & Open Work”This page mirrors the repo’s single status surface, docs/spirit/TODO.md
(rows as of 2026-12-02). Every genuinely open item gets one row here; the
full evidence and paths-tried tables live in the raw notes.
Every major Spirit format is decoded and cross-verified against the game’s own disassembled code, and since 2026-12-02 every routine on the game-logic list also runs on the original 68000 code and agrees with this project’s rules (How We Verified the Rules). Nothing of that is playable yet: the rules are pure modules waiting for the screens that will call them, which is the first row below. The rest is narrow: one presentation question, a few follow-ups from the 2026-11-13 audit, and two deferred chores.
Open items
Section titled “Open items”| ID | Status | Question (one line) |
|---|---|---|
spirit-wire-verified-rules |
open | Wire the verified rules into live screens. The browser engine has a shared random generator, a scene state machine, a backdrop-only scene mode and a map mode, but no entities, inventory, map icons, duel or animation objects; each group of verified rules is waiting for the screen that consumes it (duel, map icons, inventory and trade, the scene actions, save and load, the animation VM). |
spirit-combat-presentation-controls |
open | What dispatches _DoArmyCombatAction codes 9, 10 and 12 (proven to come from outside Excal’s own CODE hunk: its -31670(A4) hook has no JSR site in it), and does anything consume _fCmbType bits 8 and 9? |
spirit-cdtv-remap-tables |
open | Where are the CDTV’s own _Tbl0-_Tbl46 and _apCoReMapTbls? The CDTV build currently gets the floppy tables, and its _Tbl25/_Tbl26 differ. |
spirit-logo-palettes |
open | Which palettes do the logo screens really use? The screenshot-sampled ones match Intro’s _palVirgin/_palIntro on only 2 of 32 entries. |
spirit-title-res-smus |
open | What is TITLE.RES SMUS #1 (an LZSS 4,610-byte score that differs from the 3,220-byte title.smus), and should it be the one extracted and played? |
spirit-brushes-unreferenced |
open | Why do 12 of 24 brushes.res ids have no SCEN consumer (one, 408, is referenced only by the CDTV executable)? |
spirit-res-attr-codec-followups |
deferred: Conan/Legend out of scope | When Conan and Legend’s attribute bytes are audited, can the heuristic codecs and the shape-based size-prefix swap be retired? Spirit, Vengeance and WIME already decode by attribute. |
spirit-build-cache-migration |
deferred: outside the audit pass | Move data/extracted/spirit/ to build/cache/spirit/ per the four-zone rule. |
Recently closed (2026-12-01 to 12-02)
Section titled “Recently closed (2026-12-01 to 12-02)”| Item | Result |
|---|---|
| Game-logic verification (phase B) | Every routine on the list runs on the original code with 0 mismatches and a null control beside it: the army round, the duel, map movement, challenges and encounters, items and trade, scenes and events, save and restore, and the whole FSME animation VM. See How We Verified the Rules. |
The code-5 _Reaction quirk |
Found by the harness and measured in play: see The Reaction Quirk. |
spirit-title-dialog-defaults-mechanism |
_bCurScenario is an initialised DATA byte compiled as 0x63. On a cold boot _main (CODE+0x88DE) takes the 0x63 branch, clears the byte and skips its _Restore, so _MapLevel builds the map from the raw compiled _aForces/_aLoc and only then raises _NewGameMenu. _WinScenario’s ANDI.B #$0f is a different path. |
spirit-episodes-authoritative |
Yes. _Restore overwrites the whole of _aForces, _aLoc, the item placements, hints and reactions with the episode file’s 23 records, so the compiled copies are never what the game plays from (apart from the cold-boot map above). The runtime loaders now document them as compiled defaults. |
spirit-frml-anim-opcodes |
The monk’s block at words 218-254 is reached through _Anim_Spawn case 0, which sets a spawned object’s program counter to the raw argument byte. It is a spawned effect, not the monk’s death. |
Corrections
Section titled “Corrections”These were open questions on this page until 2026-12-02. Each turned out to rest on a wrong assumption, so they are recorded here rather than silently deleted.
Correction: the troop count is not a formula. This page asked where numbers such as “185 MEN AT ARMS” come from, after no byte of the force record’s unmapped tail (
+0x28-+0x37) matched. They are thestrengthword_aForces+0x1E, already mapped: compiled records 43, 44 and 45 hold 185, 50 and 350, and their leader links name Clariance (24), Lionel (15) and Lionel, exactly the York and London panels on screen._CharList(CODE+0xE142) passes the word on and_MenuContentsprints it with%d %Sswhen it is above 1.
Correction: the castle guards are a follower list, not a coordinate match. This page asked why Morgolon’s Castle shows three “GUARD” entries when only two guard forces sit at its coordinates. The panel lists followers:
_DrawStatMenucalls_FindFollowers, and the verified model over the compiled records gives leader 49[50]and leader 51[52, 53]. The three listed guards (50, 52, 53) sit at(0, 0), meaning “not on the map, found through the leader”; the two positioned guards head the groups but are not listed themselves.
Correction: death animations. The character gallery labelled deaths by the
Spawn(SELF->INCED)marker. Native code starts a death by writing program counter 12; the gallery page lists the corrected frames per class.
How far to trust the animation segments
Section titled “How far to trust the animation segments”The walk cycles shown in the character gallery are not a frame-geometry
guess: they come from hand-tracing the game’s own FSME bytecode VM, and the
VM itself (both interpreters and all sixteen opcode handlers) now runs on the
original code with 0 mismatches. The death labels are the exception: they
were read from a marker that turned out to mean “this object has finished”,
and the corrected frames (script entry 12) are listed on the gallery page.
They are a static trace, rendered rather than confirmed.
Where to read the full evidence
Section titled “Where to read the full evidence”docs/spirit/TODO.md: the single status surface.docs/spirit/audit-2026-11-13.mdandaudit-2026-11-13-changes.md: the audit and what it changed, including the 2026-12-01 text-export follow-up.docs/spirit/plan.md: what’s done, format by format.docs/spirit/amiga/engine.md,gameplay-data.md,bytecode-vm.md: the byte-level specs and disassembly citations.docs/spirit/amiga/logic-harness.mdandreaction-quirk-study.md: every verified routine, and the quirk study.docs/tooling/m68k-oracle.md: the shared 68000 harness and its corrections.docs/spirit/cdtv/notes.md: the CDTV release’s exclusive content.
The raw notes carry the full evidence, paths-tried tables, and corrections that this page summarises.