Correct preview ground placement and expose original animation clips

This commit is contained in:
UnixNight committed 2026-10-23 18:12:54 -04:00
1 parent 670adb4795
commit 37fa18094f
22 files changed
+398 -33

No files matched your search

+43
View File
@@ -44,3 +44,46 @@ unverified. This is not a complete animation/gameplay reconstruction.
GPU readback evidence: `artifacts/test-level1b.ppm`, `artifacts/test-player.ppm`,
`artifacts/jimmy-normal.ppm`, `artifacts/resize-input.ppm` (generated/ignored).
No original reference image equivalence or pixel-perfect claim is made.
## Standing preview floor overlap and static idle
User report: Windows displays Jimmy partly inside the floor and no apparent motion.
The default jimstop source samples (TIMEVALUE0/480) contain identical vertex
positions. The earlier description of an animated default was incorrect. They
remain a still idle pose; explicit keys1/2/3/4 select idle/run/jump/scratch previews,
with clip identity and controls shown in the SDL window title. Playback is an
inspection feature; movement/controller/state-machine gameplay is still missing.
The original standing base minimum Y is -64.6165. Simply adding GAM STARTEXP Y
26.6619 puts the lowest soles at -37.9546, below the visible lab floor near0.5486.
The previous screenshot review missed that intersection. PreviewCharacterPlacement
now derives one upward model-only offset from standing-base vertices and visible
floor triangles beneath the original root. It excludes overhead/steep surfaces and
unrendered proxies. The original GAM root, raw ASE vertices, scale, camera and
animation deformation remain unchanged. The resulting LV1B correction is +38.503Y.
This is a documented preview placement policy pending original actor transform and
collision settling recovery; it is not evidence that the original game uses it.
It is computed once from the standing base, so animated jumps are not resnapped
to the floor on every frame.
C# regressions cover the actual lab, flat-floor contact, ceilings, excluded proxy
draws, missing floors and clip selection. Native GPU run captures at0 and0.1 seconds
differ; a seven-frame automatic advance matches the fixed0.1-second capture byte
for byte. SDL6-frame smoke switches to Run cycle by injected key2 and resizes,
with zero validation errors. Generated evidence: artifacts/placement-*.ppm and
placement-tests.log. Native Windows user retesting of this update remains pending.
Read-only original-DLL probe: tools/binary/omt_shape_probe.c, built with local
i686-w64-mingw32-gcc, calls the supplied OMT ASE converter in a copied installation
inside the reference sandbox. In non-animation conversion mode0 it emits426
vertices and identical base coordinate bounds, confirming the raw data diagnosis
for that mode. The game uses conversion mode2, so the probe does not establish
the original actor origin/scale. Reproduce:
```sh
i686-w64-mingw32-gcc -O0 tools/binary/omt_shape_probe.c -o artifacts/binary/omt_shape_probe.exe -static-libgcc
python3 tools/recon/reference_capture.py --asset-probe --seconds 12
```
Output is under artifacts/asset-probe; no original directory is mounted/writable
in the probe namespace. The converter operates only on copied bytes/in-memory objects.