Restore tutorial return placement and source terrain collision eligibility

This commit is contained in:
UnixNight committed 2026-10-25 01:30:09 -04:00
1 parent ca08c468ba
commit 8d60a68511
36 files changed
+991 -69

No files matched your search

+41 -8
View File
@@ -4,7 +4,40 @@
user-verified Windows rendering checkpoint into an interactive original lab and
jet pack tutorial flow. This is not a verified faithful complete scene or release.
## User-reported lab regressions
## RETURN placement and underground passage
Recovered and integrated the next lab checkpoint:
- TSK StoredVector is the departure root at Jimmy+9A8. Ordinary transitions
capture the live root; RETURN preserves it, restores Jimmy and Goddard to it,
retains destination STRT yaw and suppresses the initial STRT trigger once.
Fresh TSK loading does not imply pending RETURN. Pickup42AF00's separate
+1E38/+1E48 checkpoint remains unconsumed rather than being conflated with it.
- Original shared level loaders omit NC-prefixed SHAPE names from terrain
registration. Both player terrain and source actor support now use that rule.
All2869 lab render/source triangles remain;2851 are collision-eligible, including
all325 null-material proxy triangles. No material-name water filter was added.
- The underground replay starts at the original riverlab STRT with explicit
SCENE65 fixture, then uses only live movement/contacts. It operates both switches,
crosses fully clear bars twice, waits for reclosure and checks the closed box
blocks a source-gated negative sweep.2763 steps,4153.21 travel, no jumps/warps.
The former85.89-unit first-step rise onto decorative water is now rejected.
The headless lab -> VR04 -> lab RETURN check restores the actual departure root
(4921.8735,76.49398,502.37677), separate from STARTEXP, with no intro playback.
Complete scripts/test.sh passes:41 Python checks,18 movement groups,11 collision
groups, four source/checkpoint groups, director/route/underground regressions,
headless Vulkan scene/RETURN checks, audio lifecycle and539 unchanged hashes.
Evidence: artifacts/return-underground-tests.log. The three-scene RETURN check
includes exact companion placement and reports zero Vulkan validation errors.
Both self-contained executables are republished successfully; no new Wine/native Windows
runtime check is claimed, following the user's preference to skip that check.
Reports: analysis/runtime-checkpoint.md, water-collision.md, underground-route.md.
The underground fixture does not establish progression into SCENE65; full water
hazards, Goddard follow/support phase, fades and original runtime comparison remain
incomplete. Native Windows testing of these new changes is not agent-verified.
## User-reported lab regressions (preceding milestone ca08c46)
The user confirms lab -> tutorial -> lab -> outside is reachable. Four follow-up
bugs are now implemented with source evidence and targeted regressions:
@@ -66,8 +99,8 @@ report and exact static rules support this fix.
An additional managed replay now walks through explanation, jet pack, Carl and
outside LOAD using only movement inputs, source live contacts and NPC patrol/body
updates. It reachesSCENE60/score150 with jet pack owned after914 movement steps
and7038.29 travel with corrected airborne input; the player is never repositioned. This strengthens port lab
updates. The current replay reachesSCENE60/score150 with jet pack owned after887 movement steps
and7078.63 travel; the player is never repositioned. This strengthens port lab
navigation coverage without proving original collision/cadence fidelity.
## Current integrated behavior
@@ -91,8 +124,8 @@ navigation coverage without proving original collision/cadence fidelity.
- Original objective pad, three lab objective images, digits and PracticeYesNo
are rendered at source640x480 coordinates. O opens/closes the timed popup.
Practice pauses the simulation; Y enters VR04/PHONEBOOTH and N resumes.
Return context is current GAM/latest STRT (LV1B/STARTEXP for NewGame), separate
from the still-unrecovered runtime checkpoint-root restoration.
Return context is current GAM/latest STRT (LV1B/STARTEXP for NewGame).
RETURN restores the saved departure root; the pickup checkpoint is separate.
- Button contact/cooldown/down/up/next-trigger and vertical-door duration,
reversal/hold/next-trigger logic. Source dynamic-box broadphase/triangle ordering
is translated; narrowphase/response still uses a modern approximation.
@@ -159,9 +192,9 @@ No usable original gameplay reference has been captured: isolated Wine GL/Vulkan
attempts fail rendering. Continue static recovery and isolated DLL probes locally;
comparison on a working original installation remains required for fidelity.
Next priorities are lab navigation/door collision and checkpoint return-position
fidelity; original collision47BD80/479D20 and phase/cadence; audio-bank/SFX mapping;
UI slide/highlights/energy gauges; actor sensing/animation completion. Then expand
Next priorities are progression from outside into later lab task states;
original collision47BD80/479D20 and phase/cadence; audio-bank/SFX mapping;
practice highlights/energy gauges; actor sensing/animation completion. Then expand
remaining gadgets, damage/combat/enemies, menus/configuration, full saves and all
level progression. Lighting/fog/blend/culling and sprite/pivot fidelity are open.
Do not claim complete gameplay based on direct-contact route or GPU smoke tests.