Match Jimmy controller arithmetic and facing to original probes
This commit is contained in:
1 parent
42ea2b8cd5
commit
0e2f426d42
60 files changed
+6027
-48
No files matched your search
@@ -0,0 +1,58 @@
|
||||
# Jimmy jump and powered hold conformance
|
||||
|
||||
2026-11-05. Authoritative EXE SHA256
|
||||
`f5281076e1a2492f2d61f87aae3f4544b6d0f535ebe33f9fbb6f78710fe1aea8`.
|
||||
This extends the existing [jetpack recovery](../analysis/jetpack.md); the playable
|
||||
550 impulse, −800 gravity and existing state0..5 behavior remain the baseline.
|
||||
JN-Engine's tuned movement is not used.
|
||||
|
||||
## Evidence and corrections
|
||||
|
||||
REA inspect-with-objdump Evidence
|
||||
`ev_0d64cc58fa8f5573fc8e61e0f2c20e36288099212bd2257d3a3121361fd6c904`
|
||||
retains the complete original disassembly in
|
||||
artifacts/jimmy-movement-audit/rea-original-disassembly.json. This is static
|
||||
instruction evidence. The complete437F90..4387D8 range, including both jump
|
||||
tables, maps to file37F90..387D8. Euler helpers4723F0/472480/472B10 map to
|
||||
723F0/72480/72B10. The generator guards identity, offsets and each range's hash.
|
||||
|
||||
`tools/binary/jimmy_jump_motion.py` extends the air harness without its early
|
||||
suffix return. It executes full copied437F90 with synthetic actor/body, support,
|
||||
energy/inventory, level, animation and effect callbacks, plus original OMT trig
|
||||
and original Euler leaves. The game entrypoint, collision/body integration,
|
||||
effect countdown421FB0 and real animation/audio are not executed. Absolute
|
||||
strings and jump-table entries are separately relocated; operands outside the
|
||||
mapped image are rejected so disassembled table bytes cannot corrupt relocation.
|
||||
Initial harness attempts required correcting those relocations and the synthetic
|
||||
509948 owner pointer. Only the final successful32-case run is used as evidence.
|
||||
|
||||
The isolated Wine32 run exits0 and prints JIMMY_JUMP_MOTION_COMPLETE. Fixture
|
||||
`tests/GamePort.JimmyJumpTests/original-jump-reference.json` records32 observations,
|
||||
source ranges, relocations, generator/shared setup/probe executable/output hashes.
|
||||
Generated source, capture.json and wine.log remain in artifacts/jimmy-jump-audit.
|
||||
The managed suite compares jump state, hold/effect timers, pending impulse,
|
||||
vertical/extra acceleration, pose requests, effect calls and radius writes.
|
||||
|
||||
Two directly evidenced precision mismatches are corrected in `JetpackBurst`:
|
||||
|
||||
- Before powered state3, gravity correction retains the wide intermediate:
|
||||
`(float)((double)gravityY * 1.33f - gravityY)`. With−800 this is−264.000031,
|
||||
rather than the old staged float−264.
|
||||
- 438407 stores hold as float but43840D compares the unrounded x87 sum against
|
||||
float.4. Stored `.3f + .1f` and `23f/60 + 1f/60` both become.400000006,
|
||||
but only the first starts the burst. The port now compares the wide sum before
|
||||
returning. Testing the stored float cannot distinguish those observations.
|
||||
|
||||
Coverage includes states0..5, held/released branches, takeoff/landing, null effect,
|
||||
expiry, exact/adjacent hold thresholds, inventory/energy/gadget/level gates,
|
||||
VR04 immunity and both sides of the500-height acceleration threshold. The outer
|
||||
437940 grounded/released bypass remains a caller phase and is not certified by
|
||||
invoking437F90 alone. Physics consumes pending impulse on the following pass;
|
||||
source effect421FB0, input registration and raw control retain their own owners.
|
||||
|
||||
## Remaining limits
|
||||
|
||||
This proves bounded original component outputs and managed conformance, not a
|
||||
whole-original trajectory. Fixed60Hz, the capsule in lab/outside, render root,
|
||||
complete animation completion, sound and native Windows feel remain separate.
|
||||
Live route and SDL tests are recorded in [movement stabilization](jimmy-movement-stabilization.md).
|
||||
Reference in new issue
Block a user