Skip to content

v1.5.3b

@angstsmurf angstsmurf tagged this 15 Aug 22:46
Adds a ground-truth harness for the Quest 4 engine and fixes the
divergences it found.  test/quest4/harness/oracle/ builds QuestViva's
src/Legacy -- a line-by-line C# translation of Axe's VB6 Quest 4 -- as a
headless runner, and compare.sh replays every corpus walkthrough through
both engines and diffs the transcripts.  FINDINGS.md records what that
turned up, with the source lines on both sides; the fixes below are its
numbered entries 12, 13, 22, 29, 35/63, 36/56, 37, 39/55, 42, 45, 51 and
57, each with a fixture beside it.

  - Looking at or opening a container lists what is inside it.
  - .asl and .cas text is transcoded from Windows-1252, so the accented
    letters and typographic quotes games were written with survive.
  - Object lookup is scoped per verb, rather than resolving against
    everything in reach and then failing.
  - `place locked <room; message>` parses, so a locked place prints the
    author's refusal instead of being taken as one long room name.
  - A `type <...>` line is applied where it stands, not before the
    object's own tags, which is what decides who wins when both set the
    same property.
  - The truncation of a tag value at its first semicolon is version-gated.
  - `msg nospeak <...>` prints nothing.
  - `use <a> on <b>` and `give <a> to <b>` trim the names they rewrite.
  - open and close no longer mark a container seen.
  - An unknown $function$ yields [ERROR], as Quest's does.
  - Timers tick at the turn's first suspension -- its `wait`, `pause`,
    synchronous `playsound` or |w -- rather than at the turn's end, and a
    `timeron` after that point spends its bypass on the next turn.  Every
    cut-scene in King's Quest V is built on this.

Also bundles stdverbs.lib the way typelib.qlb already was.

35 new fixtures (132 in all); the corpus walkthroughs are re-blessed and
all 111 still reach their win marker.  49 of them now match the oracle
byte for byte, among them King's Quest V, Beam and Sir Loin 3.  The
remaining diffs are traced in FINDINGS.md, and the largest of them is
QuestViva's own defect: its implied-removal path never sets its
isInContainer flag, so it narrates a removal geas is right to omit.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Assets 2
Loading