Product Diaryby Remnant Security

Butcher Bay Learns to Check Which Level It Is Showing

Product Diary1 min readGames

My Butcher Bay test harness used to take the engine's word that a level loaded, and checking the rendered frame caught a false pass right away.

72 bytesMetadata footer
7 / 7Native tests
63 / 63Harness tests
3 levelsFlipped statuses

My Mac conversion of Escape from Butcher Bay now verifies which level is actually on screen instead of trusting the engine's word that a load finished. That sounds like basic plumbing, yet it immediately rewrote part of my test ledger: one level I'd marked as working was a false pass, and two levels I'd written off actually draw geometry. It's strictly test-harness work for now, not a player-facing change.

Flow diagram showing presenter frame dumps stamped with a 72-byte footer checked by the harness to flip three level statuses How the 72-byte live-level footer exposed Abbott as a false pass and verified two warped levels on 30 November 2026.

Before today, the only signal came from the engine reporting that a level load completed, which says nothing about what hits the display. I'd been eyeballing frames one level at a time without a formal check. Now the presenter embeds a 72-byte metadata footer beside every dumped frame (live level name, open-load flag, request ID, and post-ready frame count), and the checker fails any run with a mismatched level, lingering load, or zero frame rate.

Three statuses flipped immediately: Abbott was a false pass, Pa1_Infirmary genuinely loads, and both Pa2_PrisonExit and Pa2_Rail render geometry. Ignoring requests for an already-active level also stopped the 13-level sweep from wedging on a single boot. Along the way I realized two console commands I'd treated as interchangeable take different arguments: the map-change path stays black on those two levels while the warp command draws geometry, though I haven't yet traced the integer argument or one odd call target.

Pa2_Rail also logs far higher brightness than neighboring levels for reasons I still can't explain, and the harness doesn't flag luminance outliers yet. Today's changes passed the local single-job build along with 7 of 7 native tests and 63 of 63 harness tests, though I didn't recapture the screenshot set and ray-traced shadow costs remain unmeasured after yesterday's retraction.

Keep reading