WP-006: Phantom archive format verification (Gen 1 vs Gen 2)

Status: ✅ Done (2026-11-13) Phase: 1 — Format Research (follow-on to the Engine Lineage finding in WP-005) Depends on: — Companion EC: — (single hex dump; no checklist needed) Estimated effort: 1 minute Pre-flight: pre-flight-WP-006-2026-11-13


Result (2026-11-13)

Verdict: Gen 1. Phantom’s TGIFILE.ART is the same format as Showdown’s, checked structurally rather than by its first four bytes. Its engine code is the same build.

Exit criterion Result
1. Verdict recorded in VISION and tgifile-art.md ✅ VISION’s Phantom bullet now cites WP-006 (the Engine Lineage table row already read TGIFILE.ART). tgifile-art.md engine-generation line and Cross-title verification bullet updated.
2. Hex bytes in the format spec ✅ A header comparison table in tgifile-art §Cross-title verification: 35 00 00 00 (53 rooms), object count at 0xD8, name count at 0x7A0, first record ROOM_P31_KST
3. Structural checks pass ✅ Went beyond the two checks: probe_art.py --verify passes in full on Phantom (5,810 cels, descriptors, name table, 8,304 sequence steps, 552 placements, mask partition)

Deviation from §Scope: the WP fixes the name table at 0x0F60 and the object count at 0x0118. Both offsets are Showdown’s, and WP-001 showed the header is count-driven: rooms, then objects, then names. Phantom has 53 rooms, so its object count sits at 0xD8 and its name count at 0x7A0. The checks followed the header. Likewise, 45 00 00 00 is Showdown’s room count, not a Gen 1 marker. Phantom opens with 35 00 00 00.

Beyond the WP:

Not done: the WP’s note to cache Phantom’s files was already met on 2026-06-03. No Phantom images or audio are committed. Renders stayed in the session scratchpad.


Goal

Determine whether Scooby-Doo! Phantom of the Knight’s archive format is Gen 1 (TGIFILE.ART, same as Showdown) or Gen 2 (MMFW wrapper, same as Jinx). The Rich Header data classifies Phantom as Gen 1 by toolchain (identical to Showdown’s Rich Header; corrected 2026-11-14: both are Visual C++ 6.0, game C++ build 8966, not “Linker 5.10 build 8047”), but the archive format is the other half of the generation classification and hasn’t been inspected on the Phantom disc yet.

Background

The Phase 1 Engine Lineage finding identified three format generations: Gen 1 (Showdown / Phantom predicted), Gen 2 (Jinx), Gen 3 (Case File #1

Phantom’s Rich Header matches Showdown’s (six more C++ objects). The prediction is that Phantom’s archives are therefore also Gen 1 TGIFILE.ART. But Phantom shipped in Aug 2001 and Jinx in Oct 2001 — TerraGlyph cut the Gen 2 format somewhere in that window, and we don’t know yet which side of the cut Phantom lands on. (Corrected 2026-11-14: August 2001 is the reissue disc’s date, not Phantom’s first release; its game data dates from September–October 2000. See scooby-exe §Gen 1 discs are 2001 reissues.)

Locking this in matters for:

Scope

In scope:

Out of scope:

Dependencies

Exit criteria

  1. The verdict is binary — Phantom is Gen 1 or Phantom is Gen 2 — recorded in both:
    • docs/01-VISION.md Engine Lineage table (the Phantom row’s “Archive” cell stops saying “unverified”)
    • docs/formats/tgifile-art.md Cross-title verification section (the Phantom bullet stops saying “predicted”)
  2. The hex bytes that produced the verdict are pasted into the appropriate format spec (tgifile-art.md if Gen 1, mmfw-container.md if Gen 2).
  3. If verdict is Gen 1: the two structural checks from §Scope (header layout per WP-003 corrected offsets + name-table sanity at 0x0F60) both pass, OR any deviation is documented as a “Phantom Gen 1.x variant” finding in tgifile-art.md.

Deliverables

Notes