WP-030: The options and credits rooms (Gen 1)

Status: ✅ Done (2026-11-14) Phase: 4 (game logic: room classes) Depends on: WP-022 ✅ (movies), WP-027 ✅ (room classes, the main menu), WP-028 ✅ (Sign In, the new game) Companion EC: none (inline checklist under Exit criteria) Estimated effort: Day Pre-flight: pre-flight-WP-030-2026-11-14


Result (2026-11-14)

The reference is wp030_ref.py, written from the trace. It reads the art and the sound indexes through the repo’s probes, and never runs the engine. It works the sliders in 32-bit floats where the slider keeps floats. At script level 3 the engine drives both rooms through their classes and logs 16 lines; the reference prints the same 16 on each title, none different.

Exit criteria:

  1. Against the reference: ✅ On both titles:
    • The sliders. The six markers are hidden and give three sliders: Showdown 363,232–551,232, 359,282–549,281 and 363,334–550,331. Volumes 256, 205 and 150 start the knobs at 1, 0.3359 and 0 (150 is under the original’s 0.7 floor).
    • Dragging. Each slider is dragged twice through six points along and across its line, ending past its right or its left end. The value and the knob’s place match at each point, and so do the volume and sample left on release (179 at the left end, 256 at the right). Phantom’s sample is Knights.Glass_Breaks.3.
    • Credits. Each of the ten villains gets movie 0x21–0x31 and another name none. Movie 58 comes next. In Showdown, the TLC, WB and TGI texts (3600, 1555 and 5800 pixels) change parts at ticks 1977 and 2931 and end at 6006, then Sign In; the game ends with the player gone, StartRoom ROOM_Difficulty and all 75 movies seen. A skip at tick 40 reaches Sign In at tick 41 with the player kept.
  2. Live, Showdown: ✅ The input played through test_script, minimized:
    • Options. The screen showed the three nails at 0.167 (ScummVM’s default 192). The music nail was dragged by its head to 0.699 (volume 233), and the sounds nail past its left end (179, with the splat). Both volumes were in the config file afterwards.
    • Credits. The TLC logo and text rolled while Shaggy and Scooby said Credits.1100A2_’s four lines; Escape went to Sign In.
  3. Build and diff: ✅

Deviations and gaps:


Goal

Give the last two front-end rooms their classes:

Background

The main menu’s Options button and the end of the story lead to rooms that still run the base class. The original’s classes (details in scooby-exe):

Scope

In scope (fork, engines/scooby/ only):

Out of scope:

Exit criteria

  1. Both discs match an independent reference line for line:
    • the markers, the sliders’ ends and the starting knobs;
    • six drags per slider, with the volumes and samples;
    • each villain’s movie;
    • the roll’s parts, ticks and ending;
    • a skip.
  2. Live, in Showdown:
    • the options screen;
    • a music knob dragged and a sound-effects knob dragged off its end, with the volumes saved;
    • the credits rolling with the gang’s lines, and a skip to Sign In.
  3. Scooby-only build: 0 errors and 0 warnings. The earlier checks and the room check are unchanged. The fork diff stays inside engines/scooby/, staged by name.

Deliverables