OpenTPW

Live balloon script timing (GUEST-017)#

Bounded static evidence read October 20, 2026 from the existing Windows v2.0 sp20_nocd/tp.exe, SHA-256 5472f97b5eb28f58b5a49f3a15f6f66adffa6b2625a623f503202c9696d1b805. No original executable was run; the regression fixtures are synthetic, not captured original images.

Contract#

Host integration#

BalloonSpriteState is presentation only. GuestSimulation creates, bursts and removes players at semantic producer sites without changing HasBalloon, BalloonLife or RNG call order. Expiration, prank and guard seizure burst; ride boarding removes. Pool return and TPI umbrella release keep their explicit extension boundary; umbrella release is not recategorized as TPW burst.

Players share BodySpriteClockMilliseconds and ScheduleBodySprites opportunities. The established fixed-60Hz sampled-clock and non-pooled guest-before-object order remain host extensions. Paused parks do not schedule; a lost park still schedules existing players. Rendering only places held balloons and reads their current output; it neither detects ownership transitions nor advances deadlines. Detached players have independent monotonic identities, survive new balloon creation and guest-id reuse, and retain the last placed geometry. If never placed, coordinates remain the creation defaults. The held-balloon bob/placement walk is unchanged. Drawing retains the live-guest interleaving by colour guest id, orders independent players within each group by monotonic player identity (an older detached burst before a replacement), then appends remaining players in creation order. Grouping is presentation only and does not reattach a burst when a guest id is reused; exact native slot-order overlap remains unqualified. The shared bob phase/accumulator remain renderer-local and are not saved, so own-save script/geometry history does not imply full pixel-identical presentation continuation.

Own saves carry an optional version1 Balloons presentation section: held and detached players, deadlines, visibility/program phase, identity counter and placed geometry. Capture and restore deep-copy; validation checks section version, sprite-clock presence, identity and owner consistency, finite geometry and program state. Restore does not replay gameplay events. This section is absent from both manual canonical and legacy gameplay hash projections, with no hash version or pin change.

Explicit residuals#

GUEST-017 is not retired. Round 11 (package W) applies a held balloon's script record (SavedSpriteScripts.Balloon: the idle program 1650 at its FRAME or JMP, the wake tick rebased on the host clock, visible flag) and runs the passes on the even substeps before the world update; the burst-slot records no guest names (a balloon bursting at the save) are not imported, and the corpus holds no balloon record. Old own saves without Balloons explicitly reconstruct held players at the saved host clock, with the history-reconstructed marker; no detached history is invented. Native render-epoch counter writers and full placement fidelity are not closed by this work. No framebuffer/original-media equivalence is claimed.

BalloonSpriteLifecycleTests cover strict boundary, signed wrap, one-step stalls, alpha10/halt/reclamation, create-burst-create, guard versus ride removal, frozen positions, JSON deep-copy/validation/legacy reconstruction, actual host pause/lost and batching without rendering, and presentation exclusion from gameplay hashes.

Source: docs/reverse/BALLOON-TIMING.md in the project repository.