Format Spec: Scooby.exe

Status: Toolchain identified across all four available titles (Showdown, Phantom, Jinx, Case File #1). Showdown resource loading, animation, rendering, object.ini and sound-id paths traced in Ghidra (WP-001, 2026-11-13; see Resource loading map). Decompdecomp collaboration on Case File #1 under way (WP-011: access received 2026-11-11, local trial pending)
Source discs: five candidate titles (see Cross-title comparison below)
Per-title binary names: Scooby.exe (Showdown/Phantom/Jinx), Case File #1.exe (Case File #1)
Vision doc reference: Project Vision — Phase 1 work item; Engine Lineage section for generation classification.

This is not a file-format spec in the traditional sense — Scooby.exe is a Windows PE32 binary. This document tracks what we learn from disassembling it, scoped to what the ScummVM engine needs to reimplement.

Scope discipline: Ghidra analysis is a fallback when object.ini and other data files don’t fully specify a behavior. Every function reverse-engineered here should be justified by a concrete gap in the data-driven path. Resist the urge to map the whole binary — the exe is small (476 KB) but still contains far more than we need.


Known facts

Key questions for Ghidra

Question Why it matters
How does the exe open and parse TGIFILE.ART? Cross-validates the format spec; gives us the decode algorithm directly
How does the exe open and parse Music.dat / Sfx.dat / Voice.dat? Reveals index layout and codec without needing to brute-force it
How does the exe consume object.ini? Confirms how much logic is data-driven vs. hardcoded
What is the puzzle state machine? Likely not in object.ini; must be reimplemented from disassembly
What is the save-game format? Needed for ScummVM save/load integration
Is the exe single-threaded? ScummVM requires single-threaded engines

Hypotheses (unverified)

Hypothesis Evidence Confidence
Resource loading is centralized — a small number of functions open each archive Standard architecture; small exe size supports it. Confirmed by WP-001: one GameResource object owns every art file, and one GameSound object owns the three sound files Confirmed
Most gameplay rules are driven by object.ini, with the exe acting as interpreter object.ini is 1,405 lines naming every object, room, and cursor. WP-001: object kinds and their keys come from object.ini (looked up live per object), but rooms are C++ objects and several override placements in code Medium (asset binding confirmed; logic partly in code)
Puzzle state machines are exe-resident (not in object.ini) object.ini shows static room/object data, not logic branches Medium
The exe is single-threaded Edutainment titles of the era rarely use worker threads High
Compiler is MSVC (not Borland/Watcom) Standard for Windows-first Learning Company titles of 2000. Confirmed: Visual C++ 6.0, linker 6.00 (§Toolchain, corrected 2026-11-14) Confirmed

Investigation plan

  1. Load + auto-analyze in Ghidra. Create project scooby.gpr in C:\dev\scooby-engine\ghidra\. Let Ghidra’s analyzers run a full pass. Save before doing anything else.
  2. Imports table review. Scan the PE import table for: file I/O (CreateFileA, ReadFile), DirectDraw/Direct3D 7, DirectSound, DirectInput, Bink (BinkOpen, BinkDoFrame). This gives a one-page architectural map in ~30 minutes.
  3. File-I/O call sites. Cross-reference CreateFileA / fopen call sites against the disc’s known filenames. Label the loader function for each data file (TGIFILE.ART, object.ini, Scooby.eng, Music.dat, Sfx.dat, Voice.dat). This is the most valuable Ghidra session — probably 2–4 hours.
  4. TGIFILE.ART decode path. Trace the function that opens TGIFILE.ART through to the function that returns a decoded image surface. This cross-validates the format spec in tgifile-art.md and gives us the compression algorithm if the file probe alone doesn’t reveal it.
  5. object.ini interpreter. Trace where object.ini is read and how the parsed table is consumed. Answer: is room transition logic, cursor swapping, and inventory management driven purely by object.ini data, or does the exe apply additional hard-coded rules?
  6. Puzzle / state machine disassembly (deferred). Only after Phase 3 renders rooms — disassemble exactly the functions whose behavior object.ini doesn’t cover.

Two analysis tracks

The investigation plan above is Track A. Track B was added 2026-11-11. The two are complementary: B generates leads and code-equivalence evidence at volume, and A turns leads into understood, named, validated subsystems. Neither replaces the format-first strategy in the Vision.

Track A — focused Ghidra analysis (WP-001)

Targeted manual work: entry points, imports, strings and cross-references, resource-loading functions, file signatures, format decoders, script dispatch, game-state structures, and naming and validating the major subsystems. Primary binary: Showdown (Gen 1). This stays the path to the Gen 1 blockers (TGIFILE.ART decode, the object.ini consumer, the scrappyid resolver).

Track B — decompdecomp-assisted analysis (WP-011)

Cooperative, AI-assisted decompilation with decompdecomp: function extraction, candidate C reconstruction, byte matching against the original compiler output, parallel agent processing, a cooperative room that hands out unhandled functions to collaborators, and reuse and matching across related executables. Its output is a stream of leads for Track A. Initial binary: Case File #1 (Gen 3). Simeon Armenchev (monyarm) started that decompilation in his private repository. Machine setup is in Setting Up decompdecomp on Windows. Case File #1’s place in the lineage rests on string, RTTI and source-path evidence, with the toolchain as support, and WP-005 found Case File #2 to be a different engine; see WP-011 §Background.

A byte-identical match is evidence, not understanding. It shows that candidate C is equivalent to the original bytes. It does not establish correct high-level semantics, suitable names, a readable architecture, or anything usable in ScummVM. Track B findings use the WP-011 evidence model (Reported → Observed → Matched → Corroborated → Integrated → Accepted). Matched C and generated assembly stay out of this public repo. The ScummVM engine is written independently from documented behavior.

Success condition for Phase 1

A short written note in Findings covering:

Findings

Binary identity (WP-007 baseline)

Reference table for every binary the WP-007 strings + imports extraction ran against. Every subsequent Finding subsection cites the SHA-256 of the binary it derives from; a re-extraction against a different SHA invalidates the corresponding row.

Title Generation Path Size (bytes) SHA-256
Showdown Gen 1 tools/exes/showdown/Scooby.exe 487,473 1328454334CDDB9518168B78BA7FFEB13BA7B772E6B52F4E2B87098D18AF7478
Phantom Gen 1 tools/exes/phantom/Scooby.exe 483,377 619EA6871A2FD305CA30814C438F9552DB85FDADB65AD7BE5B82A1656AF807ED
Jinx Gen 2 tools/exes/jinx/Scooby.exe 847,872 136A276872803AC99B0D050B21CC3A83F8E1608F2394C33865CFFF781FB20271
Case File #1 Gen 3 tools/exes/casefile1/Scooby.exe 786,432 9813A3DDBE58BC9D7CC898030F4A2F93658FD4A69156BA8531C6E4F273E97CF8

Case File #2 was not covered by this baseline (its disc was not cached at the time). WP-005 (2026-11-13) later cached and examined it: tools/exes/casefile2/Scooby.exe, 774,144 bytes, SHA-256 AB2B71FEEFF0777B26928E95C99F9936F5C4D87FE321ED4913B8956C83772BC8. It is not this engine; see Case File #2 (WP-005).

Extraction tooling: tools/extract_strings.py and tools/extract_imports.py. Raw outputs (strings-ansi.txt, strings-wide.txt, imports.txt) live under tools/exes/<title>/, gitignored per tools/exes/README. Determinism confirmed: re-running each script against the same binary produces byte-identical output.

Gen 1 discs are 2001 reissues (2026-11-14)

The cached Showdown and Phantom discs are not first pressings. They are one re-pressing of both games, mastered by The Learning Company three minutes apart on 2001-08-24, about ten months after the games first came out. Everything below was read from the ISOs and the cached binaries:

  Showdown Phantom
ISO volume created 2001-08-24 07:51 2001-08-24 07:48
Scooby.exe PE timestamp (UTC) 2001-08-23 01:47 2001-08-23 01:51
Scooby.exe version resource Gold v1.19 (file 1.0.1.9), © 2000 TerraGlyph Gold v1.16 (file 1.0.1.6), © 2000 TerraGlyph
TGIFILE.ART file date 2001-08-24 2001-08-24
Game data (*.dat, object.ini) 2000-08-31 to 2000-09-01 2000-09-19 to 2000-10-04
Installer Setup.inf SKU 380326, S_VERSION = 1.2 SKU 380325, S_VERSION = 1.2
Readme PDF © 2001 TLC; Windows 95/98/Me/2000/XP; DirectX 8a same

Both discs carry the same 2001 installer kit (DirectX 8 dated 2001-06-08, Acrobat Reader 4, the AOL and TLC e-registration bundles), the same “Mystery Adventures” series branding, and the same “Groovy Goodies” trailer for an upcoming Scooby-Doo movie. For comparison, Jinx’s ISO was mastered 2001-09-27 and Activity Challenge’s 2001-09-18.

First release. The game data dates and the “© 2000” in both exes fit a 2000 release for both titles. Public listings agree on Showdown (October 2000) but not on Phantom: Kotaku gives 2000-10-31; GamePressure gives 2001-03-12. This repo’s title tables keep their 2000 and 2001 until a primary source settles it.

What this changes:

Toolchain

Corrected 2026-11-14: every title checked is Visual C++ 6.0, not 5.0. The 2026-06 reading (“Visual C++ 5.0 + MASM 6.13 + Cvtomf 5.10 + Linker 5.10”) came from a wrong product-ID table in tools/rich_header.py. Three independent sources agree on the correction:

The old script called the VC6 C compiler “Linker 5.10”, the VC6 C++ compiler “MASM 6.13”, MASM 6.13 “Cvtomf 5.10”, and the linker 5.12 import records “MSVC 5.0 C++”. It now uses the enum names and reads the linker version from the PE header. VC6-era link.exe does not record itself in the Rich Header; the Linker* entries that do appear are import/export records inside linked .lib files.

What each title’s own code was compiled with (the largest C++ entry; service-pack attributions are richprint’s, not checked against a known-good binary here). The Showdown and Phantom rows are the August 2001 reissue builds; see Gen 1 discs are 2001 reissues:

Title Gen Linker (PE header) Game C++ code Other compiled objects
Showdown 1 6.00 VC6 Utc12_CPP build 8966 (×114), richprint: VC6 SP5 C 8047 (×113) and C++ 8047 (×10), which richprint marks “likely libs”
Phantom 1 6.00 VC6 Utc12_CPP build 8966 (×120) same as Showdown
Jinx 2 6.00 VC6 Utc12_CPP build 8168 (×157), richprint: VC6 RTM C 8168 (×160)
Activity Challenge 2 (WP-013) 6.00 VC6 Utc12_CPP build 8447 (×135), plus 8168 (×8) C 8168 (×160), as in Jinx
Case File #1 3 6.00 VC6 Processor Pack Utc12_2_CPP build 8943 (×161), richprint: VC6 SP4 + Processor Pack C 8797 (×126), C 8168 (×36), C++ 8797 (×8), one VS2002 Utc13_C 8830 object
Case File #2 — 6.00 VC6 Processor Pack Utc12_2_CPP build 9044 (×71), richprint: VC6 SP5 + Processor Pack; plus VC6 Utc12_CPP 8966 (×53) C 8966 (×26), C 8047 (×11), C++ 8047 (×2), one VS2002 Utc13_CPP 9178 object

The CRT is linked statically in Gen 1–3 (see the import tables below), so part of each title’s C object count is CRT and library code, not game code.

What still holds. The build numbers still split the titles into groups that line up with the archive-format split (TGIFILE.ART → MMFW) and the studio split (TerraGlyph → IBS): Showdown and Phantom are identical, Jinx uses one compiler build throughout, and Case File #1 shares build 8168 with Jinx. What changes: the direction of the Gen 1 → Gen 2 step, and what Case File #1’s entries say about inheritance (see below).

Cross-title toolchain comparison (engine generations)

Rich Header entries by prodid enum name, from the corrected tools/rich_header.py (2026-11-14). C and C++ are compiled objects; Linker512/Linker600/Implib* are import/export records from linked libraries; Import0 is imports with no comp.id.

Title Gen C++ (Utc12_CPP / Utc12_2_CPP) C (Utc12_C) MASM 6.13 Import records Other Entries
Showdown 1 8966 (×114), 8047 (×10) 8047 (×113) 7299 (×30) Linker512 8034 (×16), 9049 (×10); Linker600 8447 (×13); Import0 ×202 AliasObj60 7291 (×1), Cvtres500 1735, unmarked ×2 11
Phantom 1 8966 (×120), 8047 (×10) 8047 (×113) 7299 (×30) same as Showdown same as Showdown 11
Jinx 2 8168 (×157) 8168 (×160) 7299 (×29) Linker512 8034 (×17); Import0 ×278 Cvtres500 1720 6
Activity Challenge 2 (WP-013) 8447 (×135), 8168 (×8) 8168 (×160) 7299 (×29) Linker512 8034 (×17); Import0 ×280 Cvtres500 1735 7
Case File #1 3 PP 8943 (×161), 8797 (×8) 8797 (×126), 8168 (×36); VS2002 Utc13_C 8830 (×1) 7299 (×30) Linker512 8034 (×17); Linker600 8447 (×2); Import0 ×248 Cvtres500 1735 10
Case File #2 — (not this lineage, WP-005) PP 9044 (×71), 8966 (×53), 8047 (×2); VS2002 Utc13_CPP 9178 (×1) 8966 (×26), 8047 (×11) 7299 (×2) Implib710 2179 (×19); Implib700 9466 (×4); Linker600 8047 (×2); Import0 ×363 AliasObj60 7291 (×13), Cvtres500 1735 13

Gen 1 (Showdown ↔ Phantom): identical toolchain at every row. The only difference is six more C++ objects in Phantom (×120 against ×114): the same engine plus a few added source files. (The 2026-06 text said six more MASM compilations; that was the mislabel.)

Gen 2 (Jinx): a different build environment, not an upgrade. Corrected 2026-11-14: the 2026-06 text called this a pipeline upgrade (“newer linker build 8168”). Build 8168 is the VC6 release (RTM) compiler, older than Gen 1’s 8966. Jinx compiled everything, C and C++, with that one build, and links neither OLDNAMES.LIB alias objects nor the Linker600 import libraries Gen 1 uses. Its compiled-object count is higher (317 C and C++ objects against 237) and it imports through more library records (278 against 202), consistent with a larger code base. The Gen 1 exes compared here were built four weeks before Jinx’s (both in 2001), so the two environments ran side by side; see Gen 1 discs are 2001 reissues.

Gen 3 (Case File #1): ImageBuilder Software (IBS) inherited TerraGlyph’s engine as source and rebuilt it with a newer compiler. Corrected 2026-11-14: the 2026-06 text said IBS shipped TerraGlyph’s compiled .obj files directly, based on two mislabelled entries.

The lineage verdict for Case File #1 still stands, but on the string, RTTI and source-path evidence (Case File #1 strings), with the toolchain as supporting evidence, not the “binary-confirmed .obj inheritance” the 2026-06 text claimed.

Cross-title runtime dependencies

Each cell is now a static-imports verdict from the WP-007 baseline. “Static import” means the symbol is in Scooby.exe’s PE DIRECTORY_ENTRY_IMPORT and the loader resolves it at process start — checkable by reading tools/exes/<title>/imports.txt. DLLs that sit on the disc but are not statically imported are noted in parentheses; they are either dynamically loaded (LoadLibraryA + GetProcAddress) or installer-only.

Title Bink runtime Smacker runtime QuickTime XML parser Cutscene/video path DirectSound
Showdown (Gen 1) static (binkw32.dll, 11 fns) absent absent absent Bink (BK.XXX) — BinkOpen/BinkDoFrame static (DSOUND.dll, ordinal-only)
Phantom (Gen 1) static (binkw32.dll, 11 fns — identical to Showdown) absent absent absent Bink (BK.XXX) static (DSOUND.dll, ordinal-only)
Jinx (Gen 2) absent from imports (DLL exists in INSTALL\ — installer-only or dynamic) absent from imports (DLL on disc — same caveat) absent from imports (DLL on disc — same caveat) absent Video for Windows (MSVFW32.dll: DrawDibDraw/DrawDibOpen/MCIWndRegisterClass) for .avi dynamic load (string DSOUND.DLL + DirectSoundCreate, no static import)
Case File #1 (Gen 3) absent absent absent static (libexpat.dll, 7 fns: XML_Parse/XML_ParserCreate/XML_SetElementHandler/…) COM (ole32.dll: CoCreateInstance/CoInitialize — likely DirectShow filter graphs for raw .avi) dynamic load (same pattern as Jinx)

Gen 1 → Gen 2 video boundary (load-bearing correction to prior table): Jinx’s Scooby.exe does not statically import binkw32.dll, Smackw32.dll, or qtmlClient.dll, contradicting the prior table cell that listed all three as runtime deps. The disc-side DLLs (INSTALL\binkw32.dll etc.) are present but not bound to the engine binary at link time. The engine’s actual video path is Video-for-Windows DrawDib against .avi containers (MSVFW32.dll). The prior table was reading disc presence as runtime usage; the imports are the load-bearing evidence. WP-005’s disc-surface notes still hold — those DLLs exist on the Jinx disc — but the engine binary does not bind them statically.

Gen 2 → Gen 3 video boundary: Case File #1 drops Video-for-Windows in favor of COM (ole32.dll). Combined with the disc-side raw .avi files (no Bink/Smacker DLLs anywhere on the Case File #1 disc), this strongly indicates DirectShow filter-graph playback — the standard COM-based Win32 multimedia path of the era. The exact quartz.dll symbols are dynamic (no static import), but CoCreateInstance of a filter graph is the canonical pattern. xref confirmation deferred to WP-001.

XML parser boundary: libexpat.dll is the only new statically-imported third-party DLL in Case File #1 vs. the earlier titles. The XML_* symbols in the import table match the strings finding of launch.xml and confirm the engine-lineage finding — IBS introduced XML-driven configuration as a Gen 3 architectural choice.

DirectSound across all four titles: Showdown and Phantom statically import DSOUND.dll (ordinal-only, the classic 16-byte ordinal-1 import for DirectSoundCreate). Jinx and Case File #1 do not statically import DSOUND.dll but contain the strings DSOUND.DLL and DirectSoundCreate — characteristic of LoadLibraryA("DSOUND.DLL") + GetProcAddress("DirectSoundCreate") dynamic loading. The Gen 2 / Gen 3 engine still uses DirectSound; the link strategy shifted to dynamic for graceful-degradation on systems without it.

The Gen 3 shift away from Bink/Smacker toward raw .avi files, plus the XML parser introduction, is an IBS-era architectural choice — not a TerraGlyph one — and the import-table evidence now corroborates the disc-side evidence.

Phantom archive format and engine code (WP-006)

Settled 2026-11-13. Phantom’s TGIFILE.ART is the Gen 1 format and passes every --verify check (tgifile-art §Cross-title verification), and its .dat audio files pass probe_audio.py --verify (audio-archives).

The code agrees. All 71 functions labelled by WP-001 (wp001-labels.txt) were compared between the two Scooby.exe builds, with absolute addresses and call/jmp targets masked. All 71 are identical over the compared span (up to the next label, at most 2 KB). Functions below 0x40B000 (exit, inventory, requires and clickable objects, characters, object.ini) sit at the same addresses. From 0x430790 up (sprites, the sequence player, the resource manager, the art-file loader and relocation, the renderer, audio) Phantom’s copies sit 0xD30 higher. So the WP-001 labels apply to Phantom with that shift, and the character-name table moves from 0x46A720 to 0x469720 with the same 20 entries. Showdown’s engine was built with Phantom’s cast already in that table.

Method: a byte comparison in a session script. Ghidra was not run on Phantom’s binary.

Activity Challenge (WP-013)

Settled 2026-11-14. Scooby-Doo! Activity Challenge (2001) runs Jinx’s MMFW framework: Gen 2. Its executable is INSTALL\HDINSTALL\Scooby.exe on the disc (794,624 bytes, SHA-256 CE2D0F51…F9A9AB8; see the cache entry). It was compared with Jinx’s using the WP-005 method.

Marker Jinx Activity Challenge
__FILE__ path C:\Projects\SCOOBY\mummy\Mmfw\MMVisualCursor.cpp C:\Projects\Scooby\Bonus\Mmfw\MMVisualCursor.cpp
PE timestamp (UTC) 2001-09-19 20:49 2001-09-18 18:32
RTTI type names 551 510; 323 shared with Jinx
MM* framework classes 119 112, all in Jinx
Title classes MummyApplication, MummyStage, MummyInteractionScene, MummyGameProgress BonusApplication, BonusStage, BonusInteractionScene, BonusGameProgress
Engine strings (non-RTTI, ≥ 8 chars) 594 549; 532 shared
Archive names (wide strings) Mummy*.MM?, Hd.mma, Hd.mmp Bonus.MMA, Bonus.MMF, Bonus.MMP, Bonus.MMS
Company and title path string (no ADVAPI32 import, so not a registry key) The Learning Company\Jinx At The Sphinx The Learning Company\Campfire
Imports 204, from GDI32, KERNEL32, MSVFW32, USER32, WINMM 206, same five DLLs; 202 shared

Reading: one source tree (C:\Projects\Scooby\) with a project folder per title, each with its own Mmfw folder. The two games were built a day apart. The format half is in mmfw-container.

String literals (WP-007)

Per-title structured anchor strings extracted from each binary’s PE data and PE rdata sections via tools/extract_strings.py. Raw dumps live under tools/exes/<title>/strings-{ansi,wide}.txt (gitignored). Only categorized anchor samples, hardcoded paths, registry keys, and a handful of error-message shapes are promoted here — the full dump is left local for copyright reasons (per WP-007 §Copyright posture). Every subsection labels its source title + generation; all anchors below come from the binary at the SHA-256 in the Binary identity table.

Showdown (Gen 1)

SHA-256 of source binary: 1328454334CDDB9518168B78BA7FFEB13BA7B772E6B52F4E2B87098D18AF7478

File / asset names (filename anchors — load-bearing for Ghidra navigation in EC-001 Step 4):

Format strings driving asset paths (each %s is a runtime-resolved directory prefix):

Paths / directories — none hardcoded (asset paths are all %s-prefixed; the prefix is resolved at runtime — likely from Scooby.ini or registry).

Source-tree paths (compile-time __FILE__ strings, useful for Ghidra cross-referencing to label functions):

Source tree shape C:\Scooby\{BaseLibrary, Common, <title>} — BaseLibrary\Win32\ is the OS-abstraction layer, Common\ the engine core, <title>\ the per-game room/puzzle code.

Error / debug strings (handful of representative shapes; full set in tools/exes/showdown/strings-ansi.txt):

The asset-side failures (Failed to locate id %s, Failed to locate object name %s) are direct evidence of string-keyed lookup — the engine resolves assets by name at runtime, not by static index. xref-confirming this against the asset-key strings below is EC-001 Step 4’s job.

Registry keys:

ANSI-only registry calls (RegOpenKeyExA, RegSetValueExA) per the imports — Win9x-compatible registry usage.

Asset-key naming convention (high-signal for Ghidra xref work; these are runtime asset identifiers, not filenames):

These strongly suggest a string-keyed (category, identifier) → asset lookup table inside the engine, populated from object.ini and Scooby.eng at boot. Resolution-strategy confirmation is EC-001 Step 4.

Other notable strings:

Wide-string output: 30 UTF-16LE strings extracted. Sample: standard CRT/locale wide-string fragments (u, MZ, etc.) — no UTF-16 asset names. Consistent with VC++ 5.0 / Win9x-targeted code that is ANSI-first across the engine surface; the wide-string pass is effectively negative evidence.

Conclusions (Showdown — strings)

Phantom (Gen 1)

SHA-256 of source binary: 619EA6871A2FD305CA30814C438F9552DB85FDADB65AD7BE5B82A1656AF807ED

File / asset names — identical set to Showdown. Same anchor strings (TGIFILE.ART, object.ini, Scooby.ini, music.dat, sfx.dat, voice.dat, binkw32.dll) and same format-string templates (%sTGIFILE.ART, %sTGIFILE%i.ART, %sobject.ini, %sScooby.ini, %sBK.%.3d, %s%s%s.sav). The Gen 1 file-set is fully shared.

Source-tree paths — BaseLibrary\Win32\*.cpp and Common\*.cpp paths match Showdown exactly. Per-title module differs:

Both titles share Common\Options_Room.cpp and have their own <title>\Options_Room.cpp — suggests per-title room overrides over a shared core. This is direct source-tree evidence of the engine-lineage claim: TerraGlyph’s BaseLibrary + Common is shared across Gen 1 titles; only the room/puzzle bundle differs.

Error / debug strings — substantively identical to Showdown’s set (same Failed to open music.dat, Failed to read from file TGIFILE.ART, Failed to locate id %s, etc.). The Phantom-specific delta is in the room/puzzle code: e.g.

Registry keys — identical to Showdown: Software\TerraGlyph\%s, Software\Microsoft\DirectX.

Asset-key naming convention — same ROOM_* / ANIM_* patterns as Showdown, with Phantom-specific scene identifiers (e.g. ANIM_KST_KNIGHT1ARMDRINKS, ANIM_KST_KNIGHT1WALKS, ANIM_KST_KNIGHT1STARTS_DRINKS). The KST_KNIGHT1 prefix is Phantom’s KST (Knight Square Table) scene + character ID. Identical asset-key convention; different content set.

Other notable strings — same Bink lifecycle lines, same DirectX probe strings, same general engine messages. Title-card string is Phantom-specific.

Wide-string output: 30 UTF-16LE strings — same shape as Showdown (CRT locale fragments only).

Conclusions (Phantom — strings)

Jinx (Gen 2)

SHA-256 of source binary: 136A276872803AC99B0D050B21CC3A83F8E1608F2394C33865CFFF781FB20271

File / asset names (Gen 2 engine — MMFW framework; concrete archive filenames like Mummy.MMF do NOT appear in static strings):

The Gen 1 file-set (TGIFILE.ART, object.ini, music.dat, etc.) is completely absent from Jinx’s strings, consistent with the Gen 1 → Gen 2 archive-format jump (TGIFILE.ART → MMFW). The disc-side archive filenames (Mummy.MMF, Mummy.MMA, Mummy.MMP, Mummy.mms, Mummy_HD.MMF per tools/exes/README §Jinx) appear nowhere in the EXE — strongly suggesting they are referenced indirectly via a config file resolved at runtime (most likely Mummy.mms, which is the right size and location for a Gen 2 config-archive analogue to Gen 1’s Scooby.eng).

Format string: %s_%s_%04X — generic resource key template (likely <type>_<name>_<hex-id>).

Paths / directories — none.

Source-tree paths:

Note the source tree shape: C:\Projects\SCOOBY\mummy\ (project root) → Mmfw\ (framework module) → <source>.cpp. “Mummy” is Jinx’s internal codename (consistent with the disc’s Mummy.* archive names per tools/exes/README §Jinx). The Mmfw\ subdirectory names the MMFW framework directly — this is the first time the codebase identifies its own framework name in source-tree form.

Error / debug strings (Gen 2 — MMFW resource-error templates; substantively different shape from Gen 1):

The error-text structure proves MMFW’s resource model: four resource categories (film, picture, script, sound) × consistent per-category lifecycle errors (open/read/write/seek/header/checksum/version/timestamp). This is exactly the abstraction the disc-side .MMA / .MMP / .MMF / .MMS extensions would suggest — and confirms the mmfw-container hypothesis that MMFW is a resource-typed container, not a single archive format.

Registry keys — None. Jinx does not statically import ADVAPI32.dll. Per-title configuration appears to live entirely on disc (in Mummy.mms or similar), not in the registry. This is a Gen 1 → Gen 2 architectural shift away from the TerraGlyph Software\TerraGlyph\%s convention.

Asset-key naming convention (high-signal):

Naming convention shift: ROOM_* (Gen 1) → SCENE_* (Gen 2). Same string-keyed lookup pattern, renamed identifier prefix — consistent with the MMFW framework using “scene” as its top-level visual unit (per the MMScene, MMSceneParentMolecule, MM2DPlanarView mangled class names elsewhere in the strings dump).

C++ RTTI class names (decoded from VC++ mangled-name format; high-signal for MMFW architecture mapping in WP-001):

This is a substantially different engine surface from Gen 1 — class-based, heavy templates, MM/UU prefix convention. The codebase visibly moved from a procedural Gen 1 style (Showdown’s Win32File.cpp, Inventory.cpp, etc.) to a class-hierarchy Gen 2 style.

Other notable strings:

Wide-string output: 27 UTF-16LE strings — CRT locale fragments only, no asset names.

Conclusions (Jinx — strings)

Case File #1 (Gen 3)

SHA-256 of source binary: 9813A3DDBE58BC9D7CC898030F4A2F93658FD4A69156BA8531C6E4F273E97CF8

File / asset names (Gen 3 — MMFW continues; XML-driven configuration; raw .avi cutscenes):

Format string: %s_%s_%04X — same generic resource key template as Jinx (carry-over from MMFW).

Paths / directories — none hardcoded.

Source-tree paths:

Note MMVisualCursor.cpp is the same file name as Jinx’s source path — direct code inheritance evidence at the __FILE__ level (the file ImageBuilder shipped is at a different absolute path but is structurally the same MMFW source unit). Source tree shape: F:\Scooby\Museum\framework\ — “Museum” is Case File #1’s internal codename (matches the disc directory F:\MUSEUM\ and the archive filenames Museum.* / MuseumHD.* / MuseumCD.*). framework\ is the Gen 3 module name for what Jinx called Mmfw\.

Error / debug strings — substantively similar to Jinx’s MMFW resource-error templates (same Bad checksum in <category> resource file '%s'. patterns, same MME_* enum-name strings). One Gen-3-specific addition:

Registry keys — None statically present. ADVAPI32.dll not in the imports table; no Software\* strings. Per-user configuration moved out of the registry entirely; it lives in TLC Case File #1 Users.dat + per-user .dat files. Consistent with the Gen 2 / Gen 3 shift away from registry-based config noted on the Jinx row.

Asset-key naming convention:

This confirms the engine-lineage finding’s claim of “TerraGlyph (MMFW) inherited, IBS added their own application + game-specific layers on top.” The PG*/SM*/IB* class names are the IBS-added layers; the MM*/UU* classes are the inherited MMFW substrate.

Other notable strings:

Wide-string output: 31 UTF-16LE strings — CRT locale fragments only, no asset names.

Case File #2 (WP-005)

SHA-256 of source binary: AB2B71FEEFF0777B26928E95C99F9936F5C4D87FE321ED4913B8956C83772BC8 (Case File #2.exe on the disc, cached as tools/exes/casefile2/Scooby.exe). Strings (2,040 ANSI) and imports (330) were extracted with the WP-007 tools on 2026-11-13. Both stay local.

Verdict: a different engine, not part of the Gen 1–3 lineage. The evidence:

The executables were read as data and not run. The demo’s files were extracted to the session scratchpad only.

The same framework also runs the publisher’s launcher on both Case File discs (HD\LAUNCHER\: TLCLauncher.exe, launch.xml, .mps scripts). On Case File #1 the launcher ships TLCLLTrinketcore.dll and ompp32x.tlc. So the trinket/OM++ framework was already present in Case File #1’s launcher, but not in Case File #1’s game (MMFW). Case File #2’s game is built on it. The launcher also accounts for the launch.xml and TLCUser*.dat strings both executables share.

Conclusions (Case File #1 — strings)

Import table (WP-007)

Per-title PE import tables extracted via tools/extract_imports.py (Python pefile walking DIRECTORY_ENTRY_IMPORT). Entries are normalized to DLL::Function, sorted case-insensitively, deduplicated. Raw dumps under tools/exes/<title>/imports.txt (gitignored — function names are uncopyrightable interface data, but kept local for consistency with the strings dumps). Groupings here are by function role per WP-007 §Output specification, not by DLL — each role pulls from whichever DLL provides it.

Function names that route to the same Win32 surface across titles (e.g. KERNEL32.dll::ReadFile) are listed in each title’s section verbatim — the goal is per-title auditability against the Binary identity SHA, not deduplication.

Showdown (Gen 1) — 216 entries

SHA-256 of source binary: 1328454334CDDB9518168B78BA7FFEB13BA7B772E6B52F4E2B87098D18AF7478

Win32 File I/O (23 entries):

Memory / Process / Threading / CRT-shim (90 entries):

Graphics / DirectX (25 entries):

The EndDoc/EndPage/StartDocA/StartPage GDI functions are printing primitives, paired with the WINSPOOL imports below — Showdown can print (likely certificates/coloring pages, period-typical for edutainment).

Audio / Video (16 entries):

Input (8 entries):

CRT / Standard Library: none. No MSVCRT.dll, no MSVCR*.dll, no MSVCP*.dll. The C runtime is statically linked — consistent with the heap/locale/exception KERNEL32 surface above being all the CRT shims need.

Other (54 entries):

Conclusions (Showdown — imports)

Phantom (Gen 1) — 216 entries

SHA-256 of source binary: 619EA6871A2FD305CA30814C438F9552DB85FDADB65AD7BE5B82A1656AF807ED

Byte-identical to Showdown’s import table. SHA-256 of normalized imports.txt matches across both binaries (verified via diff tools/exes/showdown/imports.txt tools/exes/phantom/imports.txt returning empty). Every group above for Showdown applies to Phantom verbatim — same 216 entries in the same DLL distribution, including the 11 Bink symbols and the WINSPOOL/IMM32 surfaces.

This is the strongest possible cross-title evidence of engine-level identity at the Gen 1 link boundary: Phantom and Showdown were linked against the same import-library set with the same configuration. Combined with the Rich Header match (the same VC6 builds and entries; Phantom has six more C++ objects), Showdown and Phantom are the same engine binary up to per-title content. The Phantom-specific FBF\ source-tree paths in the strings findings are the only meaningful binary delta.

Conclusions (Phantom — imports)

Jinx (Gen 2) — 205 entries

SHA-256 of source binary: 136A276872803AC99B0D050B21CC3A83F8E1608F2394C33865CFFF781FB20271

Win32 File I/O (17 entries):

Memory / Process / Threading / CRT-shim (~89 entries):

Graphics / DirectX (21 entries):

No DDRAW.dll import. Jinx renders via GDI DIBs (CreateDIBSection + BitBlt + palette management), not DirectDraw — a substantial Gen 1 → Gen 2 architectural shift. The disc-side INSTALL\ may still drop DirectX runtime files for compatibility, but the engine binary itself is GDI-based.

Audio / Video (5 entries):

No static DSOUND.dll import, but DSOUND.DLL + DirectSoundCreate appear as strings — the strings finding above identifies this as dynamic LoadLibraryA/GetProcAddress loading. DirectSound is still the audio backend; only the link strategy changed.

Input (~10 entries, USER32-only):

No DINPUT.dll import. Jinx polls keyboard/mouse through USER32 only (GetAsyncKeyState, GetKeyState, message-pump). The Gen 1 DirectInput-driven input path was dropped between Gen 1 and Gen 2.

CRT / Standard Library: none (CRT statically linked, same as Gen 1).

Other (~63 entries):

Notably absent vs Gen 1: ADVAPI32.dll (no registry calls), SHELL32.dll (no shell namespace), IMM32.dll (no IME), WINSPOOL.DRV (no printing), DDRAW.dll, DSOUND.dll, DINPUT.dll, binkw32.dll. The Gen 2 engine binary is much more focused — GDI rendering, USER32 input, MSVFW32 video, dynamic-loaded DSound. Half the DLL surface of Gen 1 is gone.

Conclusions (Jinx — imports)

Case File #1 (Gen 3) — 195 entries

SHA-256 of source binary: 9813A3DDBE58BC9D7CC898030F4A2F93658FD4A69156BA8531C6E4F273E97CF8

Win32 File I/O (16 entries):

Notably no FindFirstFileA/FindNextFileA/FindClose in Case File #1’s imports — Gen 3 dropped directory-enumeration, consistent with the disc-side observation that all assets live inside named MMFW archives (no need to glob disc directories at runtime). Also no GetPrivateProfileStringA — Gen 3 dropped INI parsing entirely in favor of libexpat-driven XML.

Memory / Process / Threading / CRT-shim (~84 entries):

The Memory/Process surface is near-identical to Jinx (same MMFW substrate); minor delta is FormatMessageA/FindResourceA/FileTimeToDosDateTime from Jinx are gone, and GetEnvironmentVariableA is back.

Graphics / DirectX (28 entries):

Gen 3 GDI imports add vector primitives that Jinx didn’t have: Ellipse, LineTo, MoveToEx, Polygon, Polyline, PolyPolygon, Rectangle, SetPixelV, CreatePen. The Gen 2 engine was pure DIB blits; the Gen 3 engine also does GDI vector drawing on top. Possible cause: the suspects-and-clues UI (per the SMSuspectsAndCluesScene class name) draws diagrammatic content via GDI primitives rather than pre-rendered bitmaps.

No DDRAW.dll import (same as Gen 2 — DirectDraw remains absent from Gen 3).

Audio / Video (1 entry):

Notably no MSVFW32.dll import. Case File #1 dropped Video for Windows DrawDib (Jinx’s cutscene path) — combined with the ole32.dll COM imports below and the disc-side raw .avi files, Gen 3’s video path is DirectShow (COM filter graphs) rather than VfW DrawDib. The quartz.dll IGraphBuilder/IMediaControl interfaces are loaded indirectly through CoCreateInstance, so they don’t appear in the static import table — but the pattern is unambiguous.

No static DSOUND.dll import (same dynamic-load pattern as Jinx — strings DSOUND.DLL + DirectSoundCreate present).

Input (~6 entries, USER32-only):

CRT / Standard Library: none (CRT statically linked, same as Gen 1/2).

XML parsing (7 entries — Gen 3 only):

Confirms the Cross-title runtime dependencies “XML parser: present” verdict at the static-import level. The Expat surface used is minimal — element-handler callbacks + byte-position tracking for error reporting — which is consistent with the launch.xml-class config files Case File #1 loads at startup.

COM (3 entries — Gen 3 only):

These three are the canonical COM-client initialization triad. Combined with the disc-side raw .avi files and the absence of any other AV runtime in the imports, this is strong indirect evidence of DirectShow filter-graph usage for video playback. The Gen 3 cutscene path is: CoCreateInstance(CLSID_FilterGraph) → build a filter graph for the AVI → IMediaControl::Run(). Exact quartz.dll symbols aren’t in the static import table because COM is loosely typed; the verdict is “DirectShow, confirmed by elimination + disc-side .avi files.”

Other (~50 entries):

Notably new vs Gen 2: EnumDisplaySettingsA/ChangeDisplaySettingsA (display-mode enumeration + change), LoadImageA/LoadStringA (PE resource loading), ScrollDC (scrollable surfaces).

Notably absent vs Gen 1 still: ADVAPI32.dll (no registry), SHELL32.dll (no shell), IMM32.dll (no IME), WINSPOOL.DRV (no printing), DDRAW.dll, DSOUND.dll (static), DINPUT.dll, binkw32.dll. The Gen 2 → Gen 3 transition kept Gen 2’s reduced surface and added libexpat.dll + ole32.dll.

Conclusions (Case File #1 — imports)

Resource loading map

Showdown (Gen 1) — WP-001 Ghidra trace (2026-11-13)

Binary: Scooby.exe, SHA-256 1328454334CDDB9518168B78BA7FFEB13BA7B772E6B52F4E2B87098D18AF7478. Ghidra 12.1.4, default auto-analysis (107 s), project at C:\dev\scooby-engine\ghidra\scooby.gpr (local, gitignored). The binary is not packed: it is ordinary Visual C++ 6.0 code, and its __FILE__ strings name the source files, which anchor the subsystems.

Labels use the engine’s debug channels (resource, graphics, audio, script, input, fixed by WP-010 in engines/scooby/detection.h). The address list is committed as tools/ghidra-scripts/wp001-labels.txt; ApplyLabels.java re-applies it to a fresh project (68 labels). Addresses are function entry points. Four functions (0x402130, 0x402410, 0x4091FF, 0x43FB90) are reached only through vtables or pointer tables, so auto-analysis did not create them. The label script does.

Startup and file opening. resource_GameResource_ctor (0x4327D0, GameResource.cpp, logs Creating Game Resource) opens TGIFILE.ART, then numbered volumes from the %sTGIFILE%i.ART pattern, then the %sTGIFILE.ART path form if nothing opened yet. Each file that opens becomes one art file (resource_GameResource_AddArtFile, 0x4336F0, logs Loading art file '%s'), up to 5. With none it fails Failed to locate an ART file. It also creates a 16 MB ResourceHeap. Lookups search the art files newest first, so a later volume overrides an earlier one by name. Showdown ships one file.

Art file (GameArtFile.cpp; its read errors log Failed to read from file TGIFILE.ART):

Address Label What it does
0x43A8B0 resource_ArtFile_ctor Reads sectors 0–63 (0x20000 bytes), parses room count + descriptors, object count + descriptors, name count + 68-byte name records; sorts names for binary search
0x43AED0 / 0x43ACE0 resource_ArtFile_ReadSectors(Alloc) Descriptor d → seek (d >> 14) × 2048, read (d & 0x3FFF) × 2048 bytes in 512 KB chunks
0x43B080 resource_ArtFile_LoadRoomBlock Name → id → room descriptor → read block; relocate layer, cel, 0xB0, 0xB8 tables; RGB555 pass on 15-bit displays
0x43B3D0 resource_ArtFile_LoadObjectResource Name → id → object descriptor → read into the resource heap; relocate tables, sequence polygons, frame cels, cel masks
0x43B880 resource_ArtFile_LookupId Name → id

Resource manager (GameResource.cpp):

Address Label What it does
0x432CC0 resource_GameResource_GetRoom Cached room block by ROOM_* name; Failed to located room name %s
0x432E30 resource_GameResource_FreeRoom Frees the block and releases objects
0x432F60 resource_GameResource_GetObject Reference-counted cache of object resources by OBJ_* name; evicts (Resizing cache to load '%s') when the heap is full; Failed to locate object name %s
0x433220 resource_GameResource_ReleaseObject Drops a reference; Negative object reference count
0x433690 resource_GameResource_GetId Any name → id (used for ANIM names); Failed to locate ID '%s'

These are the format facts that came out of the trace, each written up in tgifile-art.md:

Animation and drawing (graphics, input):

Address Label What it does
0x430D60 graphics_Sprite_ctor Sprite node: holds an object resource (via GetObject), parent, depth; children kept sorted by depth
0x430790 graphics_AnimSprite_ctor (obj name, ANIM name, parent, depth, mode, ticks per step, start step)
0x430A00 graphics_AnimSprite_SetAnim ANIM name → id (GetId) → sequences[id & 0x3FFFF] of the held object
0x430AA0 / 0x430890 graphics_AnimSprite_Start / _Tick Modes 1–5 (loop fwd/back, once fwd/back, jump to end); countdown of ticks per step. _Tick is sprite vtable slot +8
0x431130 (sprite tree tick) Walks the tree front to back and calls each sprite’s +8 (tick) and +0xC, unless the subtree is marked done (+0x30). Each child’s next sibling is read before the child is walked. WP-017, WP-055
0x431190 (sprite tree sweep) Right after 0x431130, front to back: each sprite’s +0x10 (0x4309C0), or, marked done (+0x30), its deleting destructor. WP-055
0x435BC0 (game tick loop) ticks = elapsed_ms × 36 / 1000 − done. Runs each owed tick (tree tick, room update) and then draws once: 36 ticks per second. Phantom: 0x4368F0, byte-identical. WP-017
0x4309C0 graphics_AnimSprite_SelectFrame Current step’s frame ref → frame record
0x430D10, 0x431350, 0x4312A0 input_AnimSprite_HitTest, input_PolygonHitTest, input_PointInPolygon Step polygon: bounding box, then even-odd test
0x4311F0 (sprite hit walk, vtable +0x14) Front to back in draw order; skips hidden (+0x14); calls +0x1C (type 1) or +0x20 (type 2) by the sprite’s +4. WP-018
0x431400 (cel hit test, type 1) Inside a cel: non-solid non-zero pixel, or mask B / mask A covers the point. WP-018
0x402410, 0x4015F0, 0x408450 input_ExitObject_GetRolloverCursor, clickable and base rollover (vtable +0x18) Exit: rolloveranim= (hint mode: ANIM_CURSORSCRAPPY_ANIM). Clickable: ANIM_CURSOROPEN. Base: none. WP-018
0x4313F0 (sprite set hidden) Writes +0x14; 0x4091FF hides OBJ_GHOST with it. WP-018
0x438660 graphics_Renderer_RenderFrame Opaque pass front to back, then alpha regions back to front
0x439C00 graphics_Renderer_DrawFrameRecord Intersect still-visible region with mask A (draw, subtract) and mask B (queue); GameRenderer::AlphaRegion buffer overflow error
0x4398A0 graphics_Renderer_GetCelPixels The RLE decoder, with a 256-slot bitmap cache; Out of space for the Bitmap Cache
0x439170 / 0x4394D0 graphics_BlendAlpha4444_565 / _555 ARGB4444 over RGB565 / RGB555
0x433AF0 graphics_ConvertCelTo555 RGB565 → RGB555 over mask A, or of the solid colour

The art is 16-bit. The engine checks the display’s green mask (0x3E0 = RGB555) and, on a 555 display, converts each cel once at load, not per frame.

Rooms and object.ini (script): see object.ini consumer below, and the exit transition for characters, scenes and the walk-off.

Sound (audio, GameSound.cpp / GameSoundFile.cpp):

Address Label What it does
0x4344A0 audio_GameSound_ctor Opens sfx.dat, voice.dat, music.dat; Failed to open <file>
0x43C5A0 audio_SoundFile_ctor Reads u32 1 (else Invalid sound data file), u32 count, u32 table offset; loads count × 68-byte (u32 offset, char[64] name) records and sorts them by name
0x434DC0 audio_GameSound_LookupId Name → sound id, searching sfx.dat, voice.dat, music.dat in that order; Failed to locate id %s
0x434E30 / 0x43CF20 audio_GameSound_PreloadSection Preloads every sfx.dat sound whose name starts with a prefix
0x446010 audio_SoundStream_Open Reads the clip’s header sector, builds a PCM WAVEFORMATEX from it, keeps the lip-sync block, streams PCM from the next sector (WP-004)
0x445550 audio_SoundStream_SetFormat Recreates the DirectSound buffer when the format changes; logs Buffer format = %d channels, %d bits, %d
0x442FB0 audio_CopyLipSync Copies the clip’s (count, fps, bytes) lip-sync block

Sounds are named <Section>.<Clip> (for example Global.Scrappy.Help.Wiggle). A numeric sound id is the file’s base (0x1000_0000 sfx, 0x2000_0000 voice, 0x3000_0000 music) plus the clip’s index in that file’s name-sorted table. On every room load script_Game_LoadRoom preloads the sfx.dat clips of the Global section and of the room’s own section. The clips are uncompressed PCM; the full format is in audio-archives.md (WP-004).

For Case File #1 (Gen 3), the MMFW loader is the top research target of WP-011; its function map lands as its own subsection here once a finding reaches Observed.

object.ini interpreter behavior

Gen 1 (Showdown)

Source binaries (committed to memory at the SHA-level, not the byte-level — files are not staged):

File Path Size (bytes) SHA-256
object.ini tools/exes/showdown/object.ini 25,196 027928BB0219B9EADFEC1E066278D9BD3521B48B3E2D420DD7FEA69558A41C49
Scooby.eng tools/exes/showdown/Scooby.eng 2,823 EE9BE93A024FF9B7F5EA1C2445B711FB7C13CEF61A079A4609EDF1201CBAB19B

The Scooby.eng row is byte-identical between Showdown and Phantom (same SHA-256, same 2,823-byte size) — a cross-Gen-1 finding pre-recorded in the WP-008 pre-flight. Gen 1 ships a shared system-error string table across both titles. All object.ini behavior claims below are scoped to Showdown’s binary; Phantom’s OBJECT.INI is a different SHA / different size (28,788 bytes) and runs at its own WP if/when it’s pulled in.

Catalog produced by tools/parse_ini.py + tools/parse_eng.py; raw outputs (tools/samples/asset-catalog.json, tools/samples/unmatched-assets.txt) stay local-only per the WP-008 copyright posture. Findings below cite counts, patterns, and structure only.

Section structure (the surprise)

The file is not organized by entity type. It is a flat list of 215 [OBJ_*] sections. There are zero top-level [ROOM_*], [CURSOR_*], [INVENTORY_*], or [GLOBAL] sections. Entity-type discrimination happens through the ID= field on each [OBJ_*] section. Five values exist:

ID= value Count Role
exitobject 77 Room-to-room navigation triggers. The constructor reads destinationroom=, movie=, scene= and a direction per gang member (fred= … scooby=); character= and direction= are never read (exit transition)
clickableobject 103 Interactive hotspots. Showdown’s sections hold only ID=, sometimes priority= and layer=, and an empty sequence=; what a click does comes from the placed ANIM’s name (clickables)
inventoryobject 11 Pickable items (carry toolbaranim=, usecursor=, pickupanim/sfx/movie=)
requiresobject 13 Hotspots gated by an inventory cursor (carry requiredanim=)
simpleobject 11 Pure visual hotspots (carry sequence=, priority=, layer=)

Total: 215. Total v1-schema buckets after synthesis: 215 objects · 37 rooms · 23 cursors · 11 inventory (tools/samples/asset-catalog.json counts block). The rooms/cursors buckets are derived during the post-parse cross-reference pass: rooms from the unique destinationroom= values, cursors from unique ANIM_CURSOR* references.

Section-attribute keys observed: ID, character, daphne, destinationroom, direction, fred, layer, movie, pickupanim, pickupmovie, pickupsfx, priority, requiredanim, rolloveranim, scene, scooby, scrappyid, sequence, shaggy, toolbaranim, usecursor, velma. No quoting, no multi-value lines, no backslash continuations. Sentinel values: <none> and -1.

Asset-reference format — the load-bearing finding

The engine is name-driven. Every asset reference in object.ini is a string in the WP-003 TGIFILE.ART name-table convention — ROOM_* for rooms, ANIM_* for animations, OBJ_* as the section-header convention itself. No numeric indices appear as asset references. The few numerics that do appear (movie=-1, pickupmovie=-1, layer=1, priority=100) are engine sentinels or render-order metadata, not asset-store lookups.

Parser mode selected per the EC-004 Step 1 parser-mode-lock gate: MODE_A — Direct TGIFILE name-table strings.

WP-003 name-table cross-check (Exit criterion #6)

The exit criterion specifies a four-number metric: total / matched / unmatched / rate. Computed against the TGIFILE.ART pre-payload name table regenerated at tools/samples/wp003-name-table.txt (811 records: 42 ROOM, 453 OBJ, 316 ANIM):

Metric Value
Total asset references in object.ini 286
Matched against WP-003 name table 221
Unmatched 65
Match rate 77.27 %

77 % is below the pre-flight’s “≥95 % → unambiguous name-driven evidence” threshold, but the 65 unmatched are not evidence of a non-name-driven mechanism — they are a coverage gap. Every unmatched reference is still a ROOM_*/OBJ_*/ANIM_* string in the WP-003 convention; the references just don’t have corresponding TGIFILE.ART payloads. Bucketed:

Unmatched bucket Count What it tells us
ROOM_* referenced by destinationroom= but absent from WP-003’s 42-ROOM table 21 Includes ROOM_Main_Menu plus 20 ROOM_P{NN}_<descriptive> rooms. Either these rooms have no pre-rendered backgrounds (scripted/engine-rendered scenes — ROOM_P30_Horseshoe_Corral, ROOM_P32_Pie_Noon are minigames per the source-tree paths \Scooby\GBH\Horseshoe_Corral_Room.cpp and \Scooby\GBH\Pie_Noon_Room.cpp in the Showdown strings findings), or their backgrounds live in a separate archive. Resolved 2026-11-13 (WP-002/WP-009): neither. All 21 have ordinary scene-block backgrounds in TGIFILE.ART; they are only missing from the name table, which covers room ids 27–68. See tgifile-art §Scene index = ROOM id.
OBJ_* section headers (hotspot / exit / overlay) with no TGIFILE.ART art payload 25 Names ending in _HOTSPOT*, _TO_P*, _OVERLAY — invisible click targets that don’t need pre-rendered art. Corroborates the Showdown strings finding of Failed to locate id %s / Failed to locate object name %s as the engine’s string-keyed lookup error path — not every [OBJ_*] ID is expected to resolve to an art entry. (WP-001: still 25 against the full 1,788-record table. No room places any of them, so the placement path never reads these sections.)
ANIM_CURSOR<NAME> and ANIM_TOOLBAR<NAME> for inventory items 19 All 11 OBJ_INV_* items reference a ANIM_CURSOR<NAME> + a ANIM_TOOLBAR<NAME>. System toolbar animations (ANIM_TOOLBARCOMPUTER_IDLE, ANIM_TOOLBARSCRAPPY_IDLE, ANIM_TOOLBARMAGGLASS_IDLE, etc.) do match the WP-003 table; the inventory-item variants do not. Either inventory animations live in a separate asset store, or TGIFILE.ART only carries the system toolbar animations and the inventory ones are generated/composited at runtime. New unknown for WP-001. Resolved 2026-11-13 (WP-001): neither. All 34 ANIM_TOOLBAR*/ANIM_CURSOR* references are in the full name table, as sequences of OBJ_TOOLBAR and OBJ_CURSOR. WP-003 had parsed only 811 of the 1,788 records.

Re-run against the full name table (WP-001, 2026-11-13): 261 of 286 references resolve (91.26 %). The 25 that do not are the OBJ section headers in the second row.

So the answer to WP-008’s load-bearing question — “is the engine name-driven (string references resolved through the WP-003 name table) or index-driven (numeric references that hit TGIFILE.ART entries directly)?” — is name-driven, full stop. The 77 % match rate refines but does not refute this: TGIFILE.ART is one of multiple name-keyed asset stores. WP-002’s probe_art.py can label decoded TGIFILE.ART entries directly via the WP-003 name table (per the WP-008 §Notes deterministic naming rule); the 65 unmatched references just won’t have a corresponding decoded entry to label.

Failure-handling synthetic-input checks

tools/parse_ini.py --self-test runs four synthetic-input cases corresponding to the four policy lines in WP-008 §Failure handling:

Synthetic input Expected behavior Verified
Duplicate [OBJ_A] section Hard-fail (ParseError("duplicate section …")) ✅
Unknown key mysteryfield=42 inside known [OBJ_X] section Preserved under extra_fields ✅
Malformed line this line has no equals sign inside known section Hard-fail (ParseError("unparseable line …")) ✅
Unknown section type [GLOBAL] Warned, recorded under unknown_sections; subsequent K/V lines silently skipped until next known section ✅
Scooby.eng integration

Scooby.eng parses cleanly with tools/parse_eng.py: 10 messages, IDs 0001 and 0010–0018, all system-error/init strings. All 5 spot-checked strings appear verbatim in Scooby.exe’s strings-ansi.txt (lines 1674–1683 per the Showdown strings findings), confirming the engine loads Scooby.eng at startup and renders these strings as-is for hardware-init / DirectX failure paths. The file documents its own format in its first ~25 lines (^ comment marker, [NNNN] message-ID declaration, “line breaks taken literally” inside a message). Encoding: pure ASCII (0 high-bit bytes across all 2,823 bytes), CRLF line endings.

No object.ini field is shaped like a Scooby.eng message ID. The combined catalog records object_ini_to_eng_resolutions: 0. Scooby.eng is not a runtime localization table for object.ini strings; it is purely the boot/error-message table for Scooby.exe’s system-error paths (the 0010–0018 block matches the DirectDraw/DirectSound/CD-ROM failure surface called out in the Known facts section above and corroborated by the binary’s import table). In-game dialogue text is not in Scooby.eng; it lives in voice.dat or in scripted dialogue elsewhere (a new unknown to scope as part of WP-004).

Data-driven vs implicit

object.ini carries the asset-binding layer end-to-end: every interactive object, every room exit, every cursor swap, every inventory item is named here. What it does not carry:

So the data-driven hypothesis stated under Hypotheses (unverified) — “Most gameplay rules are driven by object.ini, with the exe acting as interpreter” — is partially confirmed and importantly refined: the asset-binding and navigation graph is data-driven, but the puzzle/state logic is not. WP-001 (Ghidra session) needs to find the function that consumes object.ini (likely the loader that triggers on the Failed to load room. error string per the Showdown strings findings) and the function that resolves cursor-key + click-target combinations to script invocations (probably keyed by the scrappyid=Global.Scrappy.* field, which suggests a script-table identifier resolved from a different file).

object.ini consumer (WP-001)

Traced in Ghidra on 2026-11-13. Function labels are listed in Resource loading map.

object.ini is never parsed into a table. Every read is a live GetPrivateProfileStringA call. script_GetObjectIniString (0x40AB80) asks for a key in the section named after the object ([OBJ_*]), with a default and a 1,000-byte buffer. It goes through the Win32 wrapper at 0x43FB90, the binary’s only GetPrivateProfileStringA call site. The path comes from script_GetObjectIniPath (0x40AE40, %sobject.ini, cached). Keys are read when a placed object is built, by that object’s constructor. A ScummVM port can read the file with Common::INIFile and look keys up the same way.

Room load (script_Game_LoadRoom, 0x435DC0, Game.cpp):

  1. Find the Room object for the ROOM_* name in the list the game builds at startup. Each room is a C++ object, and some have their own class (Pie_Noon_Room.cpp, Horseshoe_Corral_Room.cpp, Options_Room.cpp). If none matches: Failed to load room.
  2. Load the room block (resource_Room_LoadArt → GetRoom) and create one sprite per used layer slot, at depth -110000 + 10000 × slot.
  3. Offer each placement record to the room object’s own handler first, a virtual call that matches OBJ names. The front-of-general-store room, for example, claims OBJ_INV_CLOCK and OBJ_P10_FRONT_OF_GS_CLOCK_NOFACE. If the room declines, script_ScoobyGame_AddPlacement (0x4091FF) builds the object:
    • script_CreateObjectFromIniId (0x408F90) reads ID= from the object’s section, defaulting to simpleobject. It builds an inventoryobject (0x4026B0), requiresobject (0x402D90), exitobject (0x401850) or clickableobject (0x408DC0), each at the placement’s (x, y). This is the ID= switch WP-008 predicted.
    • simpleobject and unknown values fall through. Gang members (OBJ_<character>) become character actors (0x4048E0), whose depth follows y. OBJ_GHOST gets its own handling. Anything else becomes a plain animated sprite playing the placement’s ANIM.
    • Each kind gets a parent layer and a depth, which together set the draw order. The table is in tgifile-art §Rendering a room.
    • The parent a class passes when it claims a placement (audited 2026-11-30 against every claim in both games). The builders take it as an argument:
      • 0x408C80 (requires), 0x408D20 (exit), 0x408BD0 (inventory): −1 means layer 0 (game +0x58). Any other value is the parent itself.
      • 0x408DC0 (clickable): −1 means the object’s layer= slot (missing → 0).
      • 0x4314C0 (a plain sprite; Showdown’s 0x430790): no default. *(game + 0x58) is layer 0, *(game + 0x5C) layer 1, and 0 the root.

      No room in either game has a layer slot other than 0, so game +0x5C is always null and “under layer 1” means under the root. A root sprite at any ordinary depth draws in front of the whole layer-0 subtree, characters included. The audit added the parent to the notes below for KST, the magic mirror room, the well, the maze map, the wizard’s skull and bedroom, and WFR. It checked the sprites the classes build at entry, outside their claims, the same way. Only KST’s cast (Shaggy, the knights, the mugs) differed from the port: the original puts it under the root, with the table overlays.

  4. Preload the Global and room-section sounds (see Resource loading map, Sound), then log progress (Been loading objects for 4 seconds) during long loads.

Correction to WP-008’s “scripted-room render branch”. There is no branch between “decode from TGIFILE.ART” and “render from code”. Every room loads its block from TGIFILE.ART (WP-009 had already shown that every room has a background). Per-room code adds behaviour through the placement hook and its own logic.

scrappyid resolver. scrappyid= values are voice-clip names in Voice.dat, resolved by name through the sound manager. The exit-object constructor stores the value. On a click (script_ExitObject_OnClick, 0x402130), if the cursor is ANIM_CURSORSCRAPPY_ANIM (Scrappy’s hint mode), it calls audio_GameSound_LookupId(scrappyid) and has the toolbar Scrappy speak the clip. Otherwise it performs the exit: it writes the exit to the save file’s Exits section and hands it to the room (the exit transition). WP-018 read the Exits write as a log channel. On rollover (input_ExitObject_GetRolloverCursor, 0x402410) the cursor becomes ANIM_CURSORSCRAPPY_ANIM in hint mode when the object has a scrappyid, and rolloveranim= otherwise. Inventory objects read scrappyid too. Check against the data: 32 of the 35 distinct scrappyid values are clip names in Voice.dat. The other three, Global.Scrappy.Boot_Hill_1_to_Light_Tunnel, …Boot_Hill_2_to_Boot_Hill_3 and …Tunnel_Light_to_Boot_Hill_1, have no clip. Voice.dat has neighbours such as …Boot_Hill_2_to_Light_Tunnel, so these are authoring mismatches. The lookup returns 0 for them and logs Failed to locate id %s.

Inventory animations. toolbaranim= and usecursor= name sequences of two ordinary objects: OBJ_TOOLBAR (id 295) and OBJ_CURSOR (id 20). All 34 such names are in the TGIFILE.ART name table. script_Inventory_AddItem (0x406DD0, Inventory.cpp, Out of Inventory space) creates the toolbar slot as an OBJ_TOOLBAR sprite playing the item’s toolbaranim. The cursor (0x4089E0) is an OBJ_CURSOR sprite, ANIM_CURSORARROW by default. There is no separate inventory art store.

The exit transition (WP-020)

Traced 2026-11-14 for WP-020; the fork plays it.

  1. The click (script_ExitObject_OnClick, 0x402130, the exit’s vtable +0x0C, run each tick with a clicked flag at +8) writes the exit’s name to the save file’s Exits section. It then packs the exit (0x404820) and passes it to the current room object’s vtable +0x24 (0x4024C0).
  2. The handler. The base room class (vtable 0x45E5FC) uses 0x40C1E0. It fades the cursor out (0x435150), blocks input (game +0x24), starts the scene (0x40B400) and parks the exit on the room. Showdown builds 47 room classes in its factory (0x42E0E0, game vtable +0x14). 31 keep 0x40C1E0. The other 16 override it to gate exits on story state or swap in another scene, and each then calls 0x40C1E0.
  3. The scene (room vtable +0x38, 0x40C810, every tick). Once the speaker is done (0x406060), it moves to line n + 1. The first character in the game’s list (+0x19C: the room’s character placements in order, then OBJ_NARRATOR_A from 0x409670) that has a clip <scene><n>_<NAME> speaks it (0x404DB0). If none has one, the scene ends.
  4. The walk-off (0x40BE20, from the room tick 0x40B490 once the scene is over). Each gang member’s walk length is its sequence’s step count (0x404EA0). The first strictly longest of Fred, Velma, Daphne, Shaggy and Scooby leads and starts at once. In the order Fred, Daphne, Velma, Shaggy, Scooby, each other member starts on the first tick when the leader’s steps left, less 1, are no more than its own length. When the leader is on its last step, game vtable +0x08 (0x42DE10) plays movie= if set and changes room.

Exit keys. The constructor (0x401850) reads destinationroom=, rolloveranim=, scrappyid=, movie=, scene=, and one direction per gang member: fred=, daphne=, velma=, shaggy=, scooby=. It never reads character= or direction=. It clears scene= when the save’s Exits entry for the exit is 1, on, On, ON or TRUE, so a scene plays once.

Characters (0x4048E0). OBJ_FRED_A is named FRED with the set _A. A state change (0x405190) builds an object and a sequence name, switches the sprite’s object when the name differs, and starts the sequence:

State Object Sequence Mode Then (+0x78)
0, a direction such as UR OBJ_FRED_STARTWALK_UR_A ANIM_FRED_STARTWALK_UR_A1 once 7: stay
0, a direction such as TURN_UR OBJ_FRED_A ANIM_FRED_ATURN_UR once 7: stay
6 idle OBJ_FRED_A ANIM_FRED_AIDLE_MASTER loop —
8 talk OBJ_FRED_A ANIM_FRED_ATALKS stopped 6 when the clip ends

The character’s vtable is 0x45E4D8. Its update (0x404B70, +0x0C) goes to the next state when the sequence stops (states other than 6 and 8). Its +0x10 is the sprite’s 0x4316F0, which sets the shown cel (+0x18) from the sequence (+0x50) at the current step (+0x4C). The room classes call it just after a character’s special so that the new sequence shows on this frame (traced 2026-11-28, WP-111). While talking, it shows step shape − 1 from the lip sync (0x442DD0). Starting a walk (0x405D90) moves the character 50 in front for a direction starting with D, and 50 behind for one starting with U (0x430EE0). States 2–5 are under Characters’ idles; 9–17 (Velma’s reactions, fright) are not traced here; 18 (0x12) is under Clickables.

Address What it does
0x40C1E0 Default exit handler (room vtable +0x24)
0x40B400 Start a scene, if none is playing and no exit is parked
0x40C810 Scene player (room vtable +0x38)
0x40B490 Room tick (room vtable +0x04): scene, delayed scene, walk-off, snacks
0x40BE20 Walk-off
0x4048E0 / 0x405190 / 0x404B70 Character constructor, state change, update
0x404DB0 / 0x406060 Say a line; talking or a line waiting
0x404EA0 / 0x405D90 Walk length; start a walk
0x40A800 First character in the game’s list with a name
0x409670 Add the narrator
0x430EE0 Move a sprite to a new depth among its siblings
0x442DD0 Lip-sync shape of a playing clip
0x42DE10 Game vtable +0x08: movie, then the next room
Characters’ idles (WP-059)

Traced 2026-11-16 for WP-059, in Showdown. Phantom’s character code is the same at the same addresses: the functions below decompile identically, apart from library calls.

When a character idles. Each character keeps a countdown (+0x5C).

A click on an idle character. The update reads it after the state code: the character under the mouse (+0x08), the button up (game +0x20 bit 4), in IDLE_MASTER, with the arrow.

The states (0x405190):

State What plays Then
2 rand() % 3: 1 or 2 make it state 5. Else ANIM_<NAME><set>IDLE_P<n> once, and Global.Idle.<NAME>_P<n><set> if that clip exists and the character isn’t hidden (+0x14) 6
3 ANIM_<NAME><set>IDLE_S<n> once, with Global.Idle.<NAME>_S<n><set> as for 2 6
4 The room’s idle line (room vtable +0x28). Not on the disc: back to 6 (no change if already 6). Else said with the speech lock (0x404DB0), which talks (8) 6 when the line ends
5 ANIM_<NAME><set>BLINK once. A missing ANIM leaves the sprite stopped (mode 0), so the next tick goes on 6

The idle line (room vtable +0x28).

What the discs have:

Address What it does
0x404B70 Update: the speech lock let go, the countdown, a click while idle
0x405190 State change: 2–5 above, and the countdown at its end
0x405CE0 An idle’s digit
0x404DB0 Say a line, with or without the speech lock
0x406060 Busy: talking, a line waiting, or Scooby in state 3
0x4062E0 Rollover: the open hand for the arrow
0x40CB50 Room vtable +0x28, the base idle line
0x4272D0 / 0x410550 Phantom’s drawbridge and dining room +0x28
0x431EB0 operator+(const char *, CString): no formatting
Clickables (WP-021)

Traced 2026-11-14 for WP-021, in Showdown; Phantom has the same functions at the same addresses.

A clickable keeps a state, an ANIM name (+0x60), and a sound, SFX_ plus the state without ANIM_ (+0x68). The state starts as the placement’s ANIM, or as the save file’s Clickables entry for the object. A click plays the state once (mode 3, 3 ticks per step) with its sound, advances the state, and tells the room (game +0x40 with 0, as the arrow on a requires object does; corrected in WP-062, where the fork had passed 1). When the sequence ends, the object rests stopped on step 0 of its new state. The state advances by its last character + 1, unless that gives a digit 1–9; a name the art file doesn’t have goes back to A. So …HOTSPOT1A → …1B → …1C, and a state with no next letter stays. If the state is missing even then (Showdown’s …CHANDPUMA), SetAnim (0x430A00) stores id 0 and starts nothing; SelectFrame (0x4309C0) selects no frame and the hit test (0x430D10) fails, so the object is neither drawn nor clickable.

A click can call the ghost instead: if the clickable was built by the default path, rand() % 30 == 0, and the room placed OBJ_GHOST. The ghost is shown and plays once, Ghost_Appears plays, and every character goes to state 0x12: ANIM_<NAME><set>STAY_SCARED once, with Global.Scared.<NAME>. When the ghost’s sequence ends, the game loads ROOM_Ghost_Spot (the ghost spot).

Address What it does
0x408DC0 Build a clickable from a placement: layer= picks the parent, ghost flag set
0x401000 / 0x401350 Clickable constructor (reads Clickables) / destructor (writes it)
0x401440 Clickable update (vtable +0x0C): the click, the ghost’s chance, the rest
0x401650 Advance the state; rebuild the sound name
0x4015F0 Rollover (vtable +0x18): ANIM_CURSOROPEN while the game cursor (+0x238) is the arrow (+0xA0); none while an item is in use (WP-023)
0x40A850 Game vtable +0x40: pass a click to the room’s vtable +0x14
0x404440 Default room +0x14: nothing. Story rooms override it (Boot Hill’s graves: 0x40F250)
0x40A990 The ghost appears
0x409BCA When the ghost’s sequence ends: go to ROOM_Ghost_Spot
0x434CB0 / 0x434C70 Stop / play a sound by id, in whichever file holds it
The ghost spot (WP-056)

Traced 2026-11-16 for WP-056, in Showdown. ROOM_Ghost_Spot’s class (0x4222E0, vtable 0x45EEAC) is the same code in Phantom (0x420350, vtable 0x45EFD4), compared byte for byte apart from addresses. The game comes here once the ghost has scared the gang.

Address What it does
0x4222E0 Constructor: the base room with Ghost_Spot.Music, the flags +0xBC and +0xBD set
0x422350 (+0x04) Tick: the toggle, the countdown, the pan, the skip key, then the town
0x422420 (+0x0C) Entry, after the base entry
0x422490 (+0x18) Placements: Scooby and Daphne
0x4303B0 Game vtable +0x64 (Showdown): ROOM_P01_Town_Center
Phantom’s drawbridge and town (WP-057)

Traced 2026-11-16 for WP-057, in Phantom’s Scooby.exe, from an import of it in a scratch Ghidra project. The addresses in this section are Phantom’s.

Phantom’s functions against Showdown’s. Most of the engine is the same code at other addresses. Matching each function’s instruction sequence, with addresses masked, pairs 980 of Phantom’s 2756 functions with Showdown’s. The base room’s functions keep their addresses, and so do the walk-ins this WP calls (0x405E60 UR, 0x405FE0 U, 0x406020 D, by their direction strings). Among those that move:

Phantom Showdown What it is
0x4314C0 0x430790 graphics_AnimSprite_ctor
0x4317D0 0x430AA0 Start (mode, ticks, start)
0x431730 0x430A00 Play an ANIM by name (vtable +0x24)
0x435760 0x434A30 The sound manager
0x435AF0 / 0x4359A0 / 0x4359E0 / 0x435A10 0x434DC0 / 0x434C70 / 0x434CB0 / 0x434CE0 Name → id; play, stop, is it over
0x435B60 0x434E30 audio_GameSound_PreloadSection
0x437540 0x436810 Restart the game’s tick clock

0x406020 is the walk-in from D: the depth 50 in front, then state 1.

A new game’s story values (game vtable +0x4C, 0x42E880; the profile writer 0x42FFE0 names them):

The Throne Room’s entry clears Screaming.

The drawbridge (ROOM_P01_Drawbridge, 0x426730, vtable 0x45F214; music Drawbridge.Music, opening Drawbridge.100A_). Four flags (P1–P4) must wave their banners’ colours (SP1–SP4).

Who asks for the idle line (room vtable +0x28). A character’s state 4 (0x405190, Showdown) asks the room for its line, and plays it if the line exists, else goes idle (Characters’ idles).

The town (ROOM_P04_Town, 0x4180F0, vtable 0x45EC5C; music Bagpipes.Music, opening Town.110_). Entry (0x418150, after the base entry):

Address What it does
0x426730 Drawbridge constructor
0x426790 (+0x08) Reset: the colours
0x426840 (+0x0C) Entry
0x4268D0 (+0x04) Tick: the puzzle, the fanfare, the drawbridge down
0x426A80 (+0x18) Placements
0x426EA0 (+0x24) Leaving: a snack first
0x427010 / 0x427140 (+0x1C / +0x20) Save / load
0x427270 (+0x14) The sign
0x4272D0 (+0x28) Velma’s idle line
0x427380 / 0x427430 / 0x427490 A flag: constructor, update, state
0x4180F0 / 0x418150 (+0x0C) Town: constructor, entry
0x42E880 Game vtable +0x4C: a new game’s story values
Phantom’s souvenir shop (WP-058)

Traced 2026-11-16 for WP-058, in Phantom’s Scooby.exe. ROOM_P03_Souvenir_Shop (0x416FE0, vtable 0x45EB9C; music group 1, no opening of its own). The gang buys the empty bottle with the tokens.

Address What it does
0x416FE0 Constructor: music 1, no opening
0x417040 (+0x08) Reset
0x417060 (+0x14) The bottle and the hotspot
0x417170 (+0x18) Placements
0x4172D0 (+0x0C) Entry: the walk-in, the opening, the scream
0x417400 (+0x04) Tick: Fred fetches the bottle
0x417580 (+0x10) Leave
0x4175D0 / 0x417610 (+0x1C / +0x20) Save / load
0x405F20 The walk-in from DL (Phantom, as Showdown)
Phantom’s gardener’s house, garden and plaque (WP-060)

Traced 2026-11-16 for WP-060, in Phantom’s Scooby.exe. The house’s plaque leads to a puzzle: four buttons on a crest, pressed in the order a new game drew (CrestSequence0–3, WP-057). Solved, the door to the garden opens.

The gardener’s house (ROOM_P05_Gardeners_House, 0x411BF0, vtable 0x45E914; music group 1, no opening of its own):

The garden plaque (ROOM_Garden_Plaque, 0x40F840, vtable 0x45E7D0; no music of its own, opening Gardeners_House.130A_):

The garden (ROOM_P06_Garden, 0x411A20, vtable 0x45E8D4; music group 1):

Game +0x287 (the plaque tried) isn’t in the profile; a new game (0x42E880) clears it.

Address What it does
0x411BF0 Gardener’s house constructor
0x411C50 (+0x08) Reset
0x411C70 (+0x2C) Arriving: the opening
0x411D60 (+0x0C) Entry: the door, walk-ins, a scream
0x411F10 (+0x14) The plaque: Big Head, or the puzzle
0x412110 (+0x18) Placements
0x40F840 Garden plaque constructor
0x40F8A0 (+0x0C) Entry
0x40F8E0 (+0x04) Tick: the buttons under the mouse
0x40F940 (+0x18) Placements: the buttons
0x40FB20 (+0x14) A button pressed; four, back to the house
0x411A20 / 0x411A80 (+0x0C) Garden: constructor, entry
0x411AD0 (+0x14) / 0x411B50 (+0x18) Garden: the tracks’ lines, their placement
Phantom’s room of doors, its Jester, and Phantom’s clues (WP-061)

Traced 2026-11-16 for WP-061, in Phantom’s Scooby.exe.

The room of doors (ROOM_P11_Room_Of_Doors, 0x415720, vtable 0x45EA9C; music group 1, opening Room_Of_Doors.140_), the hub of the castle’s ground floor:

The Jester (a member of the room’s class at +0xBC: 0x4122D0 constructs it, 0x412B80 runs on entry, 0x4122E0 each tick). Four classes call his tick: the room of doors, the royal gallery (0x416610), the well (0x42C7F0) and the balcony’s door (0x4107D0). The throne room places him without it.

Phantom’s clues (game vtable +0x44, 0x4305C0; 0x430F00). The rule is Showdown’s (the accusation), with Phantom’s tables:

Suspect Clues (0x46E88C, five each) Red herrings (0x46E8F0, two each)
BRAD BRAD_COUPON, BRAD_GLOVE, BRAD_OIL, BRAD_COAT, BRAD_SHEATH RH_BRAD_SCHEDULE, RH_BRAD_HELMET
EWAN EWAN_COUPON, EWAN_BELLOWS, EWAN_K, EWAN_FILM, EWAN_SPOON RH_EWAN_PAN, RH_EWAN_SPATULA
JESTER JESTER_COUPON, JESTER_SIGN, JESTER_BOOK, JESTER_MAKEUP, JESTER_BELL RH_JESTER_CLOTH, RH_JESTER_TAP_SHOES
MARIA MARIA_LICENSE, MARIA_COUPON, MARIA_KEYS, MARIA_BOOTS, MARIA_BOW RH_MARIA_BOOK, RH_MARIA_MUFFLER
WIZARD WIZARD_SMOKEBOMBS, WIZARD_COUPON, WIZARD_SCROLL, WIZARD_BOOK, WIZARD_WAND RH_WIZARD_POTION, RH_WIZARD_TESTTUBE

A red herring is of a suspect neither the villain nor the giver (rand() % 5 until neither), then one of their two (rand() & 1).

Address What it does
0x415720 Room of doors constructor
0x4157B0 (+0x08) / 0x4157D0 (+0x10) Reset / leave
0x4157F0 (+0x0C) Entry
0x4159D0 (+0x34) Idle chatter
0x415AB0 (+0x04) Tick: the Jester, the locked door
0x415C00 (+0x24) The ways out
0x415F80 (+0x18) Placements
0x416140 / 0x4161C0 (+0x1C / +0x20) Save / load
0x4122D0 / 0x412B80 / 0x4122E0 The Jester: constructor, entry, tick
0x4305C0 / 0x430F00 Phantom’s clue giver and red herring
Phantom’s throne room (WP-062)

Traced 2026-11-16 for WP-062, in Phantom’s Scooby.exe. Played through the engine’s event path on 2026-11-29 (WP-120), which found nothing to correct here.

The throne room (ROOM_P10_Throne_Room, 0x417A90, vtable 0x45EC1C; music group 1, opening Throne_Room.160_):

Address What it does
0x417A90 Throne room constructor
0x417AF0 (+0x08) Reset
0x417B20 (+0x0C) Entry: Jane’s movie, the walk-ins
0x417C10 (+0x18) Placements
0x417E80 (+0x04) Tick: the duster, the third hotspot
0x417FB0 (+0x14) The throne’s event
0x418030 / 0x418090 (+0x1C / +0x20) Save / load
Phantom’s dining room (WP-063)

Traced 2026-11-16 for WP-063, in Phantom’s Scooby.exe. Played through the engine’s event path on 2026-11-29 (WP-121), which found nothing to correct here.

The dining room (ROOM_P12_Dining_Room, 0x40FD00, vtable 0x45E810; music group 1, no opening), where Maria is:

ROOM_Maria (0x428770, vtable 0x45F2C0) is her game, a set piece of its own: it generates its items (0x428890); when it is won it sets MariaPuzzle, and 73 ticks later goes back to the dining room (0x428CE0). Below.

Address What it does
0x40FD00 Dining room constructor
0x40FD60 (+0x08) Reset
0x40FD80 (+0x0C) Entry: Maria’s movie, her clue
0x40FEE0 (+0x18) Placements
0x410110 (+0x04) Tick: Maria clicked, her clue given
0x410610 (+0x14) Event: hotspot 2
0x4100C0 (+0x34) / 0x410550 (+0x28) Idle chatter / idle line
0x4104D0 / 0x410510 (+0x1C / +0x20) Save / load
Phantom’s Maria game (WP-064)

Traced 2026-11-16 for WP-064, in Phantom’s Scooby.exe.

Maria’s game (ROOM_Maria, 0x428770, vtable 0x45F2C0; music group 1, no opening, no toolbar): cups and plates on the floor go onto Maria’s two trays until they balance.

Address What it does
0x428770 / 0x428860 Maria’s game constructor / destructor
0x428890 (+0x0C) Entry: the items
0x428CE0 (+0x04) Tick: depths, balance, the win, the timers
0x428F60 (+0x18) Placements: Maria
0x4279D0 An item: constructor
0x427CD0 (item +0x0C) An item’s update: carried, thrown, falling, landing
0x428720 (item +0x18) An item’s rollover
0x429040 / 0x429180 The tray under a point / an item put in a tray
0x4292D0 / 0x429270 An item taken from a tray / whether it may be
0x4296D0 A depth set at the next tick
0x429400 Balance Maria one step
0x4285B0 An item knocked off a tray
Phantom’s kitchen (WP-065)

Traced 2026-11-16 for WP-065, in Phantom’s Scooby.exe.

The kitchen (ROOM_P13_Kitchen, 0x412C90, vtable 0x45E954; music group 1, no opening), where Ewan cooks:

Address What it does
0x412C90 Kitchen constructor
0x412CF0 (+0x08) / 0x4138D0 (+0x10) Reset / leave
0x412EA0 (+0x0C) Entry: walk-ins, his clue, stirring or sleeping
0x4130D0 (+0x04) Tick: Ewan clicked, his clue, the grease
0x4136C0 (+0x14) Event: the grease, hotspot 3
0x413740 (+0x18) Placements
0x412D20 (+0x24) The way out: no movie to the storage room with the screwdriver
0x413920 / 0x413960 (+0x1C / +0x20) Save / load
Phantom’s Ewan’s quiz (WP-066)

Traced 2026-11-16 for WP-066, in Phantom’s Scooby.exe.

Ewan’s quiz (ROOM_Ewan, 0x4109D0, vtable 0x45E890; music group 1, opening Ewan.NOTEBOOKPAGE_INTRO_, no toolbar) is the Sheriff’s quiz on a chalkboard, its own code:

Address What it does
0x4109D0 Ewan’s quiz constructor
0x410A30 (+0x08) / 0x410FB0 (+0x10) Reset / leave
0x410F20 (+0x0C) Entry
0x410A70 (+0x04) Tick: erasing, done, reading, hover
0x411210 (+0x18) Placements
0x411480 (+0x40) An answer clicked
0x410FF0 A page set up
0x411940 A line with a random digit the disc has
0x411780 / 0x411850 (+0x1C / +0x20) Save / load
Phantom’s kitchen storage room (WP-067)

Traced 2026-11-17 for WP-067, in Phantom’s Scooby.exe.

The kitchen storage room (ROOM_P17_Kitchen_Storage, 0x4139A0, vtable 0x45E994; music group 1, no opening):

The packed exit (0x404820) takes the gang’s directions as Daphne, Fred, Scooby, Shaggy, Velma (the exit object’s +0xA0, +0x80, +0x90, +0x98, +0x88, read from daphne, fred, scooby, shaggy, velma); the door’s TURN_UL is Fred’s.

Address What it does
0x4139A0 Kitchen storage room constructor
0x413AF0 (+0x08) / 0x414DB0 (+0x10) Reset / leave
0x413A00 (+0x0C) Entry
0x413B20 (+0x04) Tick: the screwdriver, the shield
0x413EA0 (+0x14) Event: the items, the hotspots, the door
0x414B30 (+0x18) Placements
0x414E40 / 0x414E80 (+0x1C / +0x20) Save / load
Phantom’s king’s armory and its slide (WP-068)

Traced 2026-11-17 for WP-068, in Phantom’s Scooby.exe.

The king’s armory (ROOM_P20_Kings_Armory) and its slide (ROOM_P20_Kings_Armory_Slide) share one class (0x40EBC0, vtable 0x45E710; music group 1, no opening); the factory builds an object for each, with its own state:

Address What it does
0x40EBC0 King’s armory constructor, for both rooms
0x40EC20 (+0x08) / 0x40F150 (+0x10) Reset / leave
0x40EC40 (+0x0C) Entry: to the slide, the intro, the screams
0x40EFE0 (+0x04) Tick: the duster
0x40EDD0 (+0x14) Event: the duster, the scratch, the armour
0x40EF10 (+0x18) Placements
0x40F1A0 / 0x40F1E0 (+0x1C / +0x20) Save / load
Phantom’s two arenas (WP-069)

Traced 2026-11-17 for WP-069, in Phantom’s Scooby.exe.

The first arena (ROOM_P09_Arena1, class 0x40D4E0, vtable 0x45E68C, opening Arena_1.170_) has the grindstone:

The second arena (ROOM_P14_Arena2, class 0x40D790, vtable 0x45E6CC, opening Arena_2.180A_) is Brad’s. Until his game is won (BradPuzzle, game +0x256) he hides in the armour pile:

Played (added 2026-11-30, WP-128):

A queued click (0x401840) adds one to a clickable’s count (+0x80). The clickable’s tick (0x401440) takes one while +0x70 is clear and no click is pending (+0x7E), and plays it as if clicked, event and all; the fork takes it while the clickable isn’t playing. Brad’s game (0x41E9E0) is below.

Address What it does
0x40D4E0 First arena constructor
0x40D540 (+0x08) / 0x40D6A0 (+0x10) Reset / leave
0x40D700 (+0x0C) Entry: Velma, the toolbar
0x40D560 (+0x14) Event: the stone, hotspot 3
0x40D790 Second arena constructor
0x40D7F0 (+0x08) / 0x40E030 (+0x10) Reset / leave
0x40D830 (+0x0C) Entry: his clue, Brad hidden or aside
0x40DA80 (+0x04) Tick: into his game, the shield, the thanks, the mirror, the rattle
0x40E5A0 (+0x14) Event: the pile, hotspot 2
0x40E090 (+0x18) Placements
0x40EAC0 (+0x28) / 0x40EBA0 (+0x34) Brad’s idle line / the idle chatter
0x40E440 (+0x38) Before the scene player: Brad’s rise
0x401840 A clickable’s click queued
Phantom’s Brad game (WP-070)

Traced 2026-11-17 for WP-070, in Phantom’s Scooby.exe.

Brad’s game (ROOM_Brad_SPOOKY, ROOM_Brad_SPOOKIER and ROOM_Brad_SPOOKTACULAR, one class: 0x41E9E0, vtable 0x45EF50) buries him under a pile of armour. Each piece hangs on a spring from its place and pushes on its neighbours. Only the next piece in the level’s order comes off.

Address What it does
0x41E9E0 Brad’s game constructor, for the three rooms
0x41EA40 (+0x08) / 0x41F3A0 (+0x10) Reset / leave
0x41EE80 (+0x0C) Entry: the order, links, depths and ways; his introduction
0x41F3C0 (+0x04) Tick: the mouths, the cursor, the heads, the way back, the rattles
0x41EA60 (+0x18) Placements
0x41DAB0 A piece’s constructor (vtable 0x45EED8)
0x41DD60 (piece +0x0C) A piece’s update: taken, spring, drag, loose, held, pushes
0x41E4B0 A piece’s rattle
0x41E460 / 0x41E760 Two pieces linked / a neighbour added
0x41F550 / 0x41F570 The piece whose turn it is / the next turn
0x41F5C0 Brad complains
0x41F6F0 / 0x41DD10 Every way out / one
0x431C10 / 0x431C70 A sprite’s depth among its siblings
0x435E80 / 0x435EF0 A fader (the cursor’s, game +0x18) out / in over n ticks
Phantom’s secret passages, storage room and treasury (WP-071)

Traced 2026-11-17 for WP-071, in Phantom’s Scooby.exe. Several of these classes read the game through an int *: index +0x42 is byte +0x108 (FinalClue), +0x58 is +0x160 (the level) and +0x2B is +0xAC (the toolbar).

The first secret passage (ROOM_P15_Secret_Passage1, 0x416C40, vtable 0x45EB1C, no opening) only has its walk-ins (0x416CA0, after the base entry): from the armory’s slide, Velma (D, 0x406020); from the storage room, Daphne (UL, 0x405EE0).

The second secret passage (ROOM_P19_Secret_Passage2, 0x416D10, vtable 0x45EB5C, opening Secret_Passage_2.380_) has the gargoyle’s wall of fire across the way to the treasury:

The storage room (ROOM_P18_Storage, 0x417650, vtable 0x45EBDC, opening Storage_Room.370_):

The treasury (ROOM_P16_Treasury, 0x4182E0, vtable 0x45EC9C, no opening) only has its tick (0x418340, after the base tick). The Princess clicked with the arrow (her +0x08, game +0x20 bit 4) sets the final clue (FinalClue, game +0x108) and plays movie 55 to ROOM_Suspect_Chooser (game vtable +0x08): the accusation.

Played (added 2026-11-30, WP-127):

Address What it does
0x416C40 First passage constructor
0x416CA0 (+0x0C) Entry: the walk-ins
0x416D10 Second passage constructor
0x416D70 (+0x08) Reset: the fire burning
0x416F30 (+0x0C) Entry: the snacks needed
0x416E90 (+0x14) Event: the fire
0x416D90 (+0x18) Placements
0x416F60 / 0x416FA0 (+0x1C / +0x20) Save / load
0x417650 Storage room constructor
0x4176B0 (+0x08) / 0x417970 (+0x10) Reset / leave
0x417950 (+0x0C) Entry
0x4177C0 (+0x04) Tick: Velma takes the rope
0x4176D0 (+0x14) Event: the hotspots, the rope
0x4179C0 (+0x18) Placements
0x4182E0 Treasury constructor
0x418340 (+0x04) Tick: the Princess

Traced 2026-11-18 for WP-072, in Phantom’s Scooby.exe. The level is read through the game’s int * as index +0x58 (byte +0x160).

The royal gallery (ROOM_P07_Royal_Gallery, 0x416240, vtable 0x45EADC, opening Royal_Gallery.210_) keeps the found red ball, the mirror the gang hangs, and the Jester, who stands here as he does in the room of doors: its +0xC8 is the same JesterControl (WP-061, built by 0x4122D0, entered by 0x412B80, ticked by 0x4122E0).

The magic mirror room (ROOM_P08_Magic_Mirror_Room, 0x414EC0, vtable 0x45E9DC, opening Magic_Mirror_Room.310_):

Address What it does
0x416240 Royal gallery constructor
0x4162D0 (+0x08) Reset: the 210A_ line
0x416830 (+0x0C) Entry: the walk-ins, the snacks, the Jester
0x416610 (+0x04) Tick: the Jester, Shaggy hangs the mirror, the shimmer
0x416500 (+0x14) Event: the red ball, the mirror
0x4168D0 (+0x18) Placements: the hotspot, the mirror, the way on, the ball
0x4162F0 (+0x24) Leaving: the snack gate to the magic mirror room
0x414EC0 Magic mirror room constructor
0x414F20 (+0x08) Reset: the hotspot cycles
0x415250 (+0x0C) Entry: the mirror’s hum
0x414F40 (+0x14) Event: the three hotspots
0x415060 (+0x18) Placements: the hotspot, the skull, the cameras
Phantom’s Knights of the Snack Table (WP-073)

Traced 2026-11-18 for WP-073, in Phantom’s Scooby.exe. The difficulty is read through the game’s int * as byte +0x160.

Corrected by WP-090 (2026-11-27). This section’s account of the serving loop, the quota and the counter was read from names and the trace’s outline, and is wrong in those parts: +0xE8 is the mugs left, the counter shows the snacks, the sub-controllers are the full-mug, empty-mug and mugs-left lists, and the room exits to the dining room when the mugs run out. The placements and the class layout below stand.

Knights of the Snack Table (ROOM_P31_KST, 0x419700, vtable 0x45EDEC, opening Knights_of_the_Snack_Table.350X_, music Knights.Music) is the one room of the audit’s group 6 that is a set piece of its own: the timed game Phantom gives where Showdown has Pie Noon (WP-055). The two are separate classes, but share the framework — the asserts in enter still read “…specified in Pie Noon”. Knights walk up to the benches and drink, Shaggy fills and serves the mugs, and the gang must serve the level’s quota before the way back to the dining room opens. It overrides only four slots (tick, enter, leave, claim); it has no event, save or load of its own, and exits only to ROOM_P12_Dining_Room.

Address What it does
0x419700 KST constructor: the digits, the handlers, the slots
0x419A80 (+0x0C) Entry: the counter, the quota, the narrator, the ambience
0x419CC0 (+0x10) Leaving: the markers and the round torn down
0x419E40 (+0x04) Tick: the serving loop and the exit
0x41A970 (+0x18) Placements: the seats, the benches, the drinks, the counter
0x41A5C0 Laying out a round: the knight slots and the mugs
0x418CA0 A knight: its walk, its reach, its drinking states
Phantom’s Knights of the Snack Table: the serving game (WP-090)

Traced 2026-11-27 for WP-090, in Phantom’s Scooby.exe (SHA-256 619EA687…AF807ED), decompiled with Ghidra 12.1.4 headless in a scratch project. The addresses are Phantom’s. This section corrects WP-073’s reading above: the room is a bartender game, not a quota to serve, and +0xE8 is the mugs the player has left, not knights owed.

The game. Three benches run from the knights’ door on the left to Shaggy’s tap on the right. Shaggy follows the mouse up and down to the bench row nearest it; pressing the button fills a mug and releasing it slides the mug down the bench. A knight walks in along a bench toward the tap. A full mug that reaches him he takes, and he drinks while it pushes him back to the door; there he drops the empty mug, which slides back toward the tap for Shaggy to catch. A full mug past the door end, an empty mug off the tap end, or a knight reaching the tap costs a mug: the round starts again, one mug fewer. Every knight of a round served earns a snack, and the next round has one knight more. Out of mugs, the room goes to ROOM_P12_Dining_Room. The counter shows the snacks, and the mugs left stand on the counter. There is also the room’s exit (OBJ_KST_EXIT, base path, to the dining room), and the cursor shows only over the top 100 rows, where it is. Clicked with the arrow, the exit goes to the dining room with no scene, so the room can be left by the mouse at any time (WP-116; the claim 0x41A970 names only Shaggy, the knights, the overlays, the mugs and the counter digits).

The sprites. Each updates itself in the tree walk (vtable +0x0C); the knights’ and the mugs’ players (+0x08) and updates are held while the room pauses (+0xC0 > 0 or +0x1A4 > 0). Shaggy’s player is not.

Shaggy, the knights and their arms, and both kinds of mug are built under the root (0x4314C0 parent 0), as the claim builds the three table overlays. They’re all siblings, so their depths (each a bench row’s y off) interleave them: a knight 5 behind his row’s overlay, his arm 32 in front of it. Under layer 0 instead, the whole cast would draw behind every overlay (corrected 2026-11-30).

Sprite Constructor / vtable Update Notes
Shaggy 0x4192F0 / 0x45EDB4 0x419370 Built by the claim at the post. State +0x68: 0 free, 1 fills, 2 full, 3 slides, 4 back to idle; walk direction +0x60 (0 away, 1 forward, 2 idle); grab flag +0x64; fill bench +0x6C.
Knight 0x418CA0 / 0x45ED78 0x418EE0 Bench +0x68 = slot % 3 (two per bench); body depth ftol(bench-end y − 5), arm (+0x80) ftol(bench-end y) + 32, drawn at the body’s step (0x419160); 9 ticks a step. States (0x4191B0): 0 drinks, 1 walks, 2 starts drinking, 3 finishes, 4 gone (x = y = −5000). Reach +0x64 = (bench-end x − door x) × 0.005.
Full mug 0x418710 / 0x45ED20 0x418860 At the tap (drink x, bench-end y), depth ftol(y); speed (bench-end x − bench-start x) × 0.01.
Empty mug 0x4189B0 / 0x45ED4C 0x418B10 Where the knight finished, depth ftol(bench-end y) + 31 (+15 while falling); same speed; fall (floor y − bench-end y) × 0.1.
Mug left 0x4314C0 — Under game +0x5C, depth 100, looping; from (550, 40) stepping −35 (0x45EE48).

The room’s lists: full mugs +0xCC (with +0xC8, iterator +0xD8), empty mugs +0xD4 (+0xD0, +0xDC), the mugs left +0xE4 (+0xE0). Each node is {vtable, item +4, next +8, refcount +0xC}; a new node goes at the front.

Each tick (0x419E40, after the base tick):

  1. The cursor shown if its y ≤ 100 (0x435EF0), else hidden (0x435E80), both with 0 (at once). Nothing gates this on a scene or the opening, so the room’s rule holds over a blocking scene’s fade and the opening’s hold (0x40B400, 0x40C7B0). (Played 2026-11-29, WP-116.)
  2. Shaggy’s depth ftol(y) + 30; a falling empty mug’s ftol(bench-end y) + 15.
  3. The narrator’s intro (+0x1A8, set at entry only before the opening has played) holds the rest until the scene is over and the line has ended.
  4. A miss (+0x194, set by 0x419E30): Shaggy’s DROP_MUG and Knights.Zoinks (0x419680); +0xC0 = 36; a mug fewer (+0xE8).
  5. No mugs and +0xC0 = 0: ROOM_P12_Dining_Room (game vtable +0x04).
  6. +0xC0 counts down; at 0 the round again (0x41A5C0). +0x1A4 counts down.
  7. The round’s knights (+0x198) walk in one at a time (0x419110, the first slot gone), rand() % 0x48 + 0x24 ticks apart (+0x1A0, +0x19C).
  8. Every knight in, every knight gone, both lists empty: the round served — +0x19C = 0, +0x198 + 1, +0x1A4 = 36, +0x1A0 = rand() % 100 + 50, Shaggy’s SUCCESS (0x4196D0), a snack (0x407E00, at most 99), the counter, and Knights_of_the_Snack_Table.Correct(rand() % 6 + 1)_NARRATOR.

Shaggy (0x419370): the bench row nearest the mouse (game +0x1E), his step toward it clamped to ±10. Free (state 0), a press (game +0x20 bit 0) within 10 of the row starts FILL_MUG. Filled (its sequence over) he waits for the release; a release while filling also slides (the state falls through). SLIDE_MUG over: the full mug down the bench (0x41A2B0, Knights.Mug_Slide, Knights.Mugdown.(rand()%3+1)), SLIDE_MUG_TO_IDLE. Free, he walks: x on the tap line through the three drink markers (0x41B2E0, by the bench rows) plus +0xEC (the post’s x less drink x[0]); WALK_FORWARD going down, WALK_AWAY going up; at the row, IDLE restarted each tick. Then, free, he catches an empty mug on his bench (0x41A820): one falling off the tap end, or past the tap, with GRAB_MUG.

A knight (0x418EE0): walking, x += reach, footsteps (Knights.Knight_Walks.(rand()%5+1), two in turn) on step 0; at the tap (x ≥ drink x) a miss; else a full mug within 5 of him (0x41A410, 0x45EE40) taken: STARTS_DRINKS, then DRINKS with Knights.Knight_Gulp.(bench+1). While starting and drinking he is pushed back at half his reach; at the door FINISH_DRINKS and an empty mug where he stands (0x41A370); finished, rand() % 3 == 0 walks again from there, else gone.

The mugs. A full mug slides toward the door; past bench-start x, MUGFULL_BREAKS and Knights.Glass_Breaks.(rand()%4+1), and over, a miss. An empty mug slides toward the tap; past bench-end x it falls; at the floor row MUGEMPTY_BREAKS and the glass, and over, a miss.

Entry (0x419A80), corrected: 0x407CC0 on the inventory (the toolbar away); +0xEC −= drink x[0]; the counter’s two cels are the snacks (game +0xAC, +0x30) each one back, (d + 9) % 10 (cel 0 shows a 1); the overlays’ depth bench-end y − 1; Knights preloaded; +0xE8 = 5 − the difficulty (the mugs); the round laid out; the intro on a first visit; +0xC0 = 1; Knights.Ambience.

Laying out a round (0x41A5C0), corrected: both mug lists cleared; +0x194 = 0, one knight (+0x198 = 1), none in, timer 0; six knights made the first time, else set gone; the mugs left rebuilt, one per mug.

Address What it does
0x419370 Shaggy’s update: the mouse, the fill and slide, the walk, the catch
0x419680 / 0x4196D0 Shaggy drops a mug (Zoinks) / a round served
0x41B2E0 Shaggy’s x on the tap line
0x418EE0 / 0x4191B0 / 0x419110 A knight’s update / its states / walking in
0x418860 / 0x418B10 The full / the empty mug’s update
0x41A2B0 / 0x41A370 A full mug slid / an empty mug dropped
0x41A410 / 0x41A820 A knight takes a full mug / Shaggy catches an empty one
0x419E30 A miss
0x407E00 A snack (game +0xAC, +0x30, at most 99)
Phantom’s hedge maze and maze map (WP-074)

Traced 2026-11-19 for WP-074, in Phantom’s Scooby.exe. These open the audit’s group 7, the maze; Showdown has neither room.

The hedge maze (ROOM_Hedge_Maze, 0x42AA90, vtable 0x45F3C4, music Hedge_Maze.Music) is a grid the gang rides a unicycle through. The position is (X = +0xc4, Y = +0xc8), initialised to (2, 4); the cell index is Y + X*10. Each cell holds a 4-bit mask (an array at +0xcc, indexed by the cell) of which of its four sides is a passage: 1 up, 4 down, 2 right, 8 left — the bit is also the move’s direction code. A parallel array at +0x25c holds a path-indicator sprite index per cell. It overrides five slots (tick, enter, leave, claim, and a +0x24 cleanup).

The maze map (ROOM_Maze_Map, 0x42A7D0, vtable 0x45F384, music group 1) is the close-up of the map item. Its entry (0x42A830) is the base plus the room’s opening; its claim (0x42A850) builds a button (0x437980, a 0x4314C0 sprite under the root at depth 0, stopped) for each of OBJ_MAZEMAP_GARDEN/WELL/CENTER/BALCONY (handler 0x42A9A0) that jumps the game (game vtable +0x04) to ROOM_P06_Garden, ROOM_P22_Well_In_Maze, ROOM_P23_Maze_Center or ROOM_P27_Below_Balcony.

Address What it does
0x42AA90 Hedge maze constructor: the position, the unicycle clips
0x42AEB0 (+0x0C) Entry: the map item, the start cell, the cell table, the draw
0x42BAE0 (+0x10) Leaving: the return string reset
0x42AD00 (+0x04) Tick: the idle mutterings
0x42BB00 (+0x18) Placements: the four direction buttons, the six path indicators
0x42C0F0/200/310/420 A move: back / front / right / left
0x42A7D0 Maze map constructor
0x42A830 (+0x0C) Maze map entry
0x42A850 (+0x18) Maze map placements: the four location markers
0x42A9A0 A marker clicked: jump to its maze room

Corrected by WP-097 (2026-11-28), from a second decompile of the class, the move handlers and 0x42C530. These parts of the account above were wrong:

  • The entry movies are 41 (0x29) for the first time in the maze and 42 (0x2a) after. Entry tests MazeEntered (game+0x285, which the in-maze branch sets), and 0x2a is the one taken when it is set. They are movies on the maze itself (game vtable +0x08), not openings.
  • The trap cells: level 2’s middle one is (0,4), cell 4, not 40.
  • The centre-path patch: level 2’s cell is 29 (+0x140), not 32.
  • The buttons are exits, not clickables. 0x408D20 builds them in layer 0 at depth −1000, the front one at 500, with the move handler as their callback (0x4023F0, +0xA8/+0xAC). The path signs are plain sprites (0x4314C0: layer 0, depth −1, looping), hidden. Their slots are +0x3EC + 4 × the path value: 1 SE, 2 NE, 3 SW, 4 NW, 5 NS, 6 EW.

And the parts it left out:

  • The maze map. With the map held (0x407060, the history), the maze goes straight to ROOM_Maze_Map. If the map is in a slot, it leaves it (0x406C80).
  • The traps. At the top of entry, a level-1 position (4,4), or a level-2 (4,1), (0,4) or (5,8), sends the gang to ROOM_P06_Garden through movie 36 (0x24). The position is reset to the garden’s start.
  • Two branches by the room come from:
    • From the garden, the centre or below the balcony: only the start cell, then the maze again through movie 41 or 42. The base entry doesn’t run.
    • From anywhere else: the base entry; MazeEntered set; the level’s tables; the buttons, looping (mode 1); the cell’s path sign shown; the unicycle’s open hand cleared (+0xB5, 0x42B8B7).

    Entered from the maze itself, the unicycle also lands from the far side:

    • ridden up, it lands from D (0x406020, End_Down);
    • right, from L (0x405F60, End_Left);
    • down, from U (0x405FE0, End_Up);
    • left, from R (0x405FA0, End_Right).

    All nine clips stop first.

  • A move (the handlers) has no wall check: a wall’s OVERLAY anim has no polygon to click.
    1. It sets the direction and steps the position.
    2. It picks the next room (0x42C530, into +0xB8).
    3. It rides the unicycle off (0x405D90, toward U/D/R/L), stops the nine clips and plays the start clip.
  • The next room (0x42C530):
    • (1,−1) is below the balcony;
    • (2,5), (2,7) or (2,10) by level is the garden;
    • (1,2), (1,4) or (3,4) by level is the maze centre;
    • else the maze.
  • The tick:
    • With +0xB8 set, input is held and the cursor hidden. Once the unicycle’s sequence has stopped, the game goes there (vtable +0x04, no movie).
    • With the unicycle idle (state 6) and Unicycle_Idle not playing, the nine stop and it plays.
    • The mutterings are scenes (0x40B400), and a scene’s line is said only by a character in the room (0x40C810). 240A_’s line ships as …240A_1_SHAGGY, so in the maze, where the unicycle is the only character, the scene ends at once.
Phantom’s maze interior — the centre, the fountain and the well (WP-075)

Traced 2026-11-19 for WP-075, in Phantom’s Scooby.exe. The second of the audit’s group-7 packets: the three rooms inside the maze (WP-074 landed the entry pair). Showdown has none of them. All three take music group "1"; the numbered scene lines use a dot (Center_of_Maze.250X_, Fountain.250D_, Well_in_Maze.290_) and ship with a speaker suffix (…250B_1_VELMA, …250D_1_NARRATOR), as WP-074’s did — read the string bytes (StrAt) and cross-check the sound index, not Ghidra’s underscored labels. As with WP-074’s 240A3_, some clips ship but are not referenced by these rooms’ slots (Center_of_Maze.250X2_, .250A_, the well’s 330_). The audit tagged the centre with the opening; the binary puts it on the fountain (the centre and the well have none — the constructor’s 4th argument is the empty global for those two, Fountain.250D_ for the fountain, which room_setup already carries). The three rooms were traced twice, independently, by two sessions whose Ghidra reads agree — the WP-073/074 anti-shared-misreading move at the session level, on top of the engine == reference match.

The vtable’s named slots (anchored on the throne class, 0x45EC1C) are +0x1c save, +0x20 load, +0x24 the exit/destination list, +0x30 the opening handler; the centre overrides +0x24 (its entrance routing, 0x42A640) and +0x30 (the Center_of_Maze.250_ / .250C_ cycle, 0x42A1A0).

The maze centre (ROOM_P23_Maze_Center, 0x42A090, vtable 0x45F344, no opening) is the hub, reached from the hedge maze, the garden and below the balcony.

Corrected by WP-103 (2026-11-28), from a second decompile of the centre:

  • 0x42A640 is the exit handler (+0x24), not an entry routing. It reads the exit’s destination. Toward ROOM_P06_Garden it sets game+0x289 to 1; toward ROOM_P27_Below_Balcony it clears it. Either way it makes the destination ROOM_Hedge_Maze, then hands the exit to the base handler (0x40C1E0). So the centre’s OBJ_P23_TO_HEDGE_MAZE_TO_P06 and …_TO_P27 lead into the hedge maze, whose start cell reads the flag. Entering the centre sets nothing.
  • 0x42A1A0 is the room’s opening handler (+0x30, first in the base entry), not a hotspot handler. With Entrances (+0xBC) 0, it sets it to 1 and opens with 250_; otherwise it clears it and opens with 250C_. So the openings alternate. Entrances is an int (0x40C5E0 / 0x40C670).
  • Shaggy’s take (0x42A410) also hides the shears’ requires object (+0xC4) as it starts. While the take is pending it hides the cursor and holds input (game+0x24) every tick. The take waits for the opening to be done, as the bedroom’s does (WP-100).

The fountain close-up (ROOM_P44_Fountain_Closeup, 0x429740, vtable 0x45F304, opening Fountain.250D_) opens off the centre, where a piranha guards the tokens.

The well (ROOM_P22_Well_In_Maze, 0x42C740, vtable 0x45F404, no opening) sits in the maze and links back to the royal gallery.

Address What it does
0x42A090 Maze centre constructor (music 1, no opening)
0x42A580 (+0x0C) Centre entry: the water sfx at volume 90, the start flag
0x42A640 (+0x24) Centre routing: game+0x289 from the garden / balcony, the entrances
0x42A280 (+0x18) Centre placements: the water, the shears, the token-gated exit
0x42A110 (+0x14) Centre event: the hotspot’s cycling lines, the shears
0x42A410 (+0x04) Centre tick: Shaggy takes the shears
0x42A200/0x42A240 Centre save / load: the Entrances key
0x429740 Fountain constructor (music 1, opening Fountain.250D_)
0x4297D0 (+0x0C) Fountain entry: the water loop
0x429CC0 (+0x18) Fountain placements: the piranha, the tokens, the exit, the grab
0x429B50 (+0x14) Fountain event: the burger fed, the cycling fountain lines
0x429800 (+0x04) Fountain tick: the lunge, the eat, the token grab
0x4297A0 (+0x08) Fountain reset: a lunge pending
0x42A040 (+0x10) Fountain leave: the tokens if the grab was under way
0x42C740 Well constructor (music 1, no opening; the Jester at +0xB8)
0x42C7F0 (+0x04) Well tick: the Jester’s (0x4122E0)
0x42C810 (+0x0C) Well entry: the queued return (the well again, movie 57), else the Jester’s entry and WellVisited
0x42CA20 (+0x18) Well placements: the yellow ball, the Jester once it is found, the rope-gated climb
0x42C8E0 (+0x14) Well event: the yellow ball’s movie, the rope on the well, the lines
Phantom’s below-the-balcony and its door (WP-076)

Traced 2026-11-19 for WP-076, in Phantom’s Scooby.exe. The last of the audit’s group-7 (maze) packets: the pocket below the balcony (WP-074’s maze map jumps to it, and Phantom’s ghost-spot skip, 0x430DD0, lands the scared gang here) and its door back to the royal gallery. Showdown has neither room. Both were traced twice, independently, by two sessions whose Ghidra reads agree — the WP-073/074/075 anti-shared-misreading move — on top of the engine == reference match (which passes line for line) and the disc sound-index probe.

The ball-flag block is not in the Scooby.ini key order. Anchored on the gallery (0x416500 sets RedBallFound at game+0x25b) and the Jester (0x412B80, which touches all six by TAKES_RED / _BLUE / _YELLOW), the bytes run game+0x25b RedBallFound, +0x25c BlueBallFound, +0x25d YellowBallFound, +0x25e BlueBallSeen, +0x25f RedBallTaken, +0x260 BlueBallTaken, +0x261 YellowBallTaken. A first pass that assumed the key order (…BlueBallSeen, YellowBallFound…) mislabelled three of these rooms’ flags; the TAKES_* anchors are the reliable read. (The engine keys game flags by name, so this is a naming, not an offset, hazard.)

Below the balcony (ROOM_P27_Below_Balcony, 0x40F220, vtable 0x45E750, music 1, no opening) overrides tick, reset, event, claim and save/load; entry is the base.

The door (ROOM_P27A_Below_Balcony_Door, 0x4106B0, vtable 0x45E850, Princess_Bedroom.Music, no opening) overrides tick, reset, enter, event and claim, and keeps the shared Jester (+0xB8, the member the room of doors and the royal gallery also hold).

This closes the maze group and the blue third of the three-ball Jester chain (the red came from the magic mirror room in WP-072, the yellow from the well in WP-075).

Address What it does
0x40F220 Below-balcony constructor (music 1, no opening)
0x40F380 (+0x18) Below-balcony placements: the vines, the shears-gated exit, the ball
0x40F2B0 (+0x14) Below-balcony event: the cut (movie 5), the wrong-tool line, the vine cycle
0x40F5A0 (+0x04) Below-balcony tick: the ball-reveal scene
0x40F6E0/0x40F760 Below-balcony save / load: ShowBall, VineClicks, PlayBallScene
0x4106B0 Door constructor (Princess_Bedroom.Music), builds the Jester member
0x4108C0 (+0x18) Door placements: the blue ball / the Jester, by BlueBallFound
0x410760 (+0x14) Door event: the blue ball’s movie, BlueBallFound, the queued return
0x4107F0 (+0x0C) Door entry: the return bounce to the gallery, BlueBallSeen
0x4107D0 (+0x04) Door tick: the shared Jester

Corrected by WP-099 (2026-11-28), from a second decompile of both classes:

  • The door’s claim (0x4108C0) returns 1, not built, for OBJ_INV_BALL_BLUE once BlueBallFound is set, and for any object whose first ten characters are OBJ_JESTER while it is clear. So the blue ball is there until found, and the Jester only once it is: his entry (0x412B80) then takes it (TAKES_BLUE, BlueBallTaken). WP-076 read both the other way round.
  • The door’s return (0x4107F0) goes to the room loaded (game +0x04’s name), not the room come from. After the blue ball’s movie (2, or 67 once YellowBallFound is set), that is the door itself, so it is movie 57; 54 only if the room loaded were the royal gallery. Unless the full bottle has been used, this replaces the entry (no base entry, no Jester).
  • The ball below the balcony (0x40F380) is a sprite under game +0x5C, depth 0, stopped (0x4317D0: mode 0) and hidden. The reveal (0x40F5A0) shows it and plays it once (mode 3, 3 ticks a step, from the start), holds input (game +0x24), hides the cursor, plays SFX_P27_BELOW_BALCONY_BALL and restarts the tick clock (0x437540). When it stops, input and the cursor come back, 100A_ plays, and PlayBallScene clears.
  • The rusty shears are the tick’s, not the event’s. With the vines’ requires object clicked (its +0x08), the button up (game +0x08 bit 4) and the cursor ANIM_CURSORRUSTY_SHEARS, the cursor goes back to the default (game vtable +0x0C) and 260F_ plays, before the game’s update could call it a wrong item. The event’s plain click plays 260D_, or 260_ from the second click while PlayBallScene is set and BlueBallSeen (game+0x25E) is clear; 260_’s done flag is ShowBall.
  • The string at game+0x238 that the cut, the rusty shears and the maze map set is, by its use here, the cursor: the tick compares it with ANIM_CURSORRUSTY_SHEARS, and an item used resets it to the default (game vtable +0x0C). This is an inference from the code, not traced further. If it holds, the “pending opening” reading at the royal gallery (above) is the same cursor reset.
Phantom’s wizard’s skull and library (WP-077)

Traced 2026-11-19 for WP-077, in Phantom’s Scooby.exe. The first of the audit’s group-8 (Upstairs) packets: the Skull Puzzle room (its source asserts name C:\Scooby\FBF\Wizards_Skull_Room.cpp) and the library whose shelf reveals its combination. Reached from the magic mirror room (WP-072 builds OBJ_P08_TO_WIZARDS_SKULL). Showdown has neither room. Both were traced twice, independently, by two sessions whose Ghidra reads agree — the WP-073/074/075/076 anti-shared-misreading move — on top of the engine == reference match (which passes line for line) and the disc sound-index probe.

The strcmp polarity is the catch this time. The room-name compare 0x433360 returns true when the strings are equal; the first trace read it as strcmp (0 on equal) and so reversed the skull’s enter branches. The second trace, handed the raw addresses, read the branches the other way, and the library’s own code settles it (its taunt fires on from == ROOM_Wizards_Skull, and its shelf/hotspot dispatch both need equal→true). The corrected reading is below.

The Skull* flags are not the Scooby.ini / kPhantomFixed list order (the WP-076 hazard). Anchored on the functions that touch them: SkullPuzzle (game+0x257) is the solved flag, set by the skull’s solve-tick 0x42E280; SkullMovie (game+0x258) is set by the skull’s hand-demo entry; and SkullPuzzleAttempted (game+0x259) by the skull’s attempt entry. The engine keys game flags by name, so this is a naming, not an offset, hazard.

The skull (ROOM_Wizards_Skull, 0x42D7B0, vtable 0x45F4C4, music Skull_Puzzle.Music, no opening) overrides tick, reset, enter, leave, event, claim and save/load. Four skulls rotate through four faces; turned to the per-game combination, the way to the wizard’s bedroom opens.

Detail added by WP-095 (2026-11-28), from a second decompile of the class. The account above holds; these are the parts the fork had different.

  • The faces are the room’s keys. The claim builds each skull (0x408DC0) and then sets its state to ANIM_SKULL{n} + 'A' + Skull{n} (0x401780). That state wins over the one the profile’s Clickables section holds, which the demo’s clicks move on.
  • The re-read flag is the room’s +0xF4, not the game’s. Entry sets it, and the event sets it for any object; only a skull also plays Skull_Slide (stopped, then played).
  • The hand and the exit are claimed, not built. The claim keeps the hand’s position (+0xDC/+0xE0, less skull 1’s at entry) and the exit’s names (+0xF8/+0x100).
    • On an attempt, entry builds the exit (0x401850, depth 0).
    • On the demo, entry builds the hand (0x4314C0: ANIM_SKULL_HANDLIFT, depth 1, mode 5 — stopped on its last step) 480 px below its rest (0x45F504). It also puts the four skulls back on face A, stopped and as clickables.
  • The demo (0x42E3F0, the +0xE8 mode). Every tick while it runs, input is held (game+0x24) and the cursor hidden.
    1. The hand moves at most 5 px a tick (0x45EDA0) to the next skull whose SkullCombo{n} isn’t 0. There it lowers: HANDLIFT backwards (mode 4).
    2. It turns: HANDTURN (mode 3), with a click queued on the skull (0x401840). Short of the count it plays HANDRETURN and turns again; at the count, HANDLIFT forward.
    3. After the last skull it goes 480 px below skull 4’s spot, lowers, and the mode is 6. The room then asks for the mirror room (movie 31) every tick.

    The faces aren’t read while the hand works, so Skull1..4 keep their values from before the demo.

The library (ROOM_P25_Wizards_Library, 0x42D1F0, vtable 0x45F484, music 1, opening Wizards_Library.300_) overrides reset, enter, event and claim; it keeps no save state of its own.

This opens the Upstairs group; the Princess’s bedroom, the veranda, the wizard’s bedroom and the WFR follow in later packets.

Address What it does
0x42D7B0 Skull constructor (music Skull_Puzzle.Music, no opening)
0x42DBF0 (+0x18) Skull placements: the four skulls, the hand, the exit
0x42E060 (+0x14) Skull event: a skull slid (Skull_Slide), arms the solve check
0x42D910 (+0x0C) Skull entry: the hand demo (from the mirror) or the attempt
0x42E100 (+0x04) Skull tick: the hand demo (0x42E3F0) and solve check (0x42E280)
0x42E120/0x42E1D0 Skull save / load: Skull1..Skull4, IntroDone
0x42D1F0 Library constructor (music 1, opening Wizards_Library.300_)
0x42D600 (+0x18) Library placements: the underlay, the shelf, the way to P24, by SkullPuzzle
0x42D270 (+0x14) Library event: the spell book’s reveal, the shelf hints, the hotspots
0x42D580 (+0x0C) Library entry: the taunt after a failed attempt
0x42E880 New game: randomises SkullCombo0-3 (and the villain)

Corrected by WP-102 (2026-11-28): the library’s shelf is a requires object (0x42D600 builds it with 0x408C80, into +0xB8), not a clickable. That’s what lets the spell book be used on it. The underlay is a sprite under layer 0 (game +0x58), depth −1001, looping. The event, as above:

  • The spell book used on the shelf: Big Head 300C_ on BIG_HEAD_BG_SKULLS, back to the library (game strings +0x220, +0x228, +0x230), through movie 61 while SkullMovie (game+0x258) is clear. Once it’s set, the skull room through movie 61. Either way the book leaves its slot and the cursor resets.
  • A plain click with the book used: the same rooms with no movie (game vtable +0x04).
  • A plain click otherwise: the hint cycle.
Phantom’s Princess’s bedroom and Mermaid’s cavern (WP-078)

Traced 2026-11-19 for WP-078, in Phantom’s Scooby.exe. The second of the audit’s group-8 (Upstairs) packets: the bedroom where the spell book (the library of WP-077 consumes it) is taken, and the cavern whose one hotspot frightens the gang. Showdown has neither room. Both were traced twice, independently, by two sessions whose Ghidra reads agree — the WP-073–077 anti-shared-misreading move — on top of the engine == reference match (which passes line for line) and the disc sound-index probe. The two traces agreed on every slot, clip, flag and gate, with no correction needed this packet.

The bedroom (ROOM_P29_Princess_Bedroom, 0x415350, vtable 0x45EA5C, music Princess_Bedroom.Music, opening Princess_Bedroom.280_) overrides tick, enter, leave, event and claim; it keeps no save state of its own (the base OpeningPlayed / SnacksGiven only).

The cavern (ROOM_P21_Mermaids_Cavern, 0x415280, vtable 0x45EA1C, music 1, opening Mermaids_Cavern.340_) overrides event only — one of Phantom’s smallest classes.

Address What it does
0x415350 Bedroom constructor (music Princess_Bedroom.Music, opening Princess_Bedroom.280_)
0x4155E0 (+0x18) Bedroom placements: the hotspot (clickable, depth 300), the spell book (requires, until taken)
0x415570 (+0x14) Bedroom event: the spell book arms the take, the hotspot’s line
0x4153B0 (+0x04) Bedroom tick: Daphne takes the book, then the toolbar and 280A_
0x415700/0x415520 Bedroom enter / leave: clear the take flags; leaving mid-take still gives the book
0x415280 Cavern constructor (music 1, opening Mermaids_Cavern.340_; sets the echo byte +0x29)
0x4152E0 (+0x14) Cavern event: the hotspot scares the gang (state 0x11)
0x4098B0 Wrong-item lines: an echo room (+0x29) takes the _Echo_ variants, Fred stays silent

This continues the Upstairs group; the wizard’s bedroom and the veranda follow in WP-081, and the WFR (the Wizard’s Rule Room, the group’s largest class) in WP-083.

Phantom’s wizard’s bedroom and veranda (WP-081)

Traced 2026-11-21 for WP-081, in Phantom’s Scooby.exe. The third of the audit’s group-8 (Upstairs) packets: the wizard’s bedroom, where he is met and, on the return from the Wizard’s Rule Room, accused; and the veranda, which overlooks the well. Showdown has neither room. The string-compare polarity (the WP-077 trap) was pinned by decompiling both helpers — 0x433360 is true on equal, 0x433460 on not equal — and each engine call was mapped against the fork’s existing siblings: the dining room’s accusation (meetSuspect 0x40A8B0, the clue at game vtable +0x44, act("GIVES") 0x4061F0, the ROOM_Suspect_Chooser / Global.Thank_You_ exit), the post office’s arrive, and the below-balcony door’s save/load. Engine == reference passes line for line. The WFR (ROOM_P30_WFR), the group’s largest class, is split off to WP-083.

The bedroom (ROOM_P24_Wizards_Bedroom, 0x42CCF0, vtable 0x45F444, music 1, no opening) overrides tick, reset, enter and claim; it keeps no save state of its own.

Corrected by WP-101 (2026-11-28), from a second decompile and the tick’s listing:

  • The wizard’s click isn’t the base one. The tick reads the wizard’s clicked flag (+0x08) with the button up (game +0x20 bit 4). With the cursor the default (game+0x238 against game vtable +0x0C, 0x433300), it goes to ROOM_P30_WFR through movie 60 (game vtable +0x08, the pushes 0x3C and 0x46E4F4). That’s the only way to the Wizard’s Rule Room: the bedroom’s only exit is to the library.
  • Wizards_Bedroom.Scroll is a sound (0x435AF0, 0x4359A0), not a scene.
  • Giving the clue also hides the cursor (0x435E80 with 0) and holds input (game+0x24), until the exit takes over.

The veranda (ROOM_P28_Veranda, 0x4183B0, vtable 0x45ECDC, music Princess_Bedroom.Music — shared with WP-076’s below-balcony door, no opening) overrides reset, event, save, load and arrive.

Address What it does
0x42CCF0 Bedroom constructor (music 1, no opening)
0x42CD70 (+0x0C) Bedroom enter: meet the wizard; from the WFR give his clue, GIVES, arm the accusation; the maze-map scroll / Wizards_Bedroom.Scroll
0x42CF70 (+0x04) Bedroom tick: armed and the wizard idle, the Global.Thank_You_ exit to ROOM_Suspect_Chooser
0x42D140 (+0x18) Bedroom placements: OBJ_INV_MAZE_MAP, an inventory object
0x42CD50 (+0x08) Bedroom reset: clear the armed flag
0x4183B0 Veranda constructor (music Princess_Bedroom.Music, no opening)
0x4185E0 (+0x2C) Veranda arrive: not from Big Head, Veranda.270D_ first entry, Veranda.290_ before a well click
0x418410 (+0x14) Veranda event: the well cycles 290B_ / 290X1_ / 290X2_ over Big Head
0x418650/0x4186B0 Veranda save / load: Entrances, WellClicks
0x433360 / 0x433460 String compare: true on equal / true on not equal (the WP-077 polarity trap)

The WFR, the group’s largest class, is below (WP-083) — the last of group 8.

Phantom’s Wizard’s Rule Room (WP-083)

Traced 2026-11-22 for WP-083; the game’s largest class (1022 lines) and the last of Phantom’s group-8 (Upstairs) rooms. Showdown has no such room. With it, every game class in Phantom’s audit is ported.

Corrected by WP-094 (2026-11-27). WP-083 described a reconstruction here: a Simon run that grows each round, with a “spinner” on a scene’s playback. The decompile shows a rhythm game on the wizard’s song, which replaces that account and its table below.

ROOM_P30_WFR (0x41BEA0, vtable 0x45EE7C) is a rhythm game on the wizard’s song, Wizards_Rule.Music, which ships in Voice.dat (418 s).

The clock. Each tick reads the song’s play position in seconds (0x4358D0; Showdown’s 0x434BA0, the fork’s Sound::getClipMillis) and multiplies it by 1.3795 beats a second (0x45EED0). A beat counts only in its first 0.49 (0x45EEC0). When the song is over (position −1.0, 0x45E48C), the room exits to ROOM_P24_Wizards_Bedroom.

The beats. A phrase is 16 beats. The table at 0x46C5B0 has 304 entries, eight a phrase, each the bottle (0–5: red, green, blue, pink, yellow, brown) or a gap (6). The beat’s entry is at `(beat & 3) + (((beat » 2) & 1) + (beat » 4)

Entry (0x41C0C0):

The bottles are plain sprites (0x4314C0) under the root (parent 0) at depth 10, in front of the default path’s OBJ_WFR_TABLE overlay (the root, depth 0); stopped, hit by their step polygon (+4 = 2); the tick reads the click itself. Below row 240, the cursor opens over a bottle. The skulls (ANIM_WFR_SKULLSWIZARD, …SCOOBY), plain sprites (0x4314C0) under the second layer (game +0x5C; none in WFR, so the root) at depth 100, stopped, hit by their cels, mouth the song and the colour last called (their lip shape, 0x435A70). The counter’s two numbers (ANIM_WFR_COUNTERNUMBERS) are sprites under the root at depth 100, looping; a third asserts (“Found 3 counter numbers in WFR”). The lives are a sprite under the root at depth 0, as the default path would build them. Scooby and the wizard are the dancers (0x41BAC0, vtable 0x45EE54), each a 0x4314C0 sprite under the root at depth −10, so behind the table overlay, looping and hit by its cels: mode +0x5C (0x41BC80) plays ANIM_WFR_<name>:

Their update (0x41BC50) chains a turn into the dance or the watching.

Address What
0x41BEA0 WFR constructor (no room music, no opening)
0x45EE7C vs 0x45E5FC Vtable diff: the destructor, tick, enter, leave, claim and the ways out (+0x24)
0x41C3A0 (+0x04) Tick: the skulls, the song’s clock, the beats, the clicks, the misses and snacks, the exits
0x41C0C0 (+0x0C) Entry: the asserts, the counter, the lives, the song
0x41C350 (+0x10) Leave: the placements to be read again; the voice volume restored (WP-083 read this as a reset)
0x41CF50 (+0x18) Claim: the bottles, the dancers, the skulls, the lives and the counter
0x41BF30 (+0x24) The ways out: movie 0xB while the wizard’s clue isn’t owned (0x40A870)
0x41BAC0 / 0x45EE54 A dancer; update 0x41BC50
0x41BBD0 / 0x41BC10 / 0x41BC80 Dance this, turn to watch, set the mode
0x46C5B0 The table: 304 entries, eight a phrase, 0–5 a bottle, 6 a gap
0x45EED0 / 0x45EEC0 1.3795 beats a second; the beat’s window, 0.49
Movies (WP-022)

Traced 2026-11-14 for WP-022; the fork plays them through Video::BinkDecoder.

Address What it does
0x42DE10 Game vtable +0x08: next room, and the movie before it
0x4362E0 Main loop; plays a requested movie (%sBK.%.3d)
0x42E0B0 Game vtable +0x3C: whether the movie may be skipped (+0x290)
0x442210 Bink manager constructor (“Creating Bink Movie Manager”)
0x4422F0 / 0x4424F0 Bink manager: open a movie / close it
The inventory and the toolbar (WP-023)

Traced 2026-11-14 for WP-023, in Showdown; the fork plays it on both discs.

The game cursor. Game +0x238 holds the cursor’s ANIM name, and game +0xA0 the arrow (ANIM_CURSORARROW, set by 0x4089E0). An item in use replaces the arrow. Every rollover (vtable +0x18) is empty while it does, so the cursor shows the item. Exits act only for the arrow (0x402130). Clickables act only while the cursor shows their own rollover (0x401440).

The toolbar (0x406620, on every room entry, then parked by 0x407D50).

Driving (0x407120, the van’s update after its click handler 0x408060).

Pick-up (inventoryobject, 0x4026B0; its update is 0x402B00).

Use (0x406A70 index 0–3, the slot’s click).

The wrong item (0x4098B0, game vtable +0x20, after the room’s tick).

The other buttons.

Address What it does
0x4063C0 / 0x406530 Inventory constructor / reset: no items, one snack
0x406620 Build the toolbar in the room
0x406A70 Toolbar click by index: a slot, the van, quit, the magnifying glass
0x406C80 / 0x406DD0 Take an item out of its slot / put one in the first free slot
0x407060 Has the item ever been taken (the history)
0x407120 Toolbar update: items back in their slots, the blockers, the drive
0x407AF0 Toolbar state
0x407C00 / 0x407C60 / 0x407CC0 / 0x407D50 Open if parked / close if open / hide / park
0x407E50 / 0x408010 Toolbar sprite constructor (index, OBJ_TOOLBAR, hit type 2) / the van
0x407F30 / 0x407F80 Toolbar sprite click / rollover (none over a slot)
0x408060 The van’s update: its click, …_STOP into …_IDLE, then 0x407120
0x4026B0 / 0x402AD0 / 0x402B00 / 0x402D20 Inventory object: constructor / hide if taken / update / rollover
0x402D90 / 0x402F20 / 0x403010 Requires object: constructor / click / rollover
0x4098B0 Game update (+0x20): the wrong-item line, the cursor sprite, the ghost’s room
0x409510 Game +0x18, on entry: the arrow, the gang flag, open after a pick-up movie
0x430C00 A sprite’s size: widest and tallest cel over its sequence
0x40CD30 / 0x40D020 Scrappy / the snack box
0x407430 / 0x407780 Read / write the save’s Inventory section (Slot%i, Anim%i, Cursor%i, History%i, Snacks)
Rooms that hide the toolbar (WP-025)

Traced 2026-11-14 for WP-025. The base room’s entry (vtable +0x0C, 0x40B920) builds the toolbar parked. These rooms’ classes then hide it (0x407CC0), or never call the base entry, so it isn’t built (¹).

The list comes from each title’s room factory. Showdown’s is 0x42E0E0; Phantom’s room-name compares start at 0x42ED7F. Each room name maps to its class constructor, that constructor’s vtable, and the calls in the vtable’s +0x0C. A room the factory doesn’t name gets the base class (0x40B0F0), which shows the toolbar. Names are compared exactly.

Title Rooms
Both Sign_In, Difficulty, Suspect_Chooser¹, Options, Main_Menu, Quit¹, Title_Screen, Big_Head, Credits, Cheat¹, Ghost_Spot
Showdown P32_Pie_Noon, P06_Stage_Trapdoor, P24–P29_Chase_B1–B6, P30_Horseshoe_Corral, P33_Chase_C1, P37_Chase_C2, P38_Chase_C3, P39_Chase_C4, P34_Chase_C5, P35_Chase_C6, Artie, the nine Artifact_*, Sheriff, Gummy, Vault_Clock, Open_Safe, SB1–SB5, Test_Scroll
Phantom P31_KST¹, P30_WFR, Ewan, Wizards_Skull, Brad_SPOOKY, Brad_SPOOKIER, Brad_SPOOKTACULAR, Maria, Hedge_Maze, Maze_Map, Garden_Plaque

That is 24 of Showdown’s 47 classes (45 of its 69 rooms) and 20 of Phantom’s 51 (22 of 53). Adding an item (0x406DD0) or opening the toolbar (0x407C00) clears the hidden flag. The van then comes in from the left and parks.

Scrappy’s hints and Scooby Snacks (WP-024)

Traced 2026-11-14 for WP-024, in Showdown; Phantom’s executable carries the same names. The fork plays both.

The speech lock (game +0x15C, taken by 0x40A230).

Scrappy’s hint mode.

Scooby Snacks.

Address What it does
0x40A230 Take the speech lock (game +0x15C)
0x40CD30 / 0x40CD90 / 0x40CF50 Scrappy: constructor / update (hint mode, lip sync, done talking) / rollover
0x407DE0 → 0x40CEA0 Scrappy says a clip: hint mode or forced, with the speech lock
0x402410 / 0x402130 Exit rollover and click in hint mode
0x4062E0 / 0x404B70 Character rollover and click: a met suspect’s hint
0x40A8B0 / 0x40A930 Add a met suspect / is one met
0x40D020 / 0x40D130 / 0x40D410 Snack box: constructor / click / rollover
0x407E00 / 0x407E20 One snack more (99 at most) / fewer
0x4061F0 A character plays ANIM_<NAME><set><action> once (state 0xF)
0x40B490 The room’s update: feeding Scooby or Shaggy, the snack-given line
The player profile (WP-026)

Traced 2026-11-14 for WP-026, in Showdown; the fork’s saves hold this profile.

No save slots. The original keeps one profile per player, an INI file that the Win32 profile API reads and writes. The Sign In room (0x425210) picks the player and names the file %s%s%s.sav after the player. Then it hands the file to the game (vtable +0x58, 0x42F640, read). The game writes the profile as it plays (vtable +0x54, 0x42F3A0, and the live writes below).

Sections and keys.

Section Keys Written by Read by
Game StartRoom: the last room that isn’t a menu (game +0x24C, set on entry by 0x40B920 through vtable +0x48; the menus are Main Menu, Options, Suspect Chooser, Sign In, Difficulty, Quit, Big Head) 0x42F3A0 0x42F640, which then goes there
Game Difficulty, Whodunit (the villain, drawn by 0x42DBC0), FinalClue, CluesFound0–4, ClueOwners0–4, Suspect0–4 (met), MovieHistory0–74 0x40A270 0x40A540
Game Story flags: MoaningActive, SheriffPuzzle, SheriffWaiting, GummyPuzzle, TunnelLit, HotelHallDoor, VaultOpen, ArtifactType, GraveLocation, ClockHour, ClockMinute, StrongBox, ArtifactsBuilt, BagsRandomized, BagDown0–3, LeverAlias0–3 0x42F3A0 0x42F640
the room’s name OpeningPlayed, SnacksGiven, then the room class’s own keys (room vtable +0x1C / +0x20; the section is the room object’s name, +0x8, WP-029) 0x40C410 0x40C470
Exits <exit OBJ>=1, when the exit is taken 0x402130 0x401850 (taken for 1, on, On, ON, TRUE)
Clickables <OBJ>=<state ANIM> 0x401350, when the room is left 0x401000
Inventory Snacks, Slot0–3, Anim0–3, Cursor0–3, History0–31; Nothing for an empty one 0x407780 0x407430 (an empty Snacks is 1)

Value rules.

Room classes and the front end (WP-027)

Traced 2026-11-14 for WP-027, in Showdown. Phantom’s classes are the same code with its own strings, compared byte for byte at the title’s entry and the level buttons: FBFTitleMovies for GBHTitleMovies, and ROOM_P01_Drawbridge for ROOM_P01_Town_Center.

Room classes. The factory (game vtable +0x14, 0x42E0E0) builds one object per room name when the game starts, and keeps it. A class’s state therefore lasts across visits. The base class (vtable 0x45E5FC) is the default; a room class overrides some of these slots:

Slot Base What it is
+0x04 0x40B490 Tick
+0x08 0x40CD20 Reset (when the game starts)
+0x0C 0x40B920 Entry, with the room left as the argument
+0x14 0x404440 An event from an object (game +0x40)
+0x18 0x404450 Claim a placement and build it (true) or leave it to the default path (false)
+0x1C / +0x20 0x40C410 / 0x40C470 Write / read its profile keys
+0x24 0x40C1E0 Leave by an exit

The front end’s classes:

Room Class (vtable) Overrides
Title Screen 0x428260 (0x45F0A8) reset, tick, entry, placements
Main Menu 0x4229C0 (0x45EF2C) entry, placements
Difficulty 0x422680 (0x45EEEC) entry, placements
Quit 0x423DB0 (0x45EFB8) tick, entry
Sign In 0x424770 (0x45F024) tick, entry, +0x10, placements, exit (WP-028)
Options 0x4235D0 (0x45EF6C) +0x08, entry, +0x10, placements (WP-030)
Credits 0x421740 (0x45EE68) tick, +0x08, entry, +0x10 (WP-030)

The button (0x436C50, vtable 0x45F4DC).

The title (0x428380 entry, 0x4282E0 tick, 0x428480 placements).

The main menu (0x422A90 entry, 0x422B00 placements).

Button Click Rollover
Play (0x423120) Back to +0xBC; Sign In if that is the title —
Options (0x4233D0) ROOM_Options Main_Menu.Sound_NARRATOR (0x423580)
New Mystery (0x422FC0) ROOM_Sign_In Main_Menu.New_Mystery_NARRATOR (0x423530)
Quit (0x422E60) ROOM_Quit —

The menu is reached from a game through the toolbar’s quit button (Sign_In.Quit_Button, then ROOM_Main_Menu).

The level select (0x4226E0 entry, 0x422700 placements).

The quit screen (0x423E90 entry, 0x424140 tick).

Sign In and the new game (WP-028)

Traced 2026-11-14 for WP-028, in Showdown. Phantom’s Sign In is the same code: every function below matches Showdown’s byte for byte once addresses are masked (Phantom’s class sits 0x1F10 lower). The one difference is in the tick’s delete path, where Phantom builds a local object a few instructions earlier. Phantom’s story values (its game vtable +0x4C) aren’t traced.

Entry (0x425050, after the base entry):

The placements (0x425560):

Placement What it becomes
OBJ_SIGN_IN_CHARACTERS A button, in a 560 × 125 box at (0, 350) that leaves it where it is placed. A click (0x425B90) types its ANIM’s last letter, under 10 letters, with Sign_In.Click.
OBJ_SIGN_IN_PLAY / …QUIT Buttons: Play (0x425C70), Quit (0x425E00).
OBJ_SIGN_IN_U_ARROW / …D_ARROW Buttons that scroll the list (0x4260D0, 0x426070).
OBJ_SIGN_IN_R_ARROW / …L_ARROW Buttons for space (0x425EF0) and backspace (0x425E70).
ANIM_SIGN_IN_TEXT_FIELDA Only its x and y: the typed field’s top left. Not drawn.
ANIM_SIGN_IN_TEXT_FIELDNAMES Only its x and y: the list’s top left; the list is 240 × 120. Not drawn.

The buttons are all placed at (0, 0); their cels carry where they show. The characters’ placement order is the art’s: Showdown’s and Phantom’s start with M, and put 0 where M would be.

A text field (0x424340, 140 bytes):

Each tick (0x424900, after the base tick). Nothing is read while leaving or while an exit runs.

The buttons.

Play (0x425C70) takes the selected row’s player as the name.

Quit (0x425E00): Sign_In.Quit_Button as the leaving line, every other sound stopped, the cursor faded and input stopped.

The exit (0x425210). Anywhere but ROOM_Quit starts a new game for the name:

  1. game vtable +0x4C (Showdown 0x42DBC0, below);
  2. every room object’s reset (0x435780);
  3. the inventory’s reset (+0x50);
  4. the player’s name into game +0x16C.

A name in the list then reads that player’s %s%s%s.sav (game +0x58), which goes to its StartRoom. Otherwise the base exit goes to the level select.

The new game. 0x4087B0, shared by both titles:

Showdown’s +0x4C (0x42DBC0) then sets the story’s values. Checked against the writer 0x42F3A0 and the 0x40A270 it calls:

Field Value Profile key
+0x254, +0x26D 1 MoaningActive, SheriffWaiting (Yes)
+0x255, +0x26C, +0x274, +0x275, +0x276, +0x256 0 HotelHallDoor, SheriffPuzzle, GummyPuzzle, TunnelLit, VaultOpen, BagsRandomized (No)
+0x284, +0x288 12, 0 ClockHour, ClockMinute
+0x280 rand() % 9 GraveLocation
+0x28C rand() & 3 StrongBox
+0x25C–+0x268 rand() & 3 each, drawn again until it differs from those before it LeverAlias0–3
+0x100 rand() % 5: ARTIE, ICDOUBLE, JENNY, SHERIFF, GUMMY Whodunit
+0x278 rand() % 3: Bowl, Deer, Vase ArtifactType
+0x10A–+0x154 0 MovieHistory0–74

Two more fields are zeroed with no key in the writer: the dword +0x270 and the byte +0x290.

Address What it does
0x424340 / 0x4244F0 Text field: constructor / lay out a line
0x424660 / 0x424680 Text field: highlight / font under the mouse
0x424900 / 0x425050 Sign In: tick / entry
0x425560 / 0x425210 Sign In: placements / exit
0x4264B0 / 0x426280 / 0x426130 Keys / the list under the mouse / the rows and arrows
0x426630 Read the players (%s%s*.sav)
0x4087B0 / 0x42DBC0 New game: shared / Showdown’s story values
0x435780 Reset every room object (vtable +0x08)
Options and Credits (WP-030)

Traced 2026-11-14 for WP-030, in Showdown, and compared with Phantom byte for byte once addresses are masked.

The base room’s constructor (0x40B0F0) takes the room’s music (+0x68) and its entry scene (+0x78). The factory gives most rooms the music "1" (0x46A108). The base entry (0x40B920) reads the music:

The fork has no room music yet.

Options (0x4235D0, vtable 0x45EF6C): reset 0x423630, entry 0x423650, +0x10 0x423A90, placements 0x423B80.

Pair Slider Volume (sound file) Moving (+0x64) Let go (+0x5C)
Top +0xF4 Music (+0x0C) 0x423CB0: set it, replay the room’s music the same
Middle +0xF0 Sound effects (+0x04) — 0x423CF0: set it, play Pie_Noon.Splat.0 (Phantom Knights.Glass_Breaks.3)
Bottom +0xF8 Voices (+0x08) — 0x423D50: set it, play Level_Select.SHAGGY.Spooky

The slider (0x4080F0, from C:\Scooby\Common\OptionsSlider.cpp).

Credits (0x421740, vtable 0x45EE68): reset 0x4218A0, entry 0x4218C0, tick 0x421C60, +0x10 0x422230.

  Entry scene (+0x78) WB’s (+0xC8) TGI’s (+0xD0)
Showdown Credits.1100A2_ Credits.1100D3_ Credits.1100D4_
Phantom Credits.10002_ Credits.1000A_ Credits.1000B_
Address What it does
0x4080F0 / 0x4082A0 Slider: constructor / update
0x408260 / 0x408280 Slider: set the let-go / moving callback
0x423C20 Options: add a marker, sorted by y
0x40AA10 Play music group n (Group%i_%i.Music), or stop it (−1)
0x40B400 Start a scene, fading the music
0x40B0D0 Every movie seen
0x409740 The player’s .sav path
Each room’s own setup (WP-029)

Traced 2026-11-14 for WP-029, in Showdown. Phantom’s base room functions (0x40B0F0, 0x40B920, 0x40B490, 0x40AA10, 0x40C7B0, 0x40C6C0, 0x40C410, 0x40C470) are the same code at the same addresses; their decompiles differ only in names.

The base room’s fields (constructor 0x40B0F0, which takes the room’s name, its music and its opening scene):

Field What it is
+0x10 The opening has played; saved as the room’s OpeningPlayed
+0x14 The scene playing (0x40B400)
+0x24 Snacks Scooby needs here: 0, unless the class’s reset sets it (Town Center: 1)
+0x28 The opening can be skipped: 1
+0x68 The music, from the class constructor
+0x74 The opening’s delay: 100 ticks, set again when the room is left (vtable +0x10, 0x40BB70, from the room unload 0x435CD0)
+0x78 The opening scene, from the class constructor
+0x88 Snacks eaten here; saved as the room’s SnacksGiven
+0xB4 The idle timer: (rand() % 30 + 25) × 36 ticks

The rest of the room vtable:

Slot Base What it is
+0x10 0x40BB70 Leave: the scene, the parked exit and the delay are reset; the speech lock is let go
+0x28 0x40CB50 An idle line’s name: <room>_Idle_<x>, else Global.Idle…. A character’s state 4 asks for it (Characters’ idles)
+0x2C 0x404460 On entry, with the room left: nothing
+0x30 0x404810 On entry, first: nothing
+0x34 0x404470 Idle chatter: nothing
+0x38 0x40C810 The scene player
+0x3C 0x40C7B0 The opening, at entry

Each room’s music and opening, from each class constructor’s call to 0x40B0F0:

Showdown (rooms without a class: no music change, no opening):

Music Opening Rooms
Chase.Music — P24_Chase_B1, P25_Chase_B2, P26_Chase_B3, P27_Chase_B4, P28_Chase_B5, P29_Chase_B6, P33_Chase_C1, P37_Chase_C2, P38_Chase_C3, P39_Chase_C4, P34_Chase_C5, P35_Chase_C6, P40_Chase_Start
Ghost_Spot.Music — Ghost_Spot
Gummy.Music Gummy_Puzzle.220B_ Gummy
Horseshoe_Corral.Music — P30_Horseshoe_Corral
Suspect.Music — Suspect_Chooser
Title_Screen.Music — Title_Screen
Track9.Music — P25A_Chase_B2_Closeup, Artifact_Bowl_09, Artifact_Bowl_12, Artifact_Bowl_15, Artifact_Deer_09, Artifact_Deer_12, Artifact_Deer_15, Artifact_Vase_09, Artifact_Vase_12, Artifact_Vase_15
group 1 — Sign_In, Difficulty, Options, Main_Menu, Quit, Test_Scroll
group 2 Street_3.320A_ P11_Street3
group 2 Town_Center.100B_ P01_Town_Center
group 2 — P03_Street1, P04_Street2, P08_Post_Office, P09_Railroad_Station, P10_Front_Of_General_Store
group 3 Saloon.360A_ P12_Saloon
group 3 — P17_Hotel_Hall, P20_Hotel_Room, Artie
group 4 — P05_Stage, P06_Stage_Trapdoor
group 5 Back_Alley.350A_ P19_Back_Alley
group 5 Tunnel_Dark.170A_ P14_Tunnel_Dark
group 5 — P02_Sheriffs_Office, P07_Jail, P13_Bank, P15_General_Store_Interior, P16_Bank_Vault, P18_Tunnel_Lit, Sheriff, Vault_Clock
group 6 — P21_Boot_Hill1, P22_Boot_Hill2, P23_Boot_Hill3, Cheat
— — P32_Pie_Noon, Big_Head, Open_Safe, SB1, SB2, SB3, SB4, SB5

Phantom (rooms without a class: no music change, no opening):

Music Opening Rooms
Bagpipes.Music Town.110_ P04_Town
Drawbridge.Music Drawbridge.100A_ P01_Drawbridge
Ghost_Spot.Music — Ghost_Spot
Hedge_Maze.Music — Hedge_Maze
Knights.Music Knights_of_the_Snack_Table.350X_ P31_KST
Princess_Bedroom.Music Princess_Bedroom.280_ P29_Princess_Bedroom
Princess_Bedroom.Music — P26_Castle_Balcony, P27A_Below_Balcony_Door, P28_Veranda
Skull_Puzzle.Music — Wizards_Skull
Title_Screen.Music — Title_Screen
Track6.Music — Suspect_Chooser, Options, Main_Menu, Quit
group 1 Arena_1.170_ P09_Arena1
group 1 Arena_2.180A_ P14_Arena2
group 1 Ewan.NOTEBOOKPAGE_INTRO_ Ewan
group 1 Fountain.250D_ P44_Fountain_Closeup
group 1 Magic_Mirror_Room.310_ P08_Magic_Mirror_Room
group 1 Mermaids_Cavern.340_ P21_Mermaids_Cavern
group 1 Room_Of_Doors.140_ P11_Room_Of_Doors
group 1 Royal_Gallery.210_ P07_Royal_Gallery
group 1 Secret_Passage_2.380_ P19_Secret_Passage2
group 1 Storage_Room.370_ P18_Storage
group 1 Throne_Room.160_ P10_Throne_Room
group 1 Wizards_Library.300_ P25_Wizards_Library
group 1 — P12_Dining_Room, P13_Kitchen, P03_Souvenir_Shop, P05_Gardeners_House, P06_Garden, P15_Secret_Passage1, P16_Treasury, P17_Kitchen_Storage, P20_Kings_Armory, P20_Kings_Armory_Slide, P22_Well_In_Maze, P23_Maze_Center, P24_Wizards_Bedroom, P27_Below_Balcony, Sign_In, Difficulty, Brad_SPOOKY, Brad_SPOOKIER, Brad_SPOOKTACULAR, Maria, Maze_Map
group 6 — Cheat
— Gardeners_House.130A_ Garden_Plaque
— — P30_WFR, Big_Head

The Credits room’s opening comes from its factory call, which passes Credits.1100A2_ and Credits.1100D3_; which one the constructor keeps isn’t traced.

Town Center (0x42CFD0, vtable 0x45F300). Its fields follow the base room’s:

Address Slot What it does
0x42D030 +0x08 reset One snack needed (+0x24). The moan timer (+0xBC) at 36 ticks; the exit scene (+0xB8) and SignClicked (+0xC0) at 0
0x42D270 +0x0C entry From Street 1, Fred walks in UL (0x405EE0); from Street 2, Velma U (0x405FE0); from Street 3, Shaggy UR (0x405E60). Each keeps its depth (+0x9C), goes 50 behind it and starts state 1
0x42D800 +0x18 placements OBJ_INV_SIGN: not built if the sign was ever taken (0x407060); else a requires object (0x408C80) under layer 1, depth 1 (0x430EE0), hidden until SignClicked. OBJ_P01_TC_HOTSPOT4: a clickable under layer 1, depth 1, hidden once SignClicked. OBJ_P01_TC_HOTSPOT2: a clickable under its layer=, kept
0x42D7B0 +0x14 event OBJ_P01_TC_HOTSPOT4: SignClicked. OBJ_INV_SIGN: take the sign (+0xD0)
0x42D3F0 +0x04 tick Below
0x42D060 +0x24 exit With no snack eaten here (+0x88 = 0): Town_Center.100A_, …100A2_, …100A3_ in turn, blocking, and the snack box flashes (0x40D4D0). Else the base exit
0x42D340 +0x34 idle chatter rand() & 3: Town_Center.100B_, …100B2_, …100B3_ with MoaningActive, or …1100D_; none blocks
0x42D970 / 0x42D9B0 +0x1C / +0x20 The base keys, then SignClicked

The tick, after the base tick:

The snack box’s flash (0x40D4D0 sets +0x70; the box’s update 0x40D130 acts on it). It waits for no scene and the opening done. With the toolbar open, the box plays ANIM_TOOLBARSNACK_BOX_ANIM once with Global.Snack_Box, the digits move away (x −5000.0) until it’s over, and the flag clears. Otherwise the toolbar opens first (0x407C00).

The accusation: suspects and clues, and Big Head (WP-031)

Traced 2026-11-14 for WP-031, in Showdown, and compared with Phantom byte for byte once addresses are masked.

The clue state on the game object, written by 0x40A270 and read by 0x40A540:

Field Key What it is
+0x100 Whodunit The villain
+0x108 FinalClue The final clue is found: the accusation is open
+0xB0 + 8i CluesFound0–4 Each clue found, by name (ARTIE_MAP, EWAN_FILM, …)
+0xD8 + 8i ClueOwners0–4 (not read by these rooms)
+0x174 + 8i Suspect0–4 The suspects met
+0x109 — A clue just found, for Scrappy to name; not saved, cleared by 0x4087B0

The suspects and clues (0x426910, vtable 0x45F068, music Suspect.Music, Phantom Track6.Music): tick 0x4269E0, entry 0x426B40, +0x10 0x4270E0, placements 0x427100, exit 0x426F30.

Placement What it becomes
OBJ_SUSPECT_PICTURES …PICTURES1–5 A button at depth −1 for a met suspect (0x40A930); nothing otherwise
OBJ_SUSPECT_CLUES, …CLUES_HOTSPOT Nothing: the entry builds its own
OBJ_SUSPECT_CLUE_INFO The clue card, at the placement under the first layer, hidden
OBJ_SUSPECT_FINAL_CLUE A button with the final clue; nothing otherwise
An ANIM ending EXITICON Nothing, with the final clue: there’s no way back
Picture Showdown Scrappy (Suspect_and_Clues.SCRAPPY_<…>_Info) Phantom Scrappy
1 SHERIFF Chuck EWAN Ewan
2 JENNY Jenny BRAD Brad
3 ICDOUBLE ICDouble MARIA Maria
4 ARTIE Artie WIZARD Wizard
5 GUMMY Gummy JESTER Chester
Villain Showdown movie Reveal Villain Phantom movie Reveal
SHERIFF 13 …B_ EWAN 15 …A_
JENNY 12 …C_ BRAD 13 …B_
ICDOUBLE 11 …E_ MARIA 16 …C_
ARTIE 9 …A_ WIZARD 17 …E_
GUMMY 10 …D_ JESTER 14 …D_

Big Head (0x403070, vtable 0x45E44C): entry 0x403180, tick 0x403C70, +0x10 0x403920, opening +0x30 0x4038F0, scene step +0x38 0x403940.

Address What it does
0x427C70 / 0x427DE0 Accuse / the verdict
0x4278C0 / 0x427600 / 0x427AA0 Clue clicked / picture clicked / the clue card
0x403F90 / 0x404270 Big Head: the partner / the background
0x40A930 Is a suspect met
0x404480 The room after Big Head (game +0x230)
The music’s fade (WP-032)

Traced 2026-11-14 for WP-032, in Showdown. The sound manager (0x475F48, returned by 0x434A30) keeps one fade for the music file:

Field What it is
+0x10 / +0x11 Fading down / up
+0x14 The target, in percent
+0x18 The interval, in game ticks
+0x1C The countdown to the next step
Music file +0x18 The music’s percent now (100 at start)
Address What it does
0x434F10 (target, interval) Fade down: the down flag on, the up flag off, the countdown at the interval
0x434F30 (target, interval) Fade up, the same way
0x434F50 Stop either fade, and set every music clip to 100% (0x43C940 with 0xFFFFFFF)
0x434C00 Once a game tick (0x435BC0, after the room’s tick): the countdown goes down by one; at 0 it starts again from the interval, and a fade moves the percent one step
0x43C940 (clip, percent) Store the music file’s percent, and set each playing clip’s volume to percent × the file’s gain (+0x14, the Options slider’s 0.7–1.0)
0x43CC20 Play a clip; its volume goes through the same driver call (+0x18). That it is the same product is an inference: Ghidra hides the __ftol operands there. Each clip has a buffer of its own (+0x10 of its 0x14-byte entry). By the file’s type (+0x10, set by 0x43C5A0): Sfx.dat (0) keeps a clip’s buffer and starts it again, and other clips play on; Voice.dat (1) makes a stream each time; Music.dat (2) plays nothing if the clip has a buffer, and frees every other clip’s not kept (+0x0C) first. WP-055. A Voice.dat stream goes in the clip’s own entry and frees no other clip’s, so voice lines overlap, up to the driver’s four streams (voice lines overlap)

A step (0x434C00):

A fade that starts at its target stops on its first step, with no change.

Who fades the music:

Caller When Fade
0x40B400 A scene starts (openings, exits’ scenes, the rooms’ own) Down to 90, a step every 2 ticks: 100 → 90 in 20 ticks
0x40C810 (0x40CA85) A scene ends, played out or skipped Up to 100, a step every 4 ticks: 90 → 100 in 40 ticks
0x435DC0 (0x4360B0) A room has loaded, after its entry Up to 100, a step every 3 ticks
0x428380 (0x42846E) The title shows 0x434F50: straight to 100
0x41936E A story room near P14 0x434F50 (not modelled yet)
0x422478 The ghost spot’s entry (WP-056) 0x434F50: straight to 100

Big Head’s own player (0x403940) never reaches 0x40C810’s end. A Big Head scene therefore turns the music down when it starts, and it stays down until the next room loads.

The opening’s delay applies to Big Head and Credits too. Both rooms’ first scenes are their openings (+0x78). The base room starts an opening 100 ticks after entry (+0x74), holding input meanwhile (0x40C7B0), and only then does 0x40B400 turn the music down. Credits’ opening is the factory’s first scene: Credits.1100A2_ (Phantom Credits.10002_).

Voice lines overlap (2026-11-16)

Traced 2026-11-16 in Showdown, for the gap WP-055 left. 0x43CC20 reaches the sound driver through the base factory (0x433C70, vtable 0x45F570): its +0x1C (0x43C020) builds the driver once (0x442510, vtable 0x45F744).

Address What it does
0x4428A0 (driver +0x04) Create a stream in the first of the driver’s four stream slots (+0x3C, 0x108 bytes each) not in use (slot +0x68 bit 31). 0x445780 opens it and counts the slot’s generation (+0x104, 1 to 512). The handle is 0x80000000 | (generation × 4 + slot + 1). With all four in use the handle is 0, and 0x43CC20 logs Failed to create stream
0x442910 (+0x08) Create an effect buffer, the first free of 128 (+0x40, 0x1C bytes each); the handle is its index + 1
0x442970 / 0x442A60 (+0x0C / +0x14) Free / stop a handle. A stream is destroyed either way, and only if the handle’s generation is the slot’s
0x442C50 (+0x20) Is a handle playing; a stream handle of an older generation is not
0x442DD0 (+0x28) A handle’s lip sync: the shape, and the clue in the high nibble
0x442D40 (+0x30) A handle’s seconds played
0x445B30 A stream slot’s thread. When the clip ends, or the stream is freed, it destroys the stream and clears +0x68: the slot is free again

Voice.dat (type 1): 0x43CC20 passes 0x4428A0 the clip’s own entry (+0x10) for the handle, and frees nothing else.

Every reader goes by clip id, to the stream in its entry:

With two lines playing, each reader reads its own clip. Nothing in the original reads a “clip played last”.

Street 2 and Street 3 (WP-033)

Traced 2026-11-14 for WP-033, in Showdown. Both rooms have the music group 2 and no opening of their own (their constructors pass 2 and an empty string; Street 3’s passes Street_3.320A_).

Street 2 (0x42C3E0, vtable 0x45F27C):

Address Slot What it does
0x42CB40 +0x30 Before the opening: Street_1.130A_ (0x40C6B0) while MoaningActive, else none; not played (+0x10 = 0). So it plays on every visit while the moans are on. Street 1’s +0x30 (0x42BCD0) is the same
0x42C440 +0x0C entry Gummy, if built: SLEEPS looping (0x406210, state 0x10) until GummyPuzzle. With GummyPuzzle and Gummy a clue owner (0x40A870, ClueOwners, game +0xD8), he and the donkey are 50.0 along. Both get hit type 0 (+0x4). Walk-ins: from the general store Daphne UR; from the station Fred UL; from Town Center Fred DL (0x405F20) and Daphne DR (0x405EA0)
0x42C7A0 +0x18 placements OBJ_DONKEY… and OBJ_GUMMY…: not built until Artie is met (0x40A930). OBJ_P04_STREET2_CLOCK: a plain sprite in layer 0, depth 0, ANIM_P04_STREET2_CLOCKA, or …CLOCKB once OBJ_INV_CLOCK is taken. OBJ_P04_STREET2_WINDOW: a plain sprite in layer 0, depth −1, hit type 0, once Gummy is a clue owner; else not built
0x42CAE0 +0x14 event OBJ_P04_STREET2_HOTSPOT1: Street_2.100C_; …HOTSPOT2: Street_2.100D_; neither blocks
0x42C600 +0x24 exit To ROOM_P10_Front_Of_General_Store, the scene is Street_2.General_Store1_ or …2_ (rand() & 1); then the base exit

Street 3 (0x42CB80, vtable 0x45F2C0):

Address Slot What it does
0x42CBE0 +0x08 reset The moan timer (+0xB8) at 36 ticks; the music flag (+0xBC) on; the hotspot scene (+0xC8) at 0
0x42CE50 +0x0C entry From Town Center Fred DL; from the Saloon Velma U; from the Bank Shaggy UR. The music flag on
0x42CD10 +0x04 tick Moans (Street_3.Moan.1–4) every 5–14 seconds with MoaningActive. Hotspot 2 stopped with the music flag on: the flag off and the music group 2 (0x40AA10), whose next variant plays because the group changed. On step 3 with the hotspot’s state (+0x60) ANIM_P11_STREET3_HOTSPOT3B, that is while it plays its A: Street_3.HOTSPOT3_, blocking
0x42CF00 +0x18 placements OBJ_P11_STREET3_HOTSPOT2 and …HOTSPOT3: clickables under their layer=, kept
0x42CC10 +0x14 event OBJ_P11_STREET3_HOTSPOT: Street_3.130X1_, …130X2_, …130X3_ in turn, blocking. …HOTSPOT2: the music group −1 and the music flag on. The hotspot’s own sound, SFX_P11_STREET3_HOTSPOT2A, is in Music.dat and so replaces the music
0x42CCC0 +0x34 idle chatter rand() & 1: Street_3.100B2_ with MoaningActive, or Street_3.1100A_

Shared pieces:

Traced 2026-11-14 for WP-034, in Showdown.

The clue a suspect gives (game vtable +0x44, 0x42F990):

  1. Nothing if the suspect is already one of ClueOwners0–4 (0x40A870, game +0xD8), or if no CluesFound slot (game +0xB0) is empty.
  2. The villain (Whodunit, game +0x100) gives a red herring (0x4301E0): rand() % 5, drawn until it is neither the villain’s nor the giver’s number, picks one of RH_ARTIE_BRUSH, RH_GUMMY_CLOTH, RH_IC_SOAP, RH_JENNY_GHOSTLY_TALES, RH_SHERIFF_GOLD_STAR (suspects numbered Artie, Gummy, ICDouble, Jenny, Sheriff).
  3. Anyone else first draws rand() & 1. Their clues are five (0x46FA3C): three of their own (Artie: ESCAPE_BOOK, CLASS_LIST, MAP), then two more (CLOTH, HATBAND).
    • While any of their own three isn’t found (0x4301A0, game vtable +0x68), one of the three (rand() % 3).
    • Once all three are, at level 0 (game +0x160) the fourth or fifth by the first draw; above it, a red herring as in 2.
  4. A clue already found is drawn again. It goes to the first empty CluesFound slot, the suspect to ClueOwners at the same index, and game +0x109 (a new clue, for Scrappy) is set.

Street 1 (0x42AE70, vtable 0x45F23C; music group 2):

Address Slot What it does
0x42AED0 +0x08 reset Its flags, the pump count (+0xC0) and the hint (+0xCC) at 0
0x42BCD0 +0x30 The moaning opening, as Street 2’s
0x42B960 +0x0C entry If the Sheriff isn’t a clue owner and isn’t waiting (SheriffWaiting, +0x26D): one of Street_1.130C1_–3_, blocking, his clue (+0x44), and he gives when idle (+0xBD). From Town Center Fred DR; from the Sheriff’s office Shaggy UR. Once he is a clue owner, the Sheriff stands at (501.0, 270.0)
0x42BD10 +0x18 placements OBJ_SHERIFF: only once Artie is a clue owner and until the brick is taken. OBJ_P03_TO_P02: only in his puzzle (SheriffPuzzle, +0x26C) once he has the sign. OBJ_P03_STREET1_DOOR_OVERLAY: a plain sprite in layer 0 at depth −1000 otherwise. OBJ_INV_STRONGBOXKEY: a requires object, hidden until KeyVisible; not built once taken. OBJ_P03_STREET1_TROUGH: a requires object, playing TROUGHB, C or D for 1, 2 or 3+ pumps once the handle is on the pump (taken, not in a slot, 0x4070C0); with the brick taken it asks for ANIM_CURSORBRICK (+0x5C). OBJ_P03_STREET1_HOTSPOT2: kept
0x42AF60 +0x04 tick Below
0x42C120 +0x14 event The trough with its cursor: the brick gives Street_1.Wash_Brick_, takes the brick and sets FinalClue (game +0x108) and +0xC4; the handle sets the pumps to 0, takes the handle, plays Street_1.130E_ and asks for a pump (+0xD0). With the arrow: a pump once the handle is on, else 130D_, 130D2_, 130D3_ by the pump count, which wraps to 0. The key: Scooby takes it (+0xD2)
0x42BB50 +0x24 exit To the post office with the lantern taken, no scene
0x42AF10 +0x10 leave A key Scooby was taking goes in the toolbar
0x42C2E0 / 0x42C360 +0x1C / +0x20 The base keys, then PumpAttempts (%i), SheriffIntroPlayed and KeyVisible

The tick:

The chase (WP-035)

Traced 2026-11-14 for WP-035, in Showdown; Phantom has no chase. After ROOM_P40_Chase_Start (music only), the gang runs through two kinds of room, both with Chase.Music:

The close-up, P25A (0x4119F0), is ICDouble’s scene: below.

Chase B’s fields: +0xB8 the OBJ_BRANCH sprite; +0xBC the countdown; +0xC0 the pending room; +0xC8 the oil can taken here; +0xCC the oil can’s requires object.

Address What it does
0x41ED40 (+0x18) Placements. OBJ_BRANCH* (the first 10 characters): a sprite under layer 0, depth 0, looping. OBJ_INV_OILCAN: a requires object (0x408C80 with -1: layer 0) unless the oil can is held, then not built. OBJ_P25_OVERLAY: a sprite at depth -1 while OBJ_INV_SAFE_COMBO isn’t held and ICDOUBLE is a clue owner (0x40A870, game +0xD8), else not built
0x41FA80 (+0x2C) The opening, by where the gang came from: Chase_Branch_3.230_ in P26; none in P24, P27, or from the corral; otherwise rand() & 3 of Chase_Branch_3.230_, .230B2_, .230C_, .230D_. Never marked played
0x41F650 (+0x0C) Entry: the countdown at 720, nothing pending. P27 leaves for C6 and P24 for C4 at once. From the close-up, Chase.Branch_2 and ANIM_BRANCH2A_FIN, pending C3; from the corral, Chase.Branch_5_from_HC and ANIM_BRANCH5A_FIN, pending C6. ICDOUBLE is never hit
0x41E7A0 (+0x24) Leave for a room, once: it becomes pending, the branch plays its run-off (mode 3, 3 ticks a step) with its sound, and input stops (0x435150, game +0x24). The exit’s own scene and walk-off never play
0x41EBC0 (+0x14) OBJ_INV_OILCAN taken: the flag, and leave for C5
0x41EFC0 (+0x04) The countdown: when its old value is below 0 with nothing pending, it starts again at 2160 and B2 leaves for C3, B3 for C2, B5 for C6, B6 for C5. While something is pending: on step 22 of the run-off with the flag set, the oil can goes in the toolbar and its sprite hides; when the run-off has played out, the room changes (game +0x04), or to the corral through movie 8 (game +0x08)
0x41E780 (+0x08) Reset: the countdown at 720

The run-offs (0x41E7A0), by the room they lead to:

To Branch Run-off Sound
B2   ANIM_BRANCH3B Chase.Branch_3b
C3   ANIM_BRANCH2B Chase.Branch_2
P25A, the close-up   ANIM_BRANCH2A Chase.Branch_2
C2   ANIM_BRANCH3A Chase.Branch_3a
C4   ANIM_BRANCH1A Chase.Branch_1a
The corral   ANIM_BRANCH5A Chase.Branch_5a
C6 OBJ_BRANCH5 ANIM_BRANCH5B Chase.Branch_5b
C5, the oil can taken   ANIM_BRANCH6C Chase.Branch_6c
C5   ANIM_BRANCH6A Chase.Branch_6a
B4 OBJ_BRANCH6 ANIM_BRANCH6B Chase.Branch_6b
C6 OBJ_BRANCH4 ANIM_BRANCH4A Chase.Branch_4

A destination with no run-off still holds input, and with the branch still looping the room never changes; no room’s exits lead to one.

Chase C (0x420690, 0x420510, 0x41FC10):

The close-up, P25A (WP-036)

Traced 2026-11-15 for WP-036. ROOM_P25A_Chase_B2_Closeup (0x4119F0, vtable 0x45E890, Track9.Music) has ICDouble digging, the gang, the exit back to P25, and the safe’s combination (OBJ_INV_SAFE_COMBO, an inventory object by object.ini). It takes the player through three visits:

  1. Meeting ICDouble.
  2. His clue, once the artifact is built.
  3. The combination, which blows in once he has given his clue.

Its fields:

The game fields it reads: game +0x270 is ArtifactsBuilt, +0x278 ArtifactType (Bowl, Deer, Vase), +0x160 the level.

Address What it does
0x412300 (+0x18) Placements. OBJ_INV_SAFE_COMBO, unless held: a requires object (0x408C80 with -1: layer 0) at depth 500, stopped on its last step (graphics_AnimSprite_Start 5, 3, -1), hidden until ComboBlewOn. Held: not built
0x412020 (+0x0C) Entry, after the base entry. +0xC3 is whether ICDOUBLE is a clue owner (0x40A870). Not one, with ArtifactsBuilt exactly 1: Chase_B2_Closeup.260C1_ to 260C3_ (rand() % 3), holding input, then his clue (game vtable +0x44) and +0xB8. Then +0xC0, +0xC1 cleared and the countdown at 24. Not met yet (game +0x174): he is met, and Big Head plays Chase.Branch_2.260A_ on BIG_HEAD_BG_P25A, then the artifact’s room. Else, with the combination built, not blown in, and +0xC3: input holds
0x412490 The artifact’s room: ROOM_Artifact_<ArtifactType>_ and 09, 12 or 15 by level (the puzzle)
0x411AC0 (+0x04) The tick, after the base tick. See below
0x411FC0 (+0x14) OBJ_INV_SAFE_COMBO with the arrow: Chase.Branch_2.486_, its done flag +0xC0, told to hold input
0x411A70 (+0x10) Leave, after the base leave: +0xC0 set, the combination goes in the toolbar if it isn’t there
0x411A50 (+0x08) Reset: +0xB8, +0xB9, +0xC2 cleared
0x412410 / 0x412450 (+0x1C / +0x20) ComboBlewOn in the room’s section, after the base keys

The tick (0x411AC0), in order:

  1. ICDouble clicked with the arrow (game +0x20 bit 4, his +0x08):
    • before the artifact is built (ArtifactsBuilt < 1), back to the artifact’s room;
    • after, Chase_B2_Closeup.1901_ to 1904_ (rand() & 3), not held.
  2. ICDouble idle with +0xB8:
    • he plays GIVES, +0xB9 is set, and input holds;
    • idle again with +0xB9: the room’s exit handler (+0x24) with Global.Thank_You_ to ROOM_Suspect_Chooser.
  3. +0xC0 set, the combination’s scene over:
    • with Shaggy idle and no scene or opening, he plays OBJ_SHAGGY_P25A_TAKE_COMBO, the combination hides, and input holds;
    • idle again: OBJ_INV_SAFE_COMBO goes in the toolbar (ANIM_TOOLBARSAFE_COMBO, ANIM_CURSORSAFE_COMBO) and input is free.
  4. The blow-in: with the combination built, not blown in, and +0xC3, the countdown’s old value below 1:
    • ComboBlewOn, and it shows;
    • it plays once (3, 3, −1) at Shaggy’s depth − 1, with ICDouble.Combo.Blows.In, 25 ticks after entry.
  5. On step 38, while it plays, it moves to Shaggy’s depth + 1.
  6. Once blown in and stopped, with +0xC3, input is freed (0x4351C0, game +0x24) on every tick. That frees the hold of the combination’s scene and of Shaggy taking it in the tick they start, so neither holds input.
The artifact puzzle (WP-037)

Traced 2026-11-15 for WP-037. The nine ROOM_Artifact_<Bowl|Deer|Vase>_<09|12|15> rooms (0x40D8A0, vtable 0x45E6CC, Track9.Music) are the puzzle the close-up sends the gang to. Each is a jigsaw of 9, 12 or 15 bones, by its level. Each room’s placements are:

Its fields:

Address What it does
0x40E0E0 (+0x18) Placements, each a sprite under layer 0 hit by its cels (0x430D60 sets +4 to 1). The artifact: depth 2, hidden. The outline (the COMPLETE sequence): depth 0. Each piece: depth 1, at its start for the level, or at its place if PiecePlaced
0x40E060 (+0x0C) Entry, after the base entry: the toolbar slides off (0x407CC0), and Artifact.Intro_1_ICDOUBLE plays
0x40DA50 (+0x04) The tick. See below; the base tick runs last
0x40D940 A piece in its place: Artifact.Clink1 to 3 (rand() % 3). With every piece exactly in its place, the artifact shows and plays once (3, 3, −1), ArtifactsBuilt (game +0x270) is 1, +0x17C is set, and Artifact.Morph plays
0x40E0C0 (+0x10) Leave, after the base leave: the piece count and the artifact cleared
0x40D900 (+0x08) Reset: the count, +0x17C, the artifact, the carried piece (−1) and every PiecePlaced cleared
0x40E640 / 0x40E6F0 (+0x1C / +0x20) PiecePlaced0 to 14 in the room’s section, after the base keys

Where the pieces start, by level, in build order (0x46AE10, 0x46AE58, 0x46AEB8; (x, y) in layer 0):

Level Starts
09 (133,185) (210,185) (317,188) (101,256) (207,256) (345,262) (73,350) (220,360) (382,360)
12 (136,178) (210,178) (315,178) (107,234) (218,234) (339,237) (91,300) (212,303) (358,299) (71,372) (218,378) (383,371)
15 (140,168) (223,167) (310,167) (115,217) (219,214) (335,213) (102,263) (224,263) (359,263) (88,314) (215,316) (372,311) (77,371) (219,380) (385,373)

The tick (0x40DA50) reads the mouse from the cursor sprite (game +0x18, its +0xC, +0x10) and the click from game +0x20 bit 4:

  1. The cursor: over a piece off its place on both axes, ANIM_CURSOROPEN; otherwise the default cursor.
  2. Not carrying, a click on a piece not in its place:
    • within 10 pixels of its place on both axes, it snaps in: depth 1, PiecePlaced, then 0x40D940;
    • otherwise it is carried: its offset from the mouse is kept, and its depth is its y.
  3. Carrying, no click:
    • a piece exactly in its place stays carried;
    • otherwise, within 10 of its place it snaps in, as above, and is let go;
    • otherwise it follows the mouse at its offset, at the depth of its y.

    The snap tests where the piece was, so it comes a tick after the mouse brings it close.

  4. Carrying, a click: the piece goes back to its start for the level (the last two letters of the room’s name), at depth 1, with Artifact.Wrong.
  5. The artifact morphing, played out and with Artifact.Morph over (0x434CE0): the room’s exit handler takes the gang to ROOM_P25A_Chase_B2_Closeup.
  6. The cursor sprite is hidden (0x435150) while a piece is carried, and shown (0x4351C0) otherwise. Input stays on.
The bank vault and the open safe (WP-038)

Traced 2026-11-15 for WP-038. The bank has five classes:

Room Class Vtable
ROOM_P13_Bank (the vault door) 0x428660 0x45F0E8
ROOM_Vault_Clock (its dial) 0x42A780 0x45F1E8
ROOM_P16_Bank_Vault 0x429220 0x45F128
ROOM_Open_Safe 0x429BE0 0x45F168
ROOM_SB1 to SB5 0x42A340 0x45F1A8

This section covers the vault and the open safe; the bank and its clock are below.

ROOM_SB1 to SB5 are unreachable in the shipped game (checked for WP-040):

Address What it does
0x42A3A0 (+0x08) Reset, after the base reset: +0xB8 (the scene’s done flag) and +0xB9 (the lid opening) clear
0x42A600 (+0x18) Placements. OBJ_SB1_LID to OBJ_SB5_LID a sprite under the first layer at depth 0, stopped on step 0 (graphics_AnimSprite_Start 0, 3, −1), kept in +0xBC. The layer is the engine’s +0x58 through 0x475F4C, which the engine’s constructor sets to itself: the same object as 0x475F14
0x42A5B0 (+0x0C) Entry, after the base entry: the toolbar hidden (0x407CC0), the cursor faded (0x435150, 0x12), input held (game +0x24), and +0xC0 36
0x42A3C0 (+0x04) The tick, after the base tick. +0xC0 counts down; at 0, Strongbox.opens plays and the lid plays once at 5 ticks a step (Start 3, 5, −1), and +0xB9 is set. The lid stopped with +0xB9: Bank_Vault.340D_ (the narrator’s), held, with +0xB8 as its done flag. Set, the room’s exit handler (the base’s) to ROOM_P16_Bank_Vault, with no scene and movie −1
0x42A770 (+0x10) Leave: the base leave only

ROOM_P16_Bank_Vault’s placements:

Its fields:

An item used below is one taken (0x407060) and no longer in a slot (0x4070C0).

Address What it does
0x4295E0 (+0x18) Placements. The door: a requires object (0x408C80 with -1: layer 0) at depth 1, showing ANIM_P16_DOOROPEN on its last step (start 5) once the combination is used. Hotspots 1–5: not built once the key is used. Hotspot 6: a clickable (script_CreateClickableObject 1, -1), on ANIM_P16_BANK_VAULT_HOTSPOT6C (start 0) with its state set (0x401780) while DustVisible
0x4292A0 (+0x0C) Entry, after the base entry: +0xC8 and +0xC9 cleared; with the key used and the dentures never taken, OBJ_INV_DENTURES goes in the toolbar
0x429350 (+0x14) Events. See below
0x429870 (+0x04) The tick, after the base tick. See below
0x429280 (+0x08) Reset: DustVisible and +0xC4 cleared
0x4297F0 / 0x429830 (+0x1C / +0x20) DustVisible in the room’s section, after the base keys

The events (0x429350):

The tick (0x429870), only with +0xC8 set:

  1. Daphne tries the safe. With Daphne idle, no scene, and the opening done:
    • without the combination used, she plays OBJ_DAPHNE_P16_NO_UNLOCK_SAFE with Daphne.No_Open_Safe;
    • with it, she plays OBJ_DAPHNE_P16_UNLOCK_SAFE with Daphne.Opens_Safe, and the door hides.

    Then +0xC9 is set.

  2. Input holds on every tick.
  3. Daphne idle again after her try:
    • without the combination, Bank_Vault.340E_ plays;
    • with it, the door shows ANIM_P16_DOOROPEN (start 0, step 0) again, and the room’s exit handler takes the gang to ROOM_Open_Safe.

    Then both flags clear.

ROOM_Open_Safe has no music. Its placements are the gang in the vault, OBJ_GANG_VAULT_<NAME>, each a talking mouth.

Address What it does
0x42A040 (+0x18) Each of the gang a sprite under layer 1 (game +0x5C) at depth 1: Daphne +0xC0, Fred +0xC4, Velma +0xC8, Shaggy +0xCC, Scooby +0xD0
0x429C40 (+0x0C) Seen before (the opening played): ROOM_P19_Back_Alley. Then the base entry, the toolbar off (0x407CC0), the countdown +0xBC at 72, and Open_Safe.340F_ started, holding input
0x42A320 (+0x3C) Input held and the cursor hidden, on every tick
0x429CB0 (+0x38) The scene’s step, its own line player. See below
0x429F10 (+0x04) The tick. See below

The scene’s step (0x429CB0):

The tick (0x429F10):

  1. The base tick, with the scene’s step in it.
  2. The mouths: each of the gang goes to step 0, and the speaker’s to the lip sync’s shape − 1.
  3. A line over (its position −1) frees the next.
  4. The scene over: the opening counts as played, and ROOM_P19_Back_Alley loads.
The bank and the vault clock (WP-039)

Traced 2026-11-15 for WP-039. These are the other two of the bank’s five classes.

The mouse flags that room classes read, game +0x20, are set each frame from the mouse (0x4359C0):

Bit Meaning
1 The button is held
2 The button went down this frame
4 The button came up this frame

A sprite under the mouse has its +0x08 set.

ROOM_P13_Bank’s placements:

The broken clock is OBJ_INV_CLOCK in the toolbar, added with ANIM_TOOLBARBROKEN_CLOCK and ANIM_CURSORBROKEN_CLOCK (0x40FB70).

Its fields:

Address What it does
0x4286E0 (+0x30) The opening: Bank.330A_, unplayed, on every visit while MoaningActive (game +0x254); none otherwise
0x428EC0 (+0x18) The door, a requires object (0x408C80 with -1: layer 0) at depth 1. With VaultOpen (game +0x276), ANIM_P13_DOOROPEN on its last step (start 5); else, with the clock used, its step 0 (start 0)
0x428FE0 (+0x0C) Entry, after the base entry. With VaultOpen and from the dial: input held, the countdown at 36, the door on DOOROPEN step 0. The door’s line back to the first. Fred walks in down-left (0x405F20) from Street 3, Daphne up-right (0x405E60) from the vault
0x428710 (+0x14) The door. See below
0x4290D0 (+0x04) The tick, after the base tick. See below
0x4286C0 (+0x08) Reset: the moan countdown at 36

The door (0x428710):

Draw Spooky (09) Spookier (12) Spooktacular (15)
0 2:00 1:40 1:14
1 3:00 2:50 2:26
2 4:00 3:10 3:18
3 5:00 4:20 4:08
4 6:00 5:30 5:16
5 7:00 6:40 7:49
6 8:00 7:50 8:02
7 9:00 10:10 10:23
8 10:00 11:20 11:57
9 11:00 12:30 12:31

Each of the 30 times has its own ANIM_VAULT_CLOCK_TIME<hh>_<mm> on the disc, and no others do.

The tick (0x4290D0):

  1. The door’s countdown reaching 0: Bank.330D_, holding input, with Bank.Vault_Opens; the door plays DOOROPEN once (3, 3, −1); input is freed.
  2. The moans: while the countdown’s old value is above 0, nothing. Then, with MoaningActive, Town_Center.Moan.1 to 4 (rand() & 3), and the countdown at (rand() % 10 + 5) × 36.

ROOM_Vault_Clock’s placements:

Its fields:

Address What it does
0x42A830 (+0x18) The hands and the time, sprites at depth 0, stopped on step 0. The time starts ANIM_VAULT_CLOCK_TIME%002i_%002i of ClockHour and ClockMinute; an unknown name shows nothing
0x42AA70 (+0x0C) Entry: the toolbar slides off (0x407CC0), nothing dragged
0x42AAA0 (+0x04) The tick, after the base tick. See below

The tick (0x42AAA0):

  1. Catching a hand: with nothing dragged, the button going down (bit 2) on the hour hand drags it, else on the minute hand.
  2. Turning it: dragged, the hand turns toward the mouse (game +0x1C, +0x1E), unless the mouse is at the dial’s center (319, 285).
    • The target: atan2(x − 319, −(y − 285)) ÷ 2π, plus 1 if it is negative, times the hand’s steps, plus 0.5, truncated, modulo the steps.
    • The step: the hand is restarted every tick: stopped on the target; else one step forward (mode 1) or back (mode 2), the shorter way.

    So it turns a step a tick.

  3. Letting go: the button coming up (bit 4) stops both hands.
  4. The vault opens: with nothing dragged, the minute hand on ClockMinute and the hour hand on ClockHour mod 12, VaultOpen is set and the room’s exit handler takes the gang back to the bank. It is called again every tick until the room changes; the fork calls it once.
  5. The click: a hand on a new step plays Vault_Clock.Dial.Click again from its start.
Boot Hill (WP-040)

Traced 2026-11-15 for WP-040. ROOM_P21_Boot_Hill1, ROOM_P22_Boot_Hill2 and ROOM_P23_Boot_Hill3 share one class (0x40ECB0, vtable 0x45E74C), one object a room. Each room has:

GraveLocation (game +0x280, drawn 0–8 by a new game) names the grave with the brick: 0–2 Boot Hill 1’s first to third, 3–5 Boot Hill 2’s, 6–8 Boot Hill 3’s.

Its fields:

Address What it does
0x40ED30 (+0x30) The opening. Dug up, without DigScenePlayed, in the brick’s room: Boot_Hill_1.210B_, unplayed. Else in Boot Hill 2 Boot_Hill_2.340E2_, or none. 0x40C6B0 sets only the name, so whether it has played stays as it was
0x40F4F0 (+0x18) The graves are not built once the brick is dug up or was ever taken
0x40EE10 (+0x0C) Entry, after the base entry. See below
0x40F250 (+0x14) A grave clicked. See below
0x40F210 (+0x04) After the base tick: the dig scene over, the brick is dug up (+0xBA) and the room loads again through movie 3 (game vtable +0x08)
0x40EFD0 (+0x24) Boot Hill 2’s way back to 1 or 3. See below
0x40ED10 (+0x08) Reset: the three flags cleared
0x40F660 / 0x40F6A0 (+0x1C / +0x20) DigScenePlayed in the room’s section, after the base keys

The entry (0x40EE10), after the base entry:

A grave clicked (0x40F250):

Boot Hill 2’s way back (0x40EFD0): to Boot Hill 1 or 3, with fewer snacks given (+0x88) than the level plus two:

Otherwise, and to the tunnel, the room’s default exit handler runs.

The tunnel (WP-041)

Traced 2026-11-15 for WP-041.

ROOM_P14_Tunnel_Dark (0x4194D0, vtable 0x45EB1C):

Its fields:

Address What it does
0x419950 (+0x18) The crate, a requires object (0x408C80 with -1: layer 0)
0x4199C0 (+0x0C) Entry, after the base entry: the line, the tries and both flags back to 0
0x419920 (+0x14) The crate with its item, the arrow: +0xC0
0x419530 (+0x24) A way out: Tunnel_Dark.170A2_ and 170A3_ in turn, without holding input. The default handler isn’t called, so the gang stays
0x419610 (+0x04) The tick, after the base tick. See below

The tick (0x419610), while the crate is clicked; input is held on every tick:

  1. Shaggy tries. With Shaggy and Scooby idle, no scene and the opening done:
    • on the visit’s first try, Shaggy plays OBJ_SHAGGY_P14_NO_PUSH_CRATE with Shaggy.Cant.Push.Crate;
    • on any later try, the crate and Scooby hide, and Shaggy plays OBJ_SHAGGY_P14_PUSH_CRATE with Shaggy.Scooby.Push.Crate.
  2. Shaggy idle again:
    • after the first try, input is freed;
    • after a push, the crate shows ANIM_P14_TUNNEL_DARK_CRATEB, looping, and Shaggy hides. A sprite of his push’s last step takes his place in layer 0 at depth 500, and ROOM_P08_Post_Office loads.

ROOM_P18_Tunnel_Lit (0x4199F0, vtable 0x45EB5C) has the gang and two ways out: to the post office, and to Boot Hill 2 with the scene Tunnel_Light.180A_. Its exit handler (0x419A50, +0x24) keeps the scene of the first way out the gang takes (BootHillCommentPlayed, +0xB8). After that it clears the exit’s scene, then calls the default handler. So the way to Boot Hill has its comment only if it’s the first way out taken. BootHillCommentPlayed is saved in the room’s section (0x419BD0, 0x419C10) and cleared by the reset (0x419BB0).

The hotel (WP-042)

Traced 2026-11-15 for WP-042.

The music’s volume. 0x40AA10 takes a second argument, a volume in percent. If the group asked for is already playing, only the volume changes; otherwise the group starts, then takes the volume. The hall asks for group 3 at 95, the room for group 3 at 90.

ROOM_P17_Hotel_Hall (0x410BB0, vtable 0x45E810):

Address What it does
0x410C10 (+0x08) Reset, after the base reset: SecondEntrance cleared
0x410CC0 (+0x30) The opening Hotel_Hall.1100BE3_ by name, whether it has played left as it was (0x40C6B0). Once it has played, and without SecondEntrance: Hotel_Hall.1100B2_, unplayed, and SecondEntrance set, so the second visit has its own opening once
0x410DC0 (+0x18) The door a requires object (0x408C80 with -1: layer 0) at depth 1; hotspot 2 a clickable at depth -100; the chandelier a clickable at depth -1, or not built once the nickel has been used; hotspot 1 the default clickable
0x410C40 (+0x0C) Entry, after the base entry: with HotelHallDoor the door shows ANIM_P17_HOTEL_HALL_DOORANIM from step 5. From the saloon Daphne walks in from the left (0x405F60); from anywhere else Fred walks in from the right (0x405FA0). Both keep the character’s depth. Then the music, and the chandelier’s line back to the first
0x410F80 (+0x14) The door, with Fred idle (+0x74 = 6), whatever the item: DOORANIM from step 5, HotelHallDoor (game +0x255), Fred’s special OBJ_FRED_P17_OPEN_DOOR and the sound Hotel_Hall.Unlocked_Door. The chandelier: Hotel_Hall.400A_, 400A2_, 400A3_ in turn, without holding input
0x410D00 (+0x04) The tick, after the base tick: hotspot 1 on step 6 of a sequence ending in A, or step 4 of one ending in B: Daphne scared (state 0x11) and Hotel_Hall.Scream_, not held
0x411090 / 0x4110D0 Save / load SecondEntrance in the room’s section

Fred has no end-walk sequence from the right in Showdown’s art (OBJ_FRED_ENDWALK_R_B is missing). Starting it fails, which leaves his sprite stopped (0x430AA0), so he goes idle on the next tick.

ROOM_P20_Hotel_Room (0x411110, vtable 0x45E850):

Address What it does
0x411170 (+0x08) Reset, after the base reset: the count, LookedOutAuto and +0xC7 cleared
0x411190 (+0x2C) Arrival. See below
0x411280 (+0x18) Hotspots 2 and 4 clickables, as the default path builds them (0x408DC0 with 1, -1: depth priority=, -1 and -102); the nickel a requires object (layer 0), hidden once it has been had
0x411250 (+0x0C) Entry, after the base entry: the music; +0xC4 and +0xC5 cleared
0x4113B0 (+0x14) Hotspot 2 while its state (+0x60) is ANIM_P20_HOTEL_HOTSPOT2C: Hotel_Room.410X_, not held. The nickel with the arrow as the cursor: +0xC4
0x411440 (+0x24) A way out. See below
0x4115D0 (+0x04) The tick, after the base tick. See below
0x411910 (+0x10) Leaving, after the base leave: the nickel clicked and not yet had goes in the toolbar
0x411960 / 0x4119A0 Save / load LookedOutAuto in the room’s section

Arrival (0x411190):

So the window’s comments alternate, and with the brick there are none.

A way out (0x411440): an exit to the room itself, which is the window, plays movie 15 + GraveLocation, one per grave. The first way out taken keeps its scene and sets the count to 1; after that the exit’s scene is cleared. Then the default handler runs.

The tick (0x4115D0):

  1. The window by itself. With +0xC7, no scene playing and the opening done, +0xC7 is cleared and the room takes the window as if clicked. So the first visit ends with a look out of it.
  2. The nickel. Clicked, with Daphne idle and the room free: Daphne plays OBJ_DAPHNE_P20_GRAB_COIN, input held. On her step 14 the nickel hides. Idle again: the nickel goes in the toolbar (ANIM_TOOLBARBuffalo_Nickel, cursor ANIM_CURSORBuffalo_Nickel), and Hotel_Room.410A_ plays, blocking.
  3. Hotspot 4 on step 11: Hotel_Room.HOTSPOT4_.
  4. Hotspot 2 on step 18 of its C or D: Daphne scared.
The stage (WP-043)

Traced 2026-11-15 for WP-043.

A clickable’s callback. 0x401740 stores a function at a clickable’s +0x78 and its context at +0x74. When the clickable is clicked (0x401440), it starts its state’s sequence and sound, moves to its next state, sends the room event, and then calls the callback with the clickable. A sprite’s +4 is its hit type (0 never hit, 1 its cels, 2 its step polygon); the trapdoor sets it to switch its levers and its way out off and on.

The sandbags’ story values. Game +0x256 is BagsRandomized, and +0x257–+0x25A are BagDown0–3: 1 when that sandbag is down on the trapdoor. +0x25C–+0x268 are LeverAlias0–3, drawn by the new game.

ROOM_P05_Stage (0x417C50, vtable 0x45EA54; music 4):

Address What it does
0x417CB0 (+0x08) Reset, after the base reset: +0xB8 and +0xB9 cleared
0x4181B0 (+0x18) Jenny, and OBJ_P05_STAGE_TRAPDOOR, not built until Jenny has been met (0x40A930). The way down not built once she has. Each sandbag a sprite under layer 0 at depth -1001, kept by its digit
0x417F10 (+0x0C) Entry. See below
0x417CD0 (+0x04) The tick, after the base tick. See below

Entry (0x417F10), after the base entry:

  1. Jenny met:
    • Without the hammer, she hands it over: OBJ_INV_HAMMER, with ANIM_TOOLBARRUSTY_HAMMER and cursor ANIM_CURSORRUSTY_HAMMER.
    • Before her clue: the scene Stage.380D2_, blocking; her clue (game vtable +0x44); and +0xB8.
  2. The sandbags hung, once, without BagsRandomized. Below level 2 the first is up and the others down; at level 2 the first is down and the others up. Then BagsRandomized is set.
  3. Each sandbag shown only while it is down (0x4313F0, sprite +0x14).
  4. Shaggy walks in: from the saloon down and left (0x405F20), from the trapdoor up and right (0x405E60).

The tick (0x417CD0), with Jenny there:

  1. Jenny clicked with the arrow (released this frame, her clicked flag at +8): Stage.1801_, 1802_ or 1803_ (rand() % 3), without holding input.
  2. Jenny idle with +0xB8: she plays GIVES (0x4061F0). +0xB8 is cleared, +0xB9 set, the cursor fades and input is held.
  3. Jenny idle again, or no Jenny, with +0xB9: the room’s exit handler takes the gang to ROOM_Suspect_Chooser with Global.Thank_You_.

ROOM_P06_Stage_Trapdoor (0x418430, vtable 0x45EA94; music 4):

Address What it does
0x418510 (+0x08) Reset, after the base reset: the countdown -10, +0xDC and +0xE4 cleared
0x418490 (+0x30) The opening, unplayed on every visit. Level 0: Stage_Trapdoor.370BS_. Levels 1 and 2: 370B_ on the first visit, 370B2_ on the second, 370B3_ after that
0x418A10 (+0x18) Each lever a clickable at depth -500, with 0x418F50 as its callback, kept by its digit. Each sandbag a sprite under layer 0 at depth y - 240, started on its last step (mode 5), on ANIM_TRAPDOOR_SANDBAG%d_RAISE if it is up. The trapdoor a sprite under layer 0 at depth -100. The way out an exit object (0x408D20) at depth -1000
0x418870 (+0x0C) Entry, after the base entry: the toolbar slides off (0x407CC0), the room’s sounds are preloaded, and the countdown is -5
0x418F50 A lever’s callback. See below
0x418D50 Move sandbag i: up and to drop, it plays ANIM_TRAPDOOR_SANDBAG%d_DROP once, BagDown set, Stage_Trapdoor.TRAPDOOR_SANDBAG1_DROP; down and to raise, its RAISE, BagDown cleared, TRAPDOOR_SANDBAG1_RAISE. The sequence changes only if the current one ends the other way
0x418540 (+0x04) The tick. See below
0x4188B0 (+0x24) A way out: with the trapdoor open and stopped, movie 4. Then the default handler

A lever (0x418F50), unless the trapdoor is opening:

  1. The bags it moves. The digit at the end of the lever’s sequence picks its alias (LeverAlias, game +0x25C). The alias and the level pick which sandbags it moves, each the other way:

    Alias Level 0 Level 1 Level 2
    0 1 1, 2 1, 2, 3
    1 2 2 2, 3, 4
    2 3 3, 4 3, 4, 1
    3 4 4 4, 1, 2
  2. All four up: the trapdoor plays ANIM_TRAPDOOR_DOOROPEN once and +0xDC is set. Jenny is met (0x40A8B0), Stage_Trapdoor.TRAPDOOR_DOOR_OPEN plays, and the way out’s hit type goes to 0.
  3. The levers’ hit types go to 0.

The tick (0x418540):

  1. The trapdoor open and stopped: the room’s exit handler takes the gang to the stage with no scene. The handler makes it movie 4, 785 frames long.
  2. The base tick.
  3. The knocks.
    • Below -5, the countdown plays Stage_Trapdoor.Knock1 and goes to 72.
    • Each tick it then counts down. Below 0 it goes back to 72, and one of Knock1–5 or Yell1–4 plays (rand() % 9).
    • So the first comes on the first tick after entry, then one every 74 ticks.
  4. Every sandbag stopped and the trapdoor shut: the levers’ hit types go back to 2, and the levers can be clicked again.
The jail (WP-044)

Traced 2026-11-15 for WP-044.

A clickable’s depth. The default path builds a clickable with 0x408DC0(object, 1, -1), and so do the classes that keep one. It calls 0x401000 with -10000, which sets the depth from the object’s priority= through 0x40AD50: -1 when there is none. A clickable’s +0x7C gives it the open hand with the arrow (0x4015F0, its vtable +0x18); 0x401770 clears it.

ROOM_P07_Jail (0x412E60, vtable 0x45E910; music 5, no opening):

Address What it does
0x412EC0 (+0x08) Reset, after the base reset: +0xB8, +0xBC, +0xCC and +0xCF cleared
0x413690 (+0x18) The blanket a requires object under layer 0 at depth 1, hidden once taken (0x407060). Hotspots 2 and 4 clickables, as the default path builds them. The hole and the stool sprites under layer 0 at depths 0 and 500, hidden unless BedBroken
0x413600 (+0x0C) Entry, before the base entry: what was under way is cleared. With BedBroken, the bed is hidden without its open hand, and the hole and the stool are shown. With +0xCF, the room goes straight to ROOM_P14_Tunnel_Dark (game vtable +0x04), and the base entry doesn’t run
0x413310 (+0x10) Leave, after the base leave: a blanket clicked goes in the toolbar, and a bed clicked sets BedBroken
0x413470 (+0x14) The room’s event. See below
0x412EF0 (+0x04) The tick, after the base tick. See below
0x413370 (+0x24) The exit handler. See below
0x4138B0, 0x4138F0 (+0x1C, +0x20) BedBroken saved and read, after the base keys

The event (0x413470). Every scene here holds input.

The tick (0x412EF0). Each step waits for Shaggy or Scooby to be idle.

  1. +0xBC: Shaggy is hidden, and the room goes to the dark tunnel.
  2. The blanket: Shaggy plays OBJ_SHAGGY_P07_TAKE_BLANKET (0x406130), and the blanket is hidden. Idle again, he puts OBJ_INV_BLANKET in the toolbar (ANIM_TOOLBARBLANKET, ANIM_CURSORBLANKET), and Jail_Cell.150C_ plays.
  3. The bed: Scooby plays OBJ_SCOOBY_P07_BREAK_BED, with the sound Scooby_Breaks_Bed. Idle again, the bed is hidden without its open hand, the hole and the stool are shown, and BedBroken is set.
  4. BedBroken without +0xCF: Jail_Cell.150D_, with +0xCF as its done flag.
  5. +0xCF: Shaggy plays OBJ_SHAGGY_P07_LEAVE_JAIL in front of the stool (its depth + 1). Scooby is hidden, and the sound Scooby_Shaggy_Fall_In_Hole is asked for. On Shaggy’s step 6 he goes behind the stool (its depth - 1). Idle again, the room goes to the dark tunnel, and Shaggy is hidden.

While steps 2, 3 and 5 are under way, input is held and the cursor faded.

The two sounds aren’t on the disc. 0x434DC0 looks a name up as it is, and Sfx.dat names them Scooby.Breaks.Bed and Scooby.Shaggy.Fall.In.Hole, with dots. The original logs “Failed to locate id” and plays nothing.

The exit handler (0x413370) never calls the default one. It acts only when all four of these hold:

It then sets +0xBC, and Shaggy plays OBJ_SHAGGY_P07_LEAVE_JAIL. The jail has no exit object, so on this disc the handler runs only when something else asks for it.

The General Store (WP-045)

Traced 2026-11-15 for WP-045.

A file’s volume. 0x434B60 sets the volume of the sound file that holds a clip (the file’s +0x18, through 0x43C940), as a percent of each clip’s own. It applies to that clip if it is playing, and to every clip the file plays after. 0x434BA0 gives the seconds a clip has played: the play cursor over the bytes per second (0x4451F0). 0x434CE0 is true when it isn’t playing.

ROOM_P10_Front_Of_General_Store (0x40F6E0, vtable 0x45E78C; music 2):

Address What it does
0x40F740 (+0x08) Reset, after the base reset: +0xC0 and +0xC4 cleared
0x40F890 (+0x30) The opening. While MoaningActive it is Front_of_General_Store.110A_, unplayed. Otherwise there is none, and its played flag stays as it was (0x40C6B0)
0x40FA40 (+0x18) The clock a requires object (0x408C80 with -1, as the default path builds one). The faceless clock a sprite under layer 1 (game +0x5C) at depth 1
0x40FB70 (+0x0C) Entry, after the base entry. With the hammer used, OBJ_INV_CLOCK goes in the toolbar (ANIM_TOOLBARBROKEN_CLOCK, ANIM_CURSORBROKEN_CLOCK) and the clock is hidden. Otherwise the faceless clock is hidden. From Street 2, Fred walks in down and left. +0xC8 is cleared
0x40F8D0 (+0x14) The room’s event. See below
0x40F760 (+0x04) The tick, after the base tick. See below

The event (0x40F8D0). Every scene here holds input.

The tick (0x40F760):

  1. +0xC0, no scene and the opening done: the gang comes back to the same room through movie 2 (game vtable +0x08). Movie 2 breaks the clock.
  2. +0xC8: Scooby is scared (state 0x11) as soon as neither of hotspot 1’s sounds, SFX_P10_FRONT_OF_GS_HOTSPOT1A and 1B, is playing in its first half second.

ROOM_P15_General_Store_Interior (0x4125D0, vtable 0x45E8D0; music 5, no opening):

Address What it does
0x412630 (+0x08) Reset, after the base reset: +0xC4 cleared
0x412BD0 (+0x18) The snake a requires object, as the default path builds it. With the blanket used, Snake_Idle plays at 93% of its file (0x434B60), and the snake is on ANIM_P15_GSI_SNAKEBLANKET, looping, at depth 500. Otherwise it waits on ANIM_P15_GSI_SNAKEIDLE, stopped. The lantern a requires object under layer 0 until it has been taken
0x412DF0 (+0x0C) Entry, after the base entry: +0xC8 to +0xD0 cleared. From the back alley, Shaggy walks in down and left
0x4129B0 (+0x10) Leave, after the base leave: a lantern clicked goes in the toolbar
0x412A00 (+0x14) The room’s event. See below
0x412650 (+0x04) The tick, after the base tick. See below

The event (0x412A00). Every scene here holds input.

The tick (0x412650):

  1. The snake stopped: Snake_Idle, and ANIM_P15_GSI_SNAKEIDLE looping.
  2. +0xCD: Fred waits until he is idle, no scene plays and the opening is done. Then he plays OBJ_FRED_P15_TOSS_BLANKET. Idle again, he leaves the snake under the blanket at depth 500, and Snake_Idle’s file goes to 93%. Input is held until then, and freed after.
  3. +0xCF: Fred waits as in step 2. Then the lantern is hidden, Fred_Takes_Lantern is asked for, and he plays OBJ_FRED_P15_GRAB_LANTERN. On his step 62 the lantern goes in the toolbar (ANIM_TOOLBARLANTERN, ANIM_CURSORLANTERN). Idle again, he says Click_On_Lantern_. Input is held until then.
  4. +0xCC on the snake’s step 0: Snake_Idle stops, Snake_Attack plays, and the snake strikes once (ANIM_P15_GSI_SNAKEANIM).

Fred_Takes_Lantern isn’t on the disc under that name: Sfx.dat has Fred.Takes.Lantern. Like the jail’s two, it plays nothing.

The Sheriff’s office (WP-046)

Traced 2026-11-15 for WP-046.

ROOM_P02_Sheriffs_Office (0x4163A0, vtable 0x45E9D0; music 5):

Address What it does
0x416680 (+0x30) The opening, unplayed: Sheriffs_Office.140A_ while MoaningActive, otherwise none
0x416C30 (+0x18) The door a requires object under layer 0 at depth 1. With the oil can used it is on ANIM_P02_DOOROPEN, or ANIM_P02_DOORBED_GONE once the blanket has been taken. The way into the jail isn’t built once the blanket has been taken. Hotspots 1 and 4 are clickables, as the default path builds them
0x416400 (+0x0C) Entry, after the base entry: +0xB8 to +0xBF cleared, the two Shaggy sounds preloaded, and the snacks needed (+0x24) set to level + 2
0x416AA0 (+0x14) The room’s event. See below
0x4166C0 (+0x04) The tick, after the base tick. See below
0x416470 (+0x24) The exit handler. Into the jail with fewer snacks given here (+0x88) than level + 2, it plays 150A_, 150A2_ or 150A3_ by level, held, and the snack box flashes (0x40D4D0). Otherwise, and for every other exit, it calls the default handler

The event (0x416AA0):

The tick (0x4166C0). Shaggy’s steps wait until he is idle, no scene plays and the opening is done.

  1. +0xC0 and hotspot 4 stopped: the sandwich (+0xBE).
  2. The sandwich: Shaggy plays OBJ_SHAGGY_P02_SANDWICH, with Global.Idle.SHAGGY_S1_E. Idle again, input is free. Input is held until then.
  3. The door (+0xBC), with input held until Shaggy is idle again.
    • With the oil can used, and the blanket not yet taken: Shaggy plays OBJ_SHAGGY_P02_OIL_DOOR, with Shaggy.Oils.Door, and the door is hidden. Idle again, the door shows on ANIM_P02_DOOROPEN, and input is free.
    • Otherwise: Shaggy plays OBJ_SHAGGY_P02_NO_OIL_DOOR, with Shaggy.Shakes.Bars. Idle again, 150A1_, 150A12_ and 150A13_ play in turn, not held.
The back alley (WP-047)

Traced 2026-11-15 for WP-047.

ROOM_P19_Back_Alley (0x40E7A0, vtable 0x45E70C; music 5, opening Back_Alley.350A_):

Address What it does
0x40EAC0 (+0x18) Hotspots 3 and 1, as the default path builds them (0x408DC0 with 1, -1)
0x40E800 (+0x0C) Entry, after the base entry. Back_Alley.Snakes_Distant plays, and the snacks needed (+0x24) are level + 2. From the General Store, Fred walks in up and left (0x405EE0). From the bank vault or the open safe, Shaggy walks in up and right (0x405E60)
0x40EBC0 (+0x04) The tick, after the base tick. See below
0x40E8B0 (+0x24) The exit handler. Into the store with fewer snacks given here (+0x88) than level + 2, it plays 350B_, 350B2_ or 350B3_ by level, held, and the snack box flashes. Otherwise, and for the way to the vault, it calls the default handler

The tick (0x40EBC0):

  1. Hotspot 3 playing, on step 0, with a sequence ending in B: Back_Alley.HOTSPOT3B_ or HOTSPOT3B2_, by rand() & 1, not held. The B has one step, so this comes on each of its three ticks. The first starts the line; the scene playing stops the other two.
  2. Hotspot 1 on its step 8: Daphne and Scooby are scared (state 0x11).

The ways in use the walk-in entry points by direction: 0x405E60 UR, 0x405EA0 DR, 0x405EE0 UL, 0x405F20 DL. Each keeps the character’s depth (+0x9C) and puts it 50 behind or in front.

The post office (WP-048)

Traced 2026-11-15 for WP-048.

ROOM_P08_Post_Office (0x413930, vtable 0x45E950; music 2):

Address What it does
0x413A00 (+0x08) Reset, after the base reset: +0xB8 and +0xBC cleared, and OldRoomName set to ROOM_P03_Street1
0x413F40 (+0x18) The holes are exits at depth -1000 (0x408D20). The dark one is hidden with TunnelLit (game +0x275), the lit one without it. Hotspot 2 is a clickable under layer 1 (game +0x5C), and hotspot 3 is one as the default path builds it
0x413EE0 (+0x2C) The opening, unplayed: Post_Office.160A_ while MoaningActive, 160D_ up from the dark tunnel. Otherwise there is none, and its played flag stays as it was
0x413A30 (+0x0C) Entry, after the base entry. The room come from is OldRoomName, unless it is the dark tunnel or Street 1. From the dark tunnel, Fred, Daphne and Velma are hidden, and hotspots 2 and 3 lose their open hand. Otherwise, before the lantern has been had, Scooby, Shaggy and Velma are hidden. OldRoomName is then the room come from
0x4140F0 (+0x14) The room’s event. Hotspot 3 gives P08_POST_OFFICE_HOTSPOT3A_, 3B_ and 3C_ in turn. Hotspot 2, moved on to its C, gives Post_Office.160X4_. Both are held
0x413BC0 (+0x24) The exit handler. See below
0x414270 (+0x04) The tick, after the base tick. See below
0x4141D0, 0x414210 (+0x1C, +0x20) OldRoomName saved and read, after the base keys

The exit handler (0x413BC0). Down to the lit tunnel without the lantern used, the gang stays, and a line plays, held:

Otherwise, and for the way to Street 1, it calls the default handler.

The tick (0x414270):

  1. 160C_ over: Fred waits until he is idle, no scene plays and the opening is done. Then he plays OBJ_FRED_P08_HOLD_LANTERN, with Fred.Tosses.Lantern. Input is held from the scene’s end. On his step 15 the dark hole is hidden and the lit one shown, and the room goes to the lit tunnel (game vtable +0x04).
  2. The dark hole clicked (its +8) with ANIM_CURSORLANTERN as the cursor: the lantern is used up and the arrow is back. TunnelLit is set, and 160C_ plays, held, with +0xD0 as its done flag.
The railroad station (WP-049)

Traced 2026-11-15 for WP-049.

ROOM_P09_Railroad_Station (0x4207C0, vtable 0x45EE28; music 2):

Address What it does
0x420820 (+0x08) Reset: +0xC0, +0xC1, +0xC4 and +0xC8 cleared. It doesn’t call the base reset (0x40CD20)
0x4213C0 (+0x18) OBJ_GUMMY* and OBJ_DONKEY* aren’t built until Artie has been met, and the way to the chase isn’t built until Gummy’s clue has been given. Hotspots 2 and 3 are clickables, as the default path builds them
0x4212C0 (+0x2C) The opening, unplayed: Railroad_Station.Intro_, or 110A_ while MoaningActive. With the whistle puzzle solved (GummyPuzzle, game +0x274) and his clue not yet given, Gummy’s next hint instead. Back from the station itself, 220DP_
0x4210F0 (+0x0C) Entry, after the base entry. See below
0x421070 (+0x14) The room’s event: hotspot 2, moved on to its B, HOTSPOT2A_; to its C, HOTSPOT2B_. Held
0x420840 (+0x04) The tick, after the base tick. See below
0x421680 Gummy’s next hint: 220C_, 220C2_, 220C3_ in turn (+0xC8). With the dentures had, it goes back to 220C_ after 220C2_
0x4119E0 The room’s own name (+8)

Entry (0x4210F0):

  1. Before the puzzle, with Artie met, Gummy SLEEPS, looping (0x406210).
  2. After it, the donkey’s hit type is 0.
  3. With his clue given, Gummy and the donkey stand 100 further right (their +0xC).
  4. Back from the station itself, Gummy’s clue is given (game vtable +0x44) and +0xC0 is set.
  5. From Street 2, Shaggy walks in down and right (0x405EA0).

The tick (0x420840):

  1. Gummy clicked (its +8, on the release):
    • With the dentures, the puzzle solved: the dentures are used up and the arrow is back. The room’s exit handler takes the gang to the station itself, with 220D_ and movie 30.
    • With the arrow, before the puzzle: the exit handler takes the gang to ROOM_Gummy.
    • With the arrow, after the puzzle: his next hint, held, until his clue has been given. After that, Global.1000GA_, GB_ or GC_ (rand() % 3), not held.
  2. No scene, the opening done, Gummy idle, and +0xC0: Gummy plays GIVES. +0xC1 is set, and input is held.
  3. +0xC1, with Gummy idle, looping, or not here: the thanks (Global.Thank_You_) take the gang to ROOM_Suspect_Chooser.
  4. The donkey clicked with the arrow: to ROOM_Gummy.
  5. Hotspot 3 on step 8 of its C: Scooby is scared.
Gummy’s whistle puzzle (WP-050)

Traced 2026-11-15 for WP-050.

ROOM_Gummy (0x40FC40, vtable 0x45E7D0; music Gummy.Music, which isn’t on the disc; opening Gummy_Puzzle.220B_):

Address What it does
0x410760 (+0x18) The bells are clickables without the ghost (0x408DC0 with 0, -1): bell 1 at depth 4, the others at 10, each with 0x410A00 as its callback. Gummy is a requires object on his snore, stopped, hit by his cels. The donkey is a sprite at depth 5, playing its idle once
0x4102C0 (+0x0C) Entry, after the base entry. See below
0x4109B0 (+0x14) The room’s event: Gummy clicked, with the bells free in state 3, sets +0xEC to 0 and +0xD8
0x410A00 A bell’s callback. See below
0x40FD10 (+0x04) The tick, after the base tick. See below

Entry (0x4102C0):

  1. Set-up: the toolbar slides off, the music file stops, and rand() is reseeded from the clock.
  2. The tune, unless the gang is back from the quit screen: one of the level’s three, by rand() % 3.

    Level Whistle Tune Bells’ notes
    0 Gummy.Whistle1a, 2a, 3a 87656, 77456, 88645 4 5 6 7 8
    1 Gummy.Whistle1b, 2b, 3b 7844345, 6665565, 4566554 3 4 5 7 8; then 4 5 6 7 8 for 2b and 3b
    2 Gummy.Whistle1c, 2c, 3c 76543454, 41414564, 456889864 3 4 5 6 7; 1 2 4 5 6; 4 5 6 8 9
  3. The rest:
    • +0xD8 is set, and +0x108 is 1000000 (never).
    • The whole tune will be played back.
    • The snore comes in 108 ticks, and the blink in (rand() & 7 + 3) * 36.
    • The state is 3 if the opening has played, 0 otherwise.

The tick (0x40FD10). A sound is over when it isn’t playing (0x434CE0).

A bell’s callback (0x410A00). While +0xD9 is set it does nothing. Otherwise the bell plays Gummy.Bell<its note>:

The saloon and Artie (WP-051)

Traced 2026-11-15 for WP-051.

ROOM_P12_Saloon (0x414430, vtable 0x45E990; music group 3; opening Saloon.360A_). Artie is gagged and in three chains. Three keys hide behind three of six hotspots; each one used takes a chain off in ROOM_Artie.

Its fields:

Address What it does
0x414490 (+0x08) Reset, after the base reset: the table above, the moan at 36, and three keys hidden by rand() % 6
0x414FC0 (+0x18) Placements. See below
0x414540 (+0x0C) Entry, after the base entry. See below
0x414910 (+0x04) The tick, after the base tick. See below
0x415660 (+0x14) The room’s event. See below
0x415C30 (+0x24) The exit handler. See below
0x4148D0 (+0x34) Idle chatter: with Artie free (+0xC4 = 0), Saloon.1100C_ (its rand() & 1 always passes)
0x414820 (+0x10) Leave, after the base leave: ClickableOpen is whether each hotspot’s state ends in B
0x416000 / 0x4161D0 (+0x1C / +0x20) The keys: ArtieMasked, ArtieChained (%i, 0x40C5E0 / 0x40C670), ShaggyPiano, BullRidden, ClickableOpen0–5; once ungagged, KeyHidden%i and KeyVisible%i for each hotspot

Placements (0x414FC0). The first claim builds a RENDER_ENTITY: a 640 × 480 buffer sprite (0x4370D0) under the first layer (game +0x58) at depth −1001. Everything below goes under it, but the bull:

Entry (0x414540):

  1. Walk-ins: from the hotel hall, Fred walks in UR; from Street 3, Daphne UL; from the stage, Velma U.
  2. Artie:
    • chained, he is in his chains: the set _<n> (0x406230, the character’s +0x60) and idle, OBJ_ARTIE_<n>;
    • gagged, OBJ_ARTIE_MASKED (0x406190: the object in +0x8C, state 0xE, ANIM_ARTIE_MASKED1 looping);
    • ungagged, at depth −1.
  3. Free, and not yet a clue owner:
    • Saloon.360C_ (rand() % 3 = 0) or 360C3_, held;
    • his clue (game vtable +0x44), and Artie met (0x40A8B0);
    • +0x132.
  4. The rest:
    • the keys showing are shown at depth 1;
    • the nickel used and the pump handle never had, the pump handle goes in a slot;
    • the snacks needed (+0x24) are the level + 2.

The tick (0x414910):

  1. The moans: +0xBC counts down every tick. Below 1 with MoaningActive, Saloon.Moan.1–4 (rand() & 3), and the next in (rand() % 10 + 5) × 36.
  2. The piano stopped with +0xC0: music group 3 (0x40AA10).
  3. Artie clicked (game +0x20 & 4 and his +8) with the arrow:
    • gagged, +0x140;
    • chained, Saloon.360D2_, held;
    • free, Saloon.1601_, 1701_ or 1801_.
  4. Artie idle:
    • with +0x132, he plays GIVES (0x4061F0) and input is held (+0x133);
    • idle again, Global.Thank_You_ and ROOM_Suspect_Chooser, through the room’s own exit handler.
  5. A key found: shown at depth 1 once its hotspot stops, with Saloon.360G_, 360G2_ or 360G3_.
  6. The gag (+0x140), input held. With Velma idle, no scene and the opening done, she plays OBJ_VELMA_P12_UNGAG_ARTIE (0x406130) and +0x141 is set. Then:
    • her step 6: Saloon.360D_1_VELMA plays once (+0x142), and the idle timer starts again;
    • her step 33: Artie is idle (ungagged), and MoaningActive is off;
    • Velma idle: Artie is ungagged (+0xC1), hotspots 3–8 get the open hand (0x401760), and Saloon.GAG_GONE_ plays, held.
  7. Shaggy clicked with the nickel: the bull’s event with success, and the arrow.

The room’s event (0x415660):

The exit handler (0x415C30). Anywhere but ROOM_Artie:

Otherwise the default handler.

ROOM_Artie (0x40D4E0, vtable 0x45E68C; music group 3; no opening). Field +0xB8 is ChainsLocked, 3 at reset (0x40D540); +0xBC the chains; +0xC0 a countdown.

The Sheriff’s quiz (WP-052)

Traced 2026-11-15 for WP-052.

ROOM_Sheriff (0x416E20, vtable 0x45EA10; music group 5; no opening). Street 1’s class sends the gang here when the Sheriff is clicked before his puzzle is done. Its fields:

Field What it holds
+0xB8 CurrentQuestion: the page less 1, −1 for none
+0xBC the notebook
+0xC0–+0xCE Question0–14: answered
+0xD0–+0xDC the answers, A to D
+0xE0–+0xEC their sounds
+0xF0 the page’s sound
+0xF4 the sound waited for
+0xF8 the sound of what the mouse is over
+0xFC its countdown
+0x100 the next page once the sound is over
+0x104 the state: 0 the page, 1–4 its answers, 5 free
+0x108 Street 1 once the sound is over
+0x109 a wrong answer

graphics_AnimSprite_Play(s, a, b, c) (0x430A80) is graphics_AnimSprite_Start(s, b, c, a). Here it is always called with mode 0, so it shows step a, stopped. The notebook and the answers have three such steps: 0 at rest, 1 lit up, 2 pressed.

Address What it does
0x416E80 (+0x08) Reset, after the base reset: nothing answered, +0xB8 −1, the sounds none
0x417530 (+0x18) Placements. OBJ_SHERIFF_NOTEBOOK a sprite under the first layer (game +0x58) at depth 0, looping. Each of the four OBJ_SHERIFF_ANSWERS1 (kept by its sequence’s letter) a requires object (0x408C80 with −1) at depth 10, stopped on step 0, its callback (0x402FF0) the room’s vtable +0x40 through 0x4047F0. The exit back to Street 1 is the default path’s
0x417220 (+0x0C) Entry, after the base entry: the toolbar hidden (0x407CC0); +0x108, +0x109 clear; with no question, one drawn (rand() % 15 until it isn’t 2, 5 or answered); then the page (0x417300)
0x417300 The page. With the level’s count answered (level + 2), page 3, the last. The notebook on ANIM_SHERIFF_NOTEBOOKPAGE<page> (looping), its sound Sheriff.NOTEBOOKPAGE<page>. Each answer to the object OBJ_SHERIFF_ANSWERS<page> (0x4313C0) on ANIM_SHERIFF_ANSWERS<page><letter>, stopped on step 0, its sound Sheriff.NOTEBOOKPAGE<page>_<letter>. State 0. Page 3 has no such object: its answers show nothing
0x416ED0 (+0x04) The tick. See below
0x4176E0 (+0x40) An answer clicked. See below
0x4172C0 (+0x10) Leave, after the base leave: the level’s count answered sets SheriffPuzzle (game +0x26C)
0x4179B0 / 0x417A80 (+0x1C / +0x20) The keys: CurrentQuestion (%i, atoi), Question0–14

The tick (0x416ED0). Input is held (game +0x24) and the cursor fades every tick. The rest waits until the sound waited for (+0xF4) is over (0x434CE0):

  1. +0x108: to ROOM_P03_Street1 (game vtable +0x04).
  2. +0x109: Ewan.NOTEBOOKPAGE_ANSWER_WRONG_2, then +0x108. The disc’s line is Sheriff.NOTEBOOK_ANSWER_WRONG_2, so nothing plays.
  3. +0x100: the next page (0x417300).
  4. By state:
    • 0: the page’s sound, the page on step 1.
    • 1–4: the page and the answers on step 0, the answer read on step 1, and its sound.
    • 5: input free, the cursor shown. What the mouse is over (its +8) is on step 1, the rest on step 0. Its sound goes in +0xF8 and +0xFC is 9. While that sound isn’t playing, +0xFC counts down; at 0, the SFX and speech files are stopped (0x434E10), the sound plays, and +0xFC is 72. Over nothing, it is stopped.
  5. The level’s count answered: +0x108.

An answer clicked (0x4176E0, through its requires object’s click 0x402F20 with the arrow). The answer goes to step 2.

Each line’s digit comes from 0x417B70. It draws rand() % 9, then rand() modulo the last draw, and takes the first digit (draw + 1) the disc has, or none. The SFX and speech files are stopped before the line.

The horseshoe corral (WP-054)

Traced 2026-11-16 for WP-054.

ROOM_P30_Horseshoe_Corral (0x41DA10, vtable 0x45ED00; music Horseshoe_Corral.Music; no opening) is a game of horseshoes: Scooby and Rascal pitch ten each at three pegs. The room’s class has no tick (its +0x04 is the base’s). The game is three sprite classes with updates of their own (their vtable +0x0C). The tree tick (0x431130) calls each right after the sprite’s player, front to back.

The room’s fields:

Address What it does
0x41DD00 (+0x18) Placements. OBJ_HC_SCOOBYPILE and OBJ_HC_RASCALPILE sprites under the first layer, stopped, at depth 3 and 0. By their sequence: ANIM_HC_METERA and ANIM_HC_METERARROW are not built, only their places kept; ANIM_HC_COUNTERBOX a sprite at depth −10000, looping; ANIM_HC_COUNTERNUMBERS two sprites under the second layer (game +0x5C) at depth −9999, the left one the tens (a third is an error, not claimed). The exit back to Chase B5 is the default path’s
0x41DA80 (+0x0C) Entry, after the base entry. See below
0x41DCE0 (+0x10) Leave, after the base leave: the counter’s numbers forgotten
0x41E140 A throw over. Scooby’s: Rascal’s turn. Rascal’s: Scooby’s, or, with Scooby’s pile on its step 10, ROOM_P28_Chase_B5 (game vtable +0x04)
0x41E1A0 A snack (0x407E00: the inventory’s +0x30 plus 1, at most 99, and the snack box), and the counter on the snacks’ tens and ones

Entry (0x41DA80):

  1. Set-up: the toolbar is hidden (0x407CC0).
  2. The actors:
    • Scooby (0x41E290, 0x78 bytes): OBJ_HC_SCOOBY idle, looping, at depth 2, with the meter (OBJ_HC_METER on ANIM_HC_METERARROW, stopped, at depth −10, at the arrow’s place).
    • Rascal (0x41D770, 0x74 bytes): OBJ_HC_RASCAL, his head (RASCALHEAD_IDLE, once) at depth −1 and his body (RASCALBODY, looping) one behind it.
    • The pegs: OBJ_HC_PEG1–3, idle, at depth −100.
  3. Sound: the Horseshoe_Corral sound section is preloaded.
  4. The counter shows the snacks.
  5. Scooby’s turn, unless his pile is on its step 10; then Chase B5.

Scooby (vtable 0x45ED40; +0x5C his state, +0x68 the meter, +0x6C the strength, +0x70 his horseshoe landed, +0x74 the meter’s way):

State Entered (0x41E540) His update (0x41E3A0)
0 Idle, looping —
1 The meter once forward from its step, at 9 − 3 × level ticks a step The meter stopped: once back (mode 4), then once forward, at that speed. The button held (game +0x20 bit 1): the meter stopped, its step the strength, state 2
2 +0x70 clear, SCOOBYTHROW once His step 2: state 3. Then as state 3
3 His pile one step on His step 15: a horseshoe at his strength, state 4
4 — Stopped: state 5
5 The meter stopped, SCOOBYWATCH once Stopped, with +0x70: state 0, and the throw over

Rascal (vtable 0x45ECD8; +0x5C his state, +0x68 a countdown, +0x6C his horseshoe landed):

State Entered (0x41D920) His update (0x41D860)
0 — His head stopped: a countdown of rand() % 60 + 48; run out, his idle once again
1 — His head stopped: state 2
2 +0x6C clear, RASCALHEAD_TOSS once His head’s step 7: state 3
3 A horseshoe at rand() % 9 + 1, his pile one step on His head stopped: state 4
4 RASCALHEAD_IDLE once His head stopped, with +0x6C: state 0, and the throw over

A horseshoe (0x41D210, vtable 0x45ECB0) is a sprite under the first layer at depth −2, playing once:

Its update (0x41D5B0):

  1. Landed (stopped), on a peg: it becomes the peg with the horseshoe on it (OBJ_HC_PEG<n>, its HORSESHOE_HIT or RASCAL_HIT once), and Horseshoe_Corral.Rascal.Peg<n>.Hit plays, Scooby’s ringer too (the disc’s Scooby.Peg<n>.Hit sounds are never used). Then a countdown of 36.
  2. Stopped, with the countdown run out:
    • Scooby and Rascal are told (0x41E630, 0x41DA00);
    • a ringer of Scooby’s is a snack (0x41E1A0);
    • the sprite is marked done (+0x30), and the sweep after the walk (0x431190) deletes it. Corrected in WP-055: until then the fork kept each horseshoe in view.

Created during the tree walk, a horseshoe behind its thrower is reached in the same walk: its player runs that tick.

Pie Noon (WP-055)

Traced 2026-11-16 for WP-055.

ROOM_P32_Pie_Noon (0x41B840, vtable 0x45EC3C) is a pie fight on the saloon’s stage, until the clock chimes:

The audit’s 602 instructions are only the room’s own functions. Scooby, the ghost and each runner are sprites with updates of their own (vtable +0x0C), called in the tree walk. Each pie is a sprite the room’s tick moves.

The stage. The placements give it:

On entry, four edges run from the ghost’s row to Scooby’s. With gy the ghost’s row, the slopes are:

At a depth z, measured as a row, the edges are (0x41C980–0x41C9E0):

Edge At depth z
Left inner (z − gy) × +0xB8 + x₁
Right inner (z − gy) × +0xBC + x₂
Left outer (z − gy) × +0xC0 + x₀
Right outer (z − gy) × +0xC4 + x₃

The stage’s width at a depth is the inner edges’ gap.

The lanes (left end +0x124, right end +0x118, row +0x130):

Lane Ends Row
2, the back The first two start places The first’s
1, the middle The next two The third’s
0, the front The other two lanes’ ends, carried on The fifth’s

On Showdown the front lane runs from −553 to 1017, well off the screen.

Address What it does
0x41C190 (+0x18) The placements and the sprites. See below
0x41B8E0 (+0x0C) Entry, after the base entry. See below
0x41C130 (+0x10) Leave, after the base leave: the places, the gang, Scooby and the counter forgotten
0x41BF10 (+0x04) The tick, after the base tick. See below
0x41CC40 One of the gang on: a lane drawn (rand() % 3). If it has been free over 10 ticks, a runner, running as the lane says (0 left, 1 right, 2 either, rand() even for right). The lane’s time goes to 0 and its way to the runner’s
0x41CA00 A pie in the first of ten free slots (+0x154)
0x41CA90 Tests a pie against the runners: Shaggy, Fred, Daphne, Velma
0x41CB50 A snack (0x407E00), and the counter
0x41CD20 Scooby may throw: lane 0’s time is not below 0, and there is no chime

Placements and sprites (0x41C190). Placements, none of them built:

Built:

Entry (0x41B8E0):

  1. The slopes and the lanes as above.
  2. The ghost and Scooby.
  3. The lanes: each either way (2), with a time of −216.
  4. The counter on the snacks.
  5. Sound: Pie_Noon.Music, then Pie_Noon.Intro.
  6. The overlays: FR and FL one in front of the middle lane’s row; BR and BL one in front of the back lane’s.
  7. The clock: the intro set (+0x1AC) and the clock’s step kept (+0x1C4). The next sound is a tick (+0x1B8).

The tick (0x41BF10), after the walk and its sweep:

  1. The cursor fades.
  2. The gang: each of Velma, Fred, Daphne and Shaggy not on may run on (0x41CC40).
  3. Hit countdowns: each runner’s (0x41A4B0), Shaggy, Daphne, Fred, Velma.
  4. The pies: each updated (0x41B2C0); those done deleted. A kept one selects its frame (0x4309C0).
  5. Lane times: each goes up 1; past 100 a lane is either way again.
  6. The clock:
    • In the intro, once lane 0’s time reaches 0, the clock runs from step 1 at 36 ticks a step.
    • After it, back on step 0, it stops and Pie_Noon.Clock_Chime plays.
    • Each step it changes plays Clock_Tick or Clock_Tock, in turn.
  7. The chime over (0x434CE0): ROOM_P12_Saloon.

On Showdown the clock has 60 steps. The intro is 216 ticks, and the chime comes at tick 216 + 36 × 59 = 2340. The level changes only the step the clock shows during the intro.

A runner (0x419C50, vtable 0x45EBA0; +0x5C its state, +0x68 its name, +0x70 running right, +0x74 its lane, +0x78 its speed, +0x7C its target, +0x80 its hit countdown, +0x84 its hit ticks, +0x88 its Hit.X played) is a sprite under the first layer:

Its hit test (0x419EB0) passes three tests in turn:

  1. The pie is within a tenth of the stage’s width (at the lane’s row) of that row.
  2. The pie is inside its frame’s first cel.
  3. The pie is on its pixels: a hit.

Inside the cel but off the pixels, while it hasn’t been hit, it plays Pie_Noon.<NAME>_Miss.

A hit (0x41A110):

The ghost (0x41A550, vtable 0x45EBDC; +0x5C its speed, +0x60 a countdown, +0x68 its state, +0x6C facing right, +0x70 hidden, +0x74 its smoke, +0x78 and +0x7C the throws and hits to its next line):

In each state, “side” is the way it faces:

State Entered (0x41AA40) Its update (0x41A650), after deleting a stopped smoke
0 Shown; IDLE_<side>, looping; 25 ticks Run out: rand() % 7. 0 → 5; 1–2 → 4; 3 → 6 (if no smoke is up, else 2); 4–6 → 2
1 HIT_<side>, looping; 15 ticks. Ghost_Hit restarted. A Good_Job.<1-8> line every hit Run out: rand() odd 4, else 2
2 Scooby walking (state not 0 or 1) and the intro over: THROW_<side>_TO_<other> once, turned. Otherwise as 5 Its step 2: a pie from its place, state 3, Ghost_Throw, and every 5–9 throws (the first at once) a Lookout.<1-3> line. Then as 3
3 — Stopped: 0
4 RUN_<other>_TO_<side>, looping Along its row. Past its end: rand() even 2, else 5. Otherwise 1 in 90: 0
5 TRANS_<side>_TO_<other> once, turned Stopped: rand() odd 0, else 4
6 Smoke (OBJ_PIE_NOON_SMOKE on SMOKECYCLE once, under the first layer, a row in front) at its place; Smoke_Cycle The smoke’s step 5: 8
7 Somewhere along its row (rand() / 32767), then as 6 The smoke’s step 5: 0
8 Hidden; 20 ticks Run out, and no smoke: 7

Its hit test (0x41A9D0): shown, and on its pixels.

A pie (0x41B0F0, vtable 0x45EC0C; +0x60 its state, +0x64 across, +0x68 its depth as a row, +0x6C its size, +0x70 thrown by the ghost, +0x74 the runner slot it hit):

Its update (0x41B2C0):

  1. Landed: once its sequence stops, it is done. Until then, a runner it splatted on keeps a countdown of 12 (0x41A4D0).
  2. Flying:
    • It moves a tenth of the stage’s width at its depth: back if it is Scooby’s, forward if it is the ghost’s.
    • Its step grows while a fifth of the width is under its size (Scooby’s) or over it (the ghost’s), up to 9.
    • Its depth is its row.
  3. In front of Scooby’s row: it is tested on Scooby’s pixels (0x41D160) at its x, and a quarter and a half of its size either side.
    • A hit (0x41D1B0): his HIT_<L|R> once and Scooby_Hit; the pie shows PIEG_HIT once, one behind him.
    • Otherwise: done.
  4. Behind the ghost’s row: on the ghost, the ghost is hit, a snack (0x41CB50), and PIEHIT3 once, one in front of the ghost. Otherwise it is done.
  5. Between the two: the runners in turn. A hit splats:
    • The sound: Pie_Noon.Splat.<n>, from a global (0x475F08) that goes 0 to 4 in turn. The old value is pushed before the increment.
    • The sequence: PIEHIT<lane + 1> once.
    • Its depth: two in front of the runner, or two behind for a ghost’s pie.

Scooby (0x41CD50, vtable 0x45EC7C; +0x60 a press used, +0x64 his state, +0x68 facing right, +0x6C his throw’s number):

State His update
0 (hit) Stopped: LICK_<L\|R> once and Scooby_Lick, state 1
1 Stopped: his walk for his side, stopped, state 3
2 (thrown) Stopped: turned, his walk for the new side, state 3
3 There: stopped. Else 15 a tick at most, his walk restarted when stopped, from its step, a step a tick (left forward, right back). Then, a press not used and allowed (0x41CD20): a pie from his place, the press used, THROW_L_TO_R (or R_TO_L) once, state 2, the next of throws 1–3 and Scooby_Throw.<n>

The tree’s sweep (0x431190) runs after the walk each tick, front to back. It selects each sprite’s frame (0x4309C0) and deletes each sprite marked done (+0x30) with its subtree. So “paused” in the walk’s row above means done: a runner past its lane’s end is gone before the draw.

A step past the last. A pie’s step can go one past its sequence’s last (PIETHROW and PIEG_THROW have 9). 0x4309C0 and 0x41B2C0 read it as any other: the frame reference is the next sequence’s step count. On Showdown, Scooby’s pie shows frame 9, a 3 × 5 speck, for its last few ticks.

Deterministic asset-naming rule for WP-002 hand-off

Confirmed: the WP-008 §Notes naming rule — entry_<index>_<sanitized_name>.png, sanitization preserving uppercase verbatim and replacing anything outside [A-Za-z0-9_] with _ — applies cleanly because every name observed in the cross-check matched the WP-003 convention already. Three worked examples directly from the catalog:

Raw name (from WP-003 name table / object.ini) Sanitized Hypothetical probe_art.py output
OBJ_DAPHNE_A OBJ_DAPHNE_A entry_<idx>_OBJ_DAPHNE_A.png
OBJ_P40_TO_P33 OBJ_P40_TO_P33 entry_<idx>_OBJ_P40_TO_P33.png
ANIM_CURSORARROW ANIM_CURSORARROW entry_<idx>_ANIM_CURSORARROW.png

No name observed required actual sanitization (no spaces, no punctuation, no non-[A-Za-z0-9_] characters) — the engine names are already filename-safe. The sanitization function ships in parse_ini.py as a documented no-op identity on the observed inputs; the rule is recorded for forward-compat with names from any future WP that finds them.

Threading and event model

TBD — single-threaded? message-pump? worker threads?

Save-game format

TBD — deferred until Phase 4.

Follow-ups (out of WP-001 scope)

Things the WP-001 trace passed over, each a lead for a later work packet:


References