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
@@ -113,6 +113,15 @@ speed/yaw/impulse/airborne/camera formulas. `FixedStepClock` supplies a delibera
|
||||
unverified. SDL events feed held keyboard/mouse state; focus/minimize clear input
|
||||
and pause simulation, while C pauses for inspection and R resets the start area.
|
||||
|
||||
The Jimmy movement checkpoint uses `JimmyGroundMotion`/`JimmyAirMotion` for
|
||||
source input and velocity publication, `JimmyOrientation` in the base phase
|
||||
before control gating, and `JetpackBurst` for the controller/effect state tables.
|
||||
Keyboard-turn latch and destination Euler are retained independently of current
|
||||
Euler. Ground pressure requires a real source-body support polygon; the capsule
|
||||
does not manufacture one. Ordinary air destination pitch and the complete
|
||||
actor-root render bridge remain a paired implementation gate. See
|
||||
[movement stabilization](gameplay/jimmy-movement-stabilization.md).
|
||||
|
||||
`SceneCollision` sweeps/slides a vertical capsule against retained original scene
|
||||
triangles, including invisible proxies, and clips the chase camera with a sphere
|
||||
sweep. Solver/masks/radius/pivot are explicit approximations. The physical position
|
||||
|
||||
@@ -10,6 +10,14 @@ Address details/PE offsets and source-byte extractors are in the linked reports.
|
||||
**M**=managed port regression, **R**=port runtime. No row has full original-game
|
||||
runtime comparison. Coverage does not mean implementation completeness.
|
||||
|
||||
2026-11-05 movement continuation: [Jimmy stabilization](../gameplay/jimmy-movement-stabilization.md)
|
||||
supersedes MOVE/JET arithmetic details below. Ground, air and control-independent
|
||||
full-axis facing now have108 native component comparisons including the jump
|
||||
suffix. COLL keeps its admission gate: real support polygon pressure is live in
|
||||
the source body, while lab/outside retain capsule compatibility.27 special
|
||||
contact dispatch and12 air-target observations expose remaining gates; they do
|
||||
not certify special callbacks or the ordinary air-pitch visual bridge.
|
||||
|
||||
| ID / system | Recovered contract / anchors | Port implementation | Evidence / remaining gap | Next bounded action |
|
||||
|---|---|---|---|---|
|
||||
| LOOP | Viewport47E4F0 physics before registry473740, including input44DF80; second sync473770; construction order and selective retained-character/new-game ordering. Separate engine morph clock. | Player now integrates prior body state, then fresh input/player/fire or retained player/fire/input. Uncontrolled body/fire now continue while movement/input are gated. Other systems remain grouped; fixed60Hz policy. | S/M/R. Controlled player partial order implemented; bounded raw-owner preparation implemented; full wrapper/registry/cadence open. | C3 continue other callbacks and morph/control phases; C4 support/response remains separate. |
|
||||
|
||||
@@ -0,0 +1,130 @@
|
||||
# Jimmy special contacts: movement-stability audit
|
||||
|
||||
2026-11-04. Static recovery plus27 isolated original-dispatch observations; no
|
||||
runtime solver change. Current playable fccc0b9 remains the baseline. The user
|
||||
returned priority to Jimmy movement and explicitly allowed JN-Engine as a guide.
|
||||
JN-Engine's prototype movement is not imported or treated as an oracle.
|
||||
|
||||
## Result and immediate implementation boundary
|
||||
|
||||
The lab/outside capsule bypasses material callbacks entirely: SceneCollision's
|
||||
private triangles retain geometric positions/normals but no linked material ID,
|
||||
and LabSimulation.StepPhysics receives only grounded/wall/ceiling flags. This is
|
||||
a concrete missing interaction layer, not evidence that changing walk constants
|
||||
or adding universal wall reflection will fix collision fidelity.
|
||||
|
||||
**Do not globally admit lab/outside to OriginalBodyPhysics yet.** Besides dynamic
|
||||
pairs, three directly evidenced contracts are missing: material-driven hazard/
|
||||
climb actions, world-response1D0 state during special animation, and contact-owned
|
||||
root publication. The existing ordinary sphere composition assumes no
|
||||
root-changing callbacks. Its wallContact hook alone does not establish the
|
||||
source's fresh previous/live Vec4 equality or special-animation lifecycle.
|
||||
For example, it currently adds the old falling displacement.Y after the hook
|
||||
returns a root, whereas the original can skip that entire candidate publication
|
||||
when the contact changed live/previous root. A root-changing callback cannot be
|
||||
made faithful simply by returning a different OrdinaryBodyState.Position.
|
||||
|
||||
The smallest safe movement implementation chunk is ordinary ground/air arithmetic
|
||||
and phase stability while preserving the current route solver. For collision:
|
||||
first preserve/report actual contacted shape/polygon/3DMa identity in a diagnostic
|
||||
path; next implement the state-owning callbacks and source body modes with
|
||||
regressions; only then enable a bounded real lab/outside source-body route. Do not
|
||||
silently classify a special contact as ordinary to make scene admission succeed.
|
||||
|
||||
## Original identity and source map
|
||||
|
||||
Neutron.exe SHA256:
|
||||
f5281076e1a2492f2d61f87aae3f4544b6d0f535ebe33f9fbb6f78710fe1aea8.
|
||||
Every code VA below maps to raw offset VA−400000, independently checked by PE.
|
||||
`tools/binary/jimmy_special_contact.py` records five bounded spans with hashes,
|
||||
raw offsets and four live virtual bindings. Existing material loader/source
|
||||
coverage is in collision-contact-callbacks.md and its guarded helper.
|
||||
|
||||
| Code VA / raw offset | Observed contract |
|
||||
|---|---|
|
||||
|43AA40 /3AA40|Player contact handler takes **game interface** (Jimmy complete+C0), supplied Vec4 normal and polygon. First requires elapsed game774>3; missing polygon/material/chunk yields no special policy. Reads signed archive3DMa ID through polygon+4→material+C→chunk+8.|
|
||||
|43AA7E..43AAD5 /3AA7E..3AAD5|IDs120..129 call **complete virtual160**, IDs110..119 call **complete164**. These dispatches precede the movement-mode check and therefore still occur in nonzero modes.160/164 are slot offsets, not material IDs.|
|
||||
|43AAD5..43AAF9 /3AAD5..3AAF9|Fence IDs60..69 and ladder180 require mode game704==0. Other metadata returns without generic reflection/projection. The handler contains no raw controlled-pointer gate.|
|
||||
|43AB17..43ABBF /3AB17..3ABBF|Ladder first requires game338→472570 retained support polygon pointer (live234), then a47C210 probe. This is not the same predicate as current grounded218. A missing retained polygon prevents even the ray attempt.|
|
||||
|43ACD4..43AE19 /3ACD4..3AE19|Fence requires first probe to miss and subsequent side probes to hit. Miss-only synthetic probes make exactly two calls then reject. Different ray outcome sequences are not equivalent to a single wall hit.|
|
||||
|43AC29..43ACC5 /3AC29..3ACC5;43AF54..43AFDB /3AF54..3AFDB|Successful branches derive yaw from negative supplied normal through original angles, set destination/live orientation, transform local offsets, publish root314 and request LADDER/FENCE through complete150. Full successful-ray traces remain unexecuted.|
|
||||
|42A7E0 /2A7E0|Jimmy complete160 requires splat cooldown1E60<=0 and !1DED latch. Requests SPLAT via150, sets latch, clears impact clock1DE8 and controller scalar complete6C8/game608, stores supplied normal at1DF0..1DFC, requests−5 energy/score through42A920/42ADC0, and SFX37. Those helpers retain their own tutorial/global policies.|
|
||||
|42A8D0 /2A8D0|Jimmy complete164 requires !1DEC latch and raw gadget4F0588!=0 (Bubble0 immunity). Sets latch, clears1DE8, requests−5 energy/score, calls complete1E0→425120 (mode1 jump/effect cancellation). It does not share160's cooldown gate.|
|
||||
|437953..43796A /37953..3796A|Increment game774 elapsed **before** base40E050 and later raw ownership gate. Physics contact reads the preceding phase's elapsed. Omitting this timer would permanently suppress source policies; gating it only on Jimmy input is also wrong.|
|
||||
|43B408..43B4B4 /3B408..3B4B4;43B4BE..43B58A /3B4BE..3B58A|FENCE/LADDER animation entry owns saved destination Vec4 complete838..844/game778..784. Respective local offsets(0,320,150)/(0,800,150), velocity0, gameA8(false), action helper148, global busy4F83E0=true, duration complete888=4/6, fallback timer868=5, elapsed834=0, nonloop animation and SFX146/143.|
|
||||
|43A900 /3A900|AnimEnded handler returns FENCE/LADDER to STOP, clears busy/duration, calls Jimmy game410→42AFC0, clears action flag complete6E4/game624 and controller speed complete6C8/game608, restores saved full Vec4 root314, then gameA8(true). SPLAT/HIT branches differ.|
|
||||
|437988..437A15 /37988..37A15|Fallback timer game7A8 is decremented before input ownership gate. Expiry while busy can restore the saved root/response state too. Source duration4/6 and fallback5 are distinct; do not invent one universal fixed climb timer.|
|
||||
|47A123..47A1C4 /7A123..7A1C4|Body publication rereads previous2F8/live310 and compares all four components. A contact-owned root change skips candidate clamp/publication. Vector3-only stale equality is not this boundary.|
|
||||
|
||||
Bindings independently checked: Jimmy complete4A3BDC+160→42A7E0,+164→42A8D0;
|
||||
Jimmy game4A373C+374→42A660→Player43AA40; Player game4AF6C4+374→43AA40.
|
||||
Game338→472570 returns retained polygon234, not a boolean grounded query.
|
||||
GameA8→470FD0 changes **world-response** getter1D0/live13C. It does not disable
|
||||
integration210, support1C8, raw control118 or global geometry4F69E5. Consequently
|
||||
`geometryEnabled=false` in the current managed body is not an implementation of
|
||||
this transition: that parameter follows global geometry-off gravity cancellation.
|
||||
|
||||
The pose setter's exact callback acceptance, source morph/event cadence, impact
|
||||
latch/impulse updater4255C0, successful ladder/fence ray offsets/filters and reset
|
||||
interactions need component/runtime closure before actual mechanics are enabled.
|
||||
The stored impact normal is consumed later; immediate arbitrary velocity reflection
|
||||
would replace that state machine with a different behavior.
|
||||
|
||||
## REA and JN-Engine evidence
|
||||
|
||||
JN-Engine docs/decomp/C3DPlayer.md, C3DJimmy.md and original decompiler bodies
|
||||
in docs/decomp/evidence/c3dplayer_movement_target3.md/c3djimmy_target6.md supplied
|
||||
function/field leads. Shared EXE identity is verified; its prototype movement and
|
||||
its different declared OMT2.dll build are not numeric/runtime authorities here.
|
||||
Class reports mix game and complete bases in places; the offsets above follow
|
||||
authoritative instructions and the independently established+C0 interface.
|
||||
|
||||
Configured REA/Ghidra12.1.4 batch at artifacts/jimmy-special-contact/rea used the
|
||||
existing generated target copy and exported Evidence/closed snapshot:
|
||||
|
||||
- 42A7E0: ev_801bbf1e21eb341f126f5e57e3efbfca42bb1c799680b2429c7f05dfdda3d625.
|
||||
- 42A8D0: ev_889e1c63d50f8e6da7e451ba0b821396f884fb7d7961dcdede3c4f3ca0e54af3.
|
||||
- 43A900: ev_0c030c12f6beb0790a6be2c53d3c4ac6591c8c2bd6552e8ea888f8de13455c7f.
|
||||
|
||||
43AFF0 returned an explicit procedure-recognition error; retained reply03.json
|
||||
is not successful decompilation and the unchanged selector was not repeated.
|
||||
Its supporting instruction extract is saved as special-animation.asm; the JN
|
||||
body is only a lead. Reused43AA40 Evidence:
|
||||
ev_4f2a6aa666451db831efd46f5c587573e22d8072315626b8bc2f844f9c6f0cae
|
||||
under artifacts/collision-integration/contacts/rea-callbacks. REA x87/return-address
|
||||
aliases are imperfect; reviewed call signatures/bytes settle the normal payload.
|
||||
|
||||
## Isolated original execution and tests
|
||||
|
||||
The new generated probe executes copied43AA40 with synthetic game/complete
|
||||
vtables, linked polygon/material/chunk records, no-op160/164 callbacks and a
|
||||
miss-only ray stub. It **does not** execute real damage, successful climb,
|
||||
animation, body integration, collision traversal or the original game entrypoint.
|
||||
An initialized local Wine32 prefix runs the copied code in the project's separate
|
||||
network/filesystem sandbox; Wine exit0 and JIMMY_SPECIAL_CONTACT_COMPLETE are
|
||||
retained in artifacts/jimmy-special-contact/probe/{wine.log,capture.json}.
|
||||
|
||||
27 observations cover signed metadata and all dispatch boundaries, strict elapsed
|
||||
3/above3, nonzero movement modes, null polygon/material/chunk, missing retained
|
||||
support polygon, and both hazard dispatch/fence ray attempts with raw controlNULL.
|
||||
Normal Vec4 reaches160 unchanged. Miss-only fence performs two probes; ladder one
|
||||
when support pointer exists. These are branch/gate observations, not terrain
|
||||
success or original end-to-end movement traces.
|
||||
|
||||
`tests/test_jimmy_special_contact.py` commits the observations, original source
|
||||
span/binding identity and generator/harness/executable/log hashes. Four Python
|
||||
groups pass: source/offset/bindings, all27 native dispatch cases, provenance, and
|
||||
output/original/symlink isolation. Originals remain untouched. No runtime source
|
||||
or existing tests/docs were modified by this investigator; no commit was made.
|
||||
|
||||
## Proposed continuation gates
|
||||
|
||||
1. Keep source-backed controller/air/jump fixes and current playable route solver
|
||||
independent; preserve fccc0b9 and subsequent tested movement checkpoints.
|
||||
2. Expose contact metadata/root-ownership diagnostics; recover4255C0 impact latch
|
||||
and impulse completion, then implement material120..129's bounded hazard flow.
|
||||
3. Recover/verify successful climb rays, full animation-end/fallback ownership and
|
||||
independent world-response mode before adopting fence/ladder callbacks.
|
||||
4. Complete dynamic pair eligibility/shared context and Vec4 publication, then
|
||||
run input-only lab/tutorial/RETURN/outside cases with known special contacts.
|
||||
General floor/step/wall fidelity is not established by these27 leaf probes.
|
||||
@@ -1,5 +1,17 @@
|
||||
# Compatibility and validation
|
||||
|
||||
Jimmy movement (2026-11-05):108 copied-original ground/air/facing/jump observations
|
||||
match managed components.26 integrated movement/20 body groups pass; lab and
|
||||
two-way underground routes retain the user's baseline. Native Linux walking and
|
||||
VR04 powered input replays pass all five jump aliases and resize, with identical
|
||||
readbacks across aliases and zero Vulkan validation errors. Carl control lock,
|
||||
control-independent body/fire and Grappler native replays pass. Source pressure
|
||||
is restricted to real source support; the lab/outside capsule keeps compatibility
|
||||
behavior. Ordinary air pitch/full root rendering and special/dynamic contacts
|
||||
remain open, as do complete original and native Windows comparison. Details and
|
||||
provenance: [Jimmy stabilization](gameplay/jimmy-movement-stabilization.md).
|
||||
|
||||
|
||||
Scooter feedback follow-up (2026-11-04): missing Goddard follow pitch/roll leveling
|
||||
and source positional engine-frequency correction are implemented.13 Scooter/2
|
||||
ScooterAudio/10 Patrol groups,24 targeted Python checks, route/audio regressions
|
||||
|
||||
@@ -308,3 +308,14 @@
|
||||
then apply recovered47D9D0 positional frequency/history and DX bounds.
|
||||
Use shared listener state for mounted/parked/script cameras; global audio
|
||||
cadence and attenuation remain separate. See the focused gameplay reports.
|
||||
|
||||
48. **Stabilize Jimmy from authoritative components while preserving the playable baseline.**
|
||||
Use JN's original decompiler index as leads only. Integrate source ground/air
|
||||
input, velocity, full-axis base facing and precise jump hold/gravity after
|
||||
copied-original comparison. Preserve retained targets and keyboard-turn latch;
|
||||
facing runs without raw input ownership. Require real support polygon338 for
|
||||
downward ground pressure; do not translate capsule Grounded into that state.
|
||||
The failed stair route and successful compatibility rerun are retained evidence.
|
||||
Keep ordinary air pitch/actor-root visual bridge together as the next chunk,
|
||||
and special/root-changing/dynamic body behavior behind independent gates.
|
||||
See gameplay/jimmy-movement-stabilization.md.
|
||||
@@ -0,0 +1,131 @@
|
||||
# Jimmy ordinary airborne movement audit
|
||||
|
||||
2026-11-04. User prioritizes stable Jimmy movement and explicitly preserves the
|
||||
current GamePort feel over JN-Engine's replacement movement. JN-Engine's saved
|
||||
original decompiler output was used only to locate/interpret original routines;
|
||||
its C/Godot movement was not used as a behavioral reference. Authoritative source
|
||||
is the immutable project EXE SHA256
|
||||
`f5281076e1a2492f2d61f87aae3f4544b6d0f535ebe33f9fbb6f78710fe1aea8`.
|
||||
|
||||
## Recovered contracts and concrete mismatches
|
||||
|
||||
Addresses below are original EXE VAs; independently mapped file offsets equal
|
||||
VA−400000. `tools/binary/jimmy_air_motion.py` guards source identity, five complete
|
||||
bounded ranges and decoded absolute relocation operands. Source instruction
|
||||
extracts are retained in artifacts/jimmy-air-audit/{input,apply}.asm.
|
||||
|
||||
| Original VA / offset | Original behavior | Prior port mismatch / bounded correction |
|
||||
|---|---|---|
|
||||
|439900..439A69 /39900..39A69|Mode1 keyboard Left precedes Right, changes stored turn by100dt; no-key return toward0 occurs only when complete6E6 keyboard-turn latch is set. Key turning sets latch; mouse turning clears it.|AirSteering always applied return, without storing the latch. JimmyAirMotion.Input owns explicit latch state; caller must retain it and share it with other input modes.|
|
||||
|439AE6..439B69 /39AE6..39B69|Up adds30 only when scalar<maximum, then clamps. Existing overspeed is preserved.|RecoveredMotion.AddSpeed clamped overspeed down to maximum. New helper preserves it. Ground correction is investigated separately.|
|
||||
|439B69..439BA2 /39B69..39BA2|Without throttle, coast only above maximum*float.909090936; compare uses the unrounded x87 product. Coast subtracts17.5 per callback.|Float-rounded C# comparison misses a representable threshold case. At max600, speed545.45459 must coast to527.95459. New helper uses double intermediate for the comparison.|
|
||||
|439BA2..439BED /39BA2..39BED|Independently test body218 support, even with stored air mode1. Supported positive scalar subtracts17.5 with no crossing clamp; nonpositive scalar resets0.|Old AirSteering had no support argument. Supported speed300+Up ends312.5; speed5 with no keys ends−12.5. These affect landing/rejump and retained input phases.|
|
||||
|439C1D..439CB2 /39C1D..39CB2|Down after throttle/coast/support subtracts35 supported or17.5 airborne, clamps positive scalar to0; negative scalar adds35 toward0.|Old helper used17.5 for positive scalar regardless support. No reverse-flight initiation is added.|
|
||||
|439D81..439DB7 /39D81..39DB7|Ordinary mode1 turn caps±30, distinct from Bubble's±50.|Existing cap is correct and retained.|
|
||||
|437FD0..438011 /37FD0..38011|Read incoming live velocity. Exact zero magnitude skips independent yaw AND lateral computation. It still publishes forward scalar afterward.|LabSimulation gated yaw but computed side unconditionally. Zero incoming velocity/scalar300/turn30 produces(0,0,300), not a lateral launch.|
|
||||
|438011..438062 /38011..38062|For nonzero velocity, call334 AddEuler(0,turn*dt,0), then side=turn*float(1/55)*(1−friction)*scalar, without dt on side.|Existing side formula is generally right but ungated. Plain yaw modulo omitted full-axis AddEuler normalization. New helper reuses original-leaf-compatible RocketOrientation.Add.|
|
||||
|438062..4380E6 /38062..380E6|Rotate the lateral contribution around current yaw using original OMT table values.|Retain yaw-only lateral contribution. No invented normalization or clamp.|
|
||||
|4380E6..438124 /380E6..38124|game38C rotates local(0,0,scalar) by full Euler. Sum its X/Z with lateral contribution and preserve incoming Vy, discarding rotated forwardY.|Old port used flat yaw only. Nonzero pitch must scale horizontal forward; roll does not alter this local-forward vector. Use original-compatible rotate/lookup helper.|
|
||||
|
||||
The probe complete-object fields are6C8 scalar,6D4 turn,6D8 applied turn,
|
||||
6BC acceleration step30,6C0 decay35,6C4 maximum600,6E4/6E5 throttle/backward,
|
||||
6E6 keyboard-turn latch,7C4 movement mode1. Its game interface is complete+C0.
|
||||
Game Euler is224/228/22C; getVelocity2BC/setVelocity2C4, friction248, support218,
|
||||
getEuler328, AddEuler334, local-vector transform38C are separate calls. Synthetic
|
||||
probe binds the last three to original4723F0/472480/472B10. Real class wrapper
|
||||
334 may add gameplay gates; source publication/controller ownership remain caller
|
||||
responsibilities and are not reconstructed by this isolated component.
|
||||
|
||||
Keyboard steering and scalar increments retain current signs, precedence, source
|
||||
per-callback30/17.5/35 values and mode1 turn cap. Existing ordinary flat-air
|
||||
movement with nonzero incoming velocity is preserved. None of these corrections
|
||||
adopts JN-Engine's tuned jump650/gravity1600 or instant tank movement.
|
||||
|
||||
## Native observations and REA
|
||||
|
||||
`tests/GamePort.JimmyAirTests/original-air-reference.json` commits35 copied-original
|
||||
observations and source/generator/shared-map-helper/probe-EXE/output-log hashes:
|
||||
22 mode1 keyboard input cases and13 velocity-prefix cases. Coverage includes
|
||||
Up/Down combinations, overspeed, exact coast boundary, supported positive/negative
|
||||
crossings, turn cap/precedence/latch/return crossing,60Hz, zero/rising/falling live
|
||||
velocity, slope pitch, roll, Euler seam/negative angle normalization, friction0,
|
||||
reverse scalar, zero scalar and ordinary60Hz output.
|
||||
|
||||
Probe executes copied439900 through439DB7 (before orientation/camera work) and
|
||||
complete-entry437F90 through438124 (before jump suffix). It supplies synthetic
|
||||
actor/body/friction/mouse callbacks and uses the copied project's original OMT
|
||||
trig global plus original Euler helpers. Zero mouse/controller input is explicit.
|
||||
439900's continuation is replaced by a stack-correct return, and437F90's suffix
|
||||
is replaced by its original4387A1 epilogue. No original game entrypoint, physics,
|
||||
collision, camera, animation or audio is executed. Source jump suffix438148 and
|
||||
effect421FB0 are independent parent investigations.
|
||||
|
||||
The isolated Wine32 run exits0 and prints JIMMY_AIR_MOTION_COMPLETE; capture.json
|
||||
and wine.log are retained in artifacts/jimmy-air-audit/probe. Thirty-five saved
|
||||
outputs match two managed conformance groups. Two Python groups guard source,
|
||||
relocations, PE offsets, complete fixture counts and generator provenance. This
|
||||
is original component execution, not whole-original or native Windows gameplay.
|
||||
|
||||
REA/Ghidra12.1.4 was invoked through the configured local scripts/rea.sh on the
|
||||
generated target copy. The default profile did not recognize439900 as a procedure;
|
||||
the complete explicit mapped-selector failure, export and closed snapshot are
|
||||
retained under artifacts/jimmy-air-audit/rea-input. No pseudocode success or
|
||||
Evidence ID is attributed to that failure, and the unchanged selector was not
|
||||
repeated. Earlier Bubble movement attempts had provider startup failures and do
|
||||
not establish successful decompilation either. Supporting source instructions,
|
||||
whole-source identity and new native observations establish the bounded arithmetic.
|
||||
JN's docs/decomp/evidence/c3dplayer_movement_target3.md supplied an original-code
|
||||
reading lead, independently checked against these project originals.
|
||||
|
||||
## Integration API and remaining limits
|
||||
|
||||
New `JimmyAirMotion` is an isolated source-backed implementation. Parent owns live
|
||||
integration and existing AirSteering/LabSimulation files:
|
||||
|
||||
1. Pass Input(new(Speed,TurnRate,keyboardTurnLatch),input,Grounded,dt,MaximumSpeed).
|
||||
Retain returned scalar, rate and latch. Complete6E6 is shared with ground and
|
||||
Bubble input: update it when those source paths set it; do not reset each frame.
|
||||
2. Call Apply(Speed,TurnRate,new(Pitch,Yaw,Roll),Velocity,dt,friction) in the ordinary
|
||||
air branch, after existing facing/mode selection and before438148 jump suffix.
|
||||
Publish returned full Euler and velocity. The incoming velocity gate must use
|
||||
prior live velocity, not a newly fabricated forward vector.
|
||||
3. Keep body-first/fresh-vs-retained order, ordinary landing/reset, jump/jetpack
|
||||
state/effect, raw/effective control and special modes in their existing owners.
|
||||
|
||||
This does not implement mouse/controller axes, general camera/pose targets,
|
||||
reverse-run helper states, complete full-Euler/render root behavior, original
|
||||
cadence, dynamic/special contacts or the jump state suffix. Fixed60Hz and source
|
||||
body vs capsule admission remain existing port policies. Ordinary input requires
|
||||
0<dt<1 because the original divides mouse deltas by dt. Native Windows and
|
||||
whole-original movement/trajectory comparison remain unverified.
|
||||
|
||||
|
||||
## Destination-Euler follow-up (2026-11-05)
|
||||
|
||||
REA's complete retained objdump Evidence
|
||||
`ev_0d64cc58fa8f5573fc8e61e0f2c20e36288099212bd2257d3a3121361fd6c904`
|
||||
adds the next target write. 439DB7..439E33 (offset39DB7;
|
||||
range end39E33) reads accepted forward6E4 before backward6E5, writes pitch7EC
|
||||
or7F0, yaw=currentEulerY and roll=−turn. Neutral pitch is0. Constructor437445/
|
||||
43744F (offset37445/3744F) initializes7EC=−40,7F0=10; ordinary437FBC/437FC6
|
||||
reasserts those values. Bubble43880A/438814 substitutes−10/10. These are
|
||||
retained controller fields, separate from current Euler and destination Euler.
|
||||
|
||||
`tools/binary/jimmy_air_targets.py` extends the previous input probe through
|
||||
439E33, supplying a synthetic36C destination writer. Twelve native observations
|
||||
are retained in `tests/GamePort.JimmyAirTests/original-air-targets-reference.json`,
|
||||
including both arrows (Up wins), turn signs, supported zero/overspeed, zero and
|
||||
custom pitch seeds. Isolated capture exits0 with JIMMY_AIR_TARGETS_COMPLETE;
|
||||
source range, generator, executable and output hashes are recorded. No camera,
|
||||
facing interpolation, body or original whole-game entrypoint ran. A Python guard
|
||||
checks source/provenance and saved writes; this is recovery evidence, not a
|
||||
managed/runtime implementation claim.
|
||||
|
||||
Live ordinary-air pitch targets are deliberately still the baseline simplification.
|
||||
The source-backed input/velocity helper is integrated, but enabling this target
|
||||
requires the full Euler/actor-root visual bridge and retained mode-field ownership
|
||||
to move together. Otherwise horizontal velocity would gain pitch attenuation
|
||||
while the ordinary rendered Jimmy remains upright. Follow-up must retain source
|
||||
7EC/7F0 across Bubble→ordinary and fresh/retained callback order, then verify
|
||||
model pivot, takeoff, turning, landing and route returns. This is an identified
|
||||
original mismatch, not a recovered behavior that is already live.
|
||||
@@ -0,0 +1,99 @@
|
||||
# Jimmy ordinary ground movement audit
|
||||
|
||||
2026-11-04. User paused gadget expansion to stabilize Jimmy. Preserve the current
|
||||
playable fccc0b9 baseline. This report isolates original keyboard ground input
|
||||
and ground velocity apply; it does not replace collision, timing or animation.
|
||||
The supplied JN-Engine C3DPlayer report/target3 decompiler dump supplied function
|
||||
names/field leads only. Its tuned/native gameplay is not used as an oracle.
|
||||
|
||||
## Original evidence and ownership
|
||||
|
||||
EXE SHA256 `f5281076e1a2492f2d61f87aae3f4544b6d0f535ebe33f9fbb6f78710fe1aea8`;
|
||||
OMT2.dll `3ec41ead011adf56387a6dbd4580e5b5a9721b5f8020c8a56420f42824354943`.
|
||||
`jimmy_ground_motion.py` validates both identities and six bounded ranges, with
|
||||
PE-mapped offsets and hashes. The listed EXE text offsets are VA−400000.
|
||||
|
||||
REA/GNU objdump produced source observation
|
||||
`ev_0d64cc58fa8f5573fc8e61e0f2c20e36288099212bd2257d3a3121361fd6c904`.
|
||||
Complete Evidence is under artifacts/jimmy-ground-audit/rea-disassembly.json;
|
||||
summary projection `ev_eeefcf5542ee0c3151932829c0e898696754a264ac7fccb208fa26cceb36f0c0`
|
||||
is in rea-summary.json. The command completed, output was not truncated, and
|
||||
pre/post source digests match. The provider's executable-version/format metadata
|
||||
is unknown; the independent PE reader establishes the image mapping. This is
|
||||
static instruction evidence, not successful Ghidra pseudocode or target execution.
|
||||
Previously failed unchanged procedure selectors were not repeated.
|
||||
|
||||
| Source VA / offset | Owner and contract |
|
||||
|---|---|
|
||||
|438BC0 /38BC0;438CE3 /38CE3|Ground input clears complete6E4 accepted forward/back flag. Mouse/side-camera/idle prefix is outside the pure keyboard suffix.|
|
||||
|43915D..43928D /3915D..3928D|Clear870 keyboard lateral bias. Left precedes Right. Left adds20 yaw delta and−1000 lateral, Right−20/+1000. Set6E6 keyboard-turn latch. Add30 to6C8 only when below6C4 cap, then clamp an actual crossing.|
|
||||
|43928D..439318 /3928D..39318|Up halves nonzero keyboard yaw delta and applies a second below-cap30 increment. Sets6E4. Up+turn can therefore increment twice. Existing overspeed is preserved, not clamped down.|
|
||||
|438F66..438FE3 /38F66..38FE3|Earlier backward-acceptance gate uses Down/analog/side qualifications. In raw−1/3, true primary predicate15C suppresses accepted backward. Flags864/828 also qualify acceptance. This prefix is caller-owned, not part of the suffix probe.|
|
||||
|439318..439416 /39318..39416|Accepted backward850 sets6E4; ordinary subtract35*1.5 and clamp−cap*.5. If seeded830 is strictly>double1.5, set latch828, speed=cap, stored target710=currentYaw+180, keyboard yaw delta0. Already latched backward keeps cap. Releasing acceptance clears830 and latch. The830 clock's increment owner remains unresolved.|
|
||||
|439416..439490 /39416..39490|Without Up or accepted backward, release positive/negative scalar toward0 by35. Left-only still receives this decay after its acceleration. Keyboard side bias can move while scalar remains0.|
|
||||
|43951E..4395CF /3951E..395CF|Accepted active input publishes destination yaw even with zero turn: ordinary currentYaw+delta; latched with delta uses currentYaw−delta*.5, otherwise stored710. No active input retains the previous destination.|
|
||||
|437C40..437DF6 /37C40..37DF6|Read current live velocity; special global4F83E0 returns unchanged. Only nonzero incoming velocity OR nonzero keyboard lateral admits yaw addition and side computation. That gate does not suppress the later base forward rewrite. Side=(turn*(1−friction)*speed*float(1/45)+bias)*dt. Read full Euler via328, add yaw via334 and use full-Euler38C(0,0,speed). Publish its X/Z plus side, preserving incoming Y.|
|
||||
|437E10..437F4B /37E10..37F4B|Only supported218 and nonnull support polygon338 reaches the support suffix. It subtracts float250 at4A3E58 from current live Vy. The rest of the normal/angle calculation does not project X/Z onto a slope or publish a new actor Euler here.|
|
||||
|437C22..437C2D /37C22..37C2D|Controlled wrapper publishes complete6C8 controller scalar into body160 afterward. This is separate from live velocity and body friction state.|
|
||||
|
||||
Complete/game interface displacement isC0. Complete6BC acceleration30,6C0 decay35,
|
||||
6C4 current cap600,6C8 controller scalar,6D4 turn rate,6D8 applied turn,6E4 accepted
|
||||
forward/back,6E6 keyboard-turn latch,710 stored backward heading,828 auto-turn latch,
|
||||
830 clock,850 accepted-backward and870 lateral bias. Live Euler is game224/228/22C;
|
||||
destination is game274/278/27C. Ground only sets6E6 on turns; neutral/up/back do
|
||||
not clear it. The source's air handler owns later keyboard-turn return behavior.
|
||||
|
||||
## Confirmed differences from the pre-audit port
|
||||
|
||||
1. RecoveredMotion.AddSpeed's unconditional Min(speed+30,cap) reduces existing
|
||||
overspeed; the original only adds while below cap. This affects ground/air use
|
||||
of that helper; changing the shared helper requires checking its other callers.
|
||||
2. Active forward/backward input without turn must publish current yaw as the new
|
||||
destination. LabSimulation only changed targetYaw for a nonzero turn delta,
|
||||
allowing residual destination-yaw drift after releasing turn while keeping Up.
|
||||
3. Ground direction uses full Euler X/Z, not yaw alone. A pitch30/yaw45/roll20
|
||||
native case projects speed300 to X/Z≈−183.725/+183.725, not±212.132. This matters
|
||||
during tilt restoration after gadgets/script placement; no new slope tilt is
|
||||
invented by the helper.
|
||||
4. Live support with a real polygon supplies downward Vy−250 pressure. The port
|
||||
preserved Y unchanged. Supported/no-polygon and unsupported cases retain Y.
|
||||
5. Side computation shares the incoming-motion/bias gate. The existing simplified
|
||||
apply computes side outside it. Most ordinary landings reset turn0, but the
|
||||
mathematical distinction is explicit and tested.
|
||||
6. Primary/backward acceptance and the latent auto-turn state are not modeled by
|
||||
the old simplified input. Do not enable a fabricated1.5-second timer: its live
|
||||
clock owner must be recovered first. The pure helper permits explicit source
|
||||
state inputs so the seeded branches can be compared without claiming live use.
|
||||
|
||||
## Implementation, tests and integration
|
||||
|
||||
`JimmyGroundMotion.Input` returns state, keyboard lateral and heading-update flag.
|
||||
Callers resolve backward acceptance (ordinary raw−1/3 primary blocks it), retain
|
||||
shared6E6 on neutral ground input and set it on Left/Right. BackSeconds defaults0;
|
||||
leave auto-turn live admission gated until its clock owner is established.
|
||||
`Apply` accepts full live Euler, source turn/bias, actual support and actual support
|
||||
polygon presence. It returns velocity and Euler. Body integration, input/apply
|
||||
order, ordinary/gadget mode dispatch, collision and published-speed copy stay
|
||||
with the caller. In particular, do not derive a support polygon merely from a
|
||||
provisional capsule's Grounded flag or apply this ground suffix during air mode.
|
||||
|
||||
Twenty-five copied-original observations execute successfully in isolated Wine32:
|
||||
17 keyboard suffix cases (combinations, release/crossing, cap/overspeed, backward
|
||||
cap and seeded exact/over1.5/latch branches), eight complete437C40 cases (rest,
|
||||
stationary turn, lateral-only, turn, full tilt, supported polygon, missing polygon,
|
||||
unsupported). Synthetic actor/root/support/animation methods surround the copied
|
||||
routines; original OMT vector/trig methods execute from a copied DLL. No original
|
||||
game entrypoint, camera prefix, general dynamic body or complete Jimmy executes.
|
||||
The initial missing OMT export qualifier was corrected before the final run;
|
||||
only the final exit0/JIMMY_GROUND_COMPLETE output establishes observations.
|
||||
|
||||
The committed original-ground-reference.json records both source identities,
|
||||
bounded spans, generator/shared harness/executable/log hashes and all25 cases.
|
||||
Two managed groups compare every case and check active-versus-idle heading and
|
||||
caller-owned primary/backward suppression. Two Python groups validate identity,
|
||||
provenance, ranges/offsets and complete observed counts. Logs and final capture
|
||||
metadata are under artifacts/jimmy-ground-audit/. Parent owns live integration,
|
||||
route/render/platform checks and root status documents; this agent made no shared
|
||||
runtime edits or commits. Whole-original/native Windows movement parity remains
|
||||
unverified. Mouse/analog, camera side timers, generic clock registration, full
|
||||
standing/pose/climb branches and engine cadence remain separate evidence gates.
|
||||
@@ -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).
|
||||
@@ -0,0 +1,99 @@
|
||||
# Jimmy movement stabilization
|
||||
|
||||
2026-11-04. User pauses gadget expansion and prioritizes solid Jimmy movement.
|
||||
Current C# movement is the playable baseline; runtime packages fccc0b9 and source
|
||||
42ea2b8 remain preserved. JN-Engine's native/Godot movement is explicitly not the
|
||||
behavior oracle. Its saved original decompiler/class index is a navigation aid;
|
||||
REA, authoritative bytes and copied-original observations verify corrections.
|
||||
|
||||
## Working checkpoints
|
||||
|
||||
1. Compare ordinary ground/air input, velocity and facing with copied-original
|
||||
cases; preserve current acceleration/jump/gravity values unless contradicted.
|
||||
2. Verify jump/hold/release/landing, jetpack acceleration/expiry, queued impulse
|
||||
and physics-before-input ownership, including fresh/retained scene order.
|
||||
3. Recover lab/outside contact metadata, root publication and animation-owned
|
||||
response sufficiently to replace the provisional capsule safely. Preserve
|
||||
scene/actor state ownership; do not enable unsupported special contacts.
|
||||
4. Verify the combined input/physics/control/animation behavior on lab → VR04 →
|
||||
lab → outside, including all jump aliases, stairs/slopes/walls/ceilings,
|
||||
cutscenes, reset, RETURN and stable presentation-rate behavior.
|
||||
|
||||
## Evidence boundary on entry
|
||||
|
||||
Current ordinary body is source-backed in bounded tutorials; lab/outside still
|
||||
use the modern capsule. Controller input and apply are simplified in LabSimulation,
|
||||
with source-based Jump550/gravity800 plus jump acceleration correction, fixed60Hz
|
||||
as a modern policy, and a sole/root render bridge. Previous numeric/route/native
|
||||
verification remains valuable; it does not certify complete movement fidelity.
|
||||
Ground/air/math corrections are separate from admitting special/dynamic physics.
|
||||
|
||||
New independent reports: jimmy-ground-motion.md, jimmy-air-motion.md,
|
||||
jimmy-orientation.md and ../checkpoint/jimmy-special-contact.md. Parent owns
|
||||
integration/jump/route verification; investigators own their named new files only.
|
||||
Findings/tests and implementation status are updated here as chunks finish.
|
||||
|
||||
## Controller checkpoint, 2026-11-05
|
||||
|
||||
Integrated `JimmyGroundMotion`, `JimmyAirMotion` and `JimmyOrientation` into
|
||||
LabSimulation. Ground Up/accepted Down publishes current heading even without
|
||||
turn input, clearing the old turn destination; neutral retains it. Acceleration
|
||||
preserves existing overspeed. Ground backward acceptance honors raw−1/3 primary
|
||||
fire. Air input retains the shared keyboard-turn latch, performs its independent
|
||||
supported subtraction/brake and compares coast with the wide product. Full-Euler
|
||||
apply preserves incoming Vy and correctly gates lateral/yaw on incoming velocity.
|
||||
Facing uses original shortest arcs/full-axis angle normalization and runs in the
|
||||
base phase even without raw control. Published speed, pending impulse, effect
|
||||
clock and fresh/retained ordering remain separate. [Jump conformance](jimmy-jump-motion.md)
|
||||
adds the exact wide hold comparison and gravity intermediate.
|
||||
|
||||
108 saved native observations compare against managed components:25 ground,
|
||||
35 air,16 facing and32 jump.27 additional native special-contact dispatch cases
|
||||
establish callback eligibility only.12 air destination writes establish missing
|
||||
pitch/roll target behavior, which remains a deliberate implementation gate; see
|
||||
[jimmy-air-motion.md](jimmy-air-motion.md). These are copied-original component
|
||||
observations, not observed original whole-game play.
|
||||
|
||||
### Collision compatibility boundary
|
||||
|
||||
The original supported ground apply subtracts250 from live Vy only when actual
|
||||
support polygon338 is non-null. This is live with the source body and its real
|
||||
SupportHit. A capsule Grounded flag or floor-height query does not stand in for338.
|
||||
An attempted mapping from capsule support introduced a repeatable lab stair block
|
||||
(artifacts/jimmy-movement-audit/lab-route.log, leg1 root4307.62/15.13/351.25).
|
||||
Removing that mapping restores the entire input-only route
|
||||
(lab-route-compatible.log), and the two-way underground route also passes. The
|
||||
capsule retains baseline landing Vy0. This is an explicit compatibility gate,
|
||||
not an original-body result or a replacement friction/step tuning fix.
|
||||
|
||||
### Next coherent implementation chunks
|
||||
|
||||
1. Implement source destination-Euler pitch/roll with retained7EC/7F0, the full
|
||||
actor-root visual bridge and mode/registration order together. Verify ordinary
|
||||
jump, powered turning, Bubble cleanup, landing and RETURN. Baseline ordinary
|
||||
air currently stays visually upright; the recovered−40/+10 targets are not live.
|
||||
2. Finish Vec4 previous/live-root publication after callbacks; separate body
|
||||
integration210 from world-response1D0. Verify successful fence/ladder entry,
|
||||
animation-end/fallback completion and4255C0 hazard/impulse ownership before
|
||||
broader Jimmy body admission. The incomplete success-probe experiment is
|
||||
preserved under ignored artifacts/jimmy-special-contact/success; it is not
|
||||
conformance evidence or part of the committed dispatcher tool.
|
||||
3. Recover dynamic pair eligibility/shared context and original support metadata;
|
||||
replace the lab/outside capsule in an independently verified route chunk.
|
||||
4. Complete animation/camera/retained helper/cadence comparison on a working
|
||||
original installation and native Windows. The user's preserved movement
|
||||
baseline remains authoritative among unverified port alternatives.
|
||||
|
||||
### Cross-system regression interpretation
|
||||
|
||||
Original AddEuler stores small negative pitch near360; Bubble's test/smoke checks
|
||||
now compare signed angular direction rather than requiring a negative stored
|
||||
number. Its fire/throttle and source target sign stay unchanged. Source-supported
|
||||
Grappler attachment also exposes phase composition: fresh input writes Vy100,
|
||||
then the ordinary ground controller subtracts250, producing−150; retained late
|
||||
input writes100 after that publication. The existing ground native positive-Vy
|
||||
case proves this subtraction. Managed attachment checks now distinguish those
|
||||
orders. Control loss still runs the body, but a supported root need not move;
|
||||
its regression checks the physics count/support/ownership instead of inventing
|
||||
an airborne displacement. Grappler completion/other callbacks are not inferred
|
||||
from these tests.
|
||||
@@ -0,0 +1,72 @@
|
||||
# Jimmy facing interpolation and full Euler seams
|
||||
|
||||
2026-11-04. This source-backed helper closes an integration dependency of the
|
||||
ordinary movement audit. The current playable port remains the baseline. No
|
||||
JN-Engine native movement/controller constants were adopted.
|
||||
|
||||
## Recovered original contract
|
||||
|
||||
Authoritative EXE SHA256
|
||||
`f5281076e1a2492f2d61f87aae3f4544b6d0f535ebe33f9fbb6f78710fe1aea8`.
|
||||
Code VAs below have independently mapped file offset VA−400000. New extractor
|
||||
jimmy_orientation.py records three bounded ranges, hashes and two double factors.
|
||||
|
||||
| VA / file offset | Contract |
|
||||
|---|---|
|
||||
|43A420..43A5CF /3A420..3A5CF|Jimmy game-interface3D8 facing.475CA0 gameplay gate, +5 enabled, +A dirty control execution. Clear dirty, read current224/228/22C and retained target274/278/27C. Unequal axes reassert dirty; current/target remain distinct state.|
|
||||
|43A4A4..43A58C /3A4A4..3A58C|For each target−current difference, wrap strictly>180 by−360 and strictly<−180 by+360 once. ±180 retain sign. Pitch/yaw deltas have explicit float stack stores; roll's difference remains on x87 until final argument publication.|
|
||||
|43A58C..43A5C2 /3A58C..3A5C2|Multiply differences by supplied float dt, then double4.5 for pitch/roll (4AFD38), double3.7 for yaw (4AFCF0), store each resulting delta as float parameter and invoke334. There is no small-step snap or gain clamp.|
|
||||
|458F90..458FB6 /58F90..58FB6|Jimmy334 wrapper repeats gameplay gate, then forwards XYZ float parameters to472480.|
|
||||
|472480..472570 /72480..72570|Add angles and preserve original asymmetric negative truncation and strict>360 single wrap. Existing RocketOrientation.Add models this leaf; zero steps can normalize negative angles.|
|
||||
|473240→47328D /73240→7328D|Shared base updater invokes game3D8→43A420.43796A calls40E050 before437A1B raw-owner identity check. Facing is thus a base phase independent of movement input acceptance. Body/registry/callback ordering still belongs to caller.|
|
||||
|
||||
Jimmy vtable4A373C+334 binds458F90 and+3D8 binds43A420. The probe uses these
|
||||
original wrapper/leaf bodies with a synthetic game-interface object and active
|
||||
475CA0. No global game entrypoint or actor/controller/body path executes.
|
||||
|
||||
## Why this matters for live integration
|
||||
|
||||
LabSimulation previously interpolated raw targetPitch−Pitch and targetRoll−Roll
|
||||
with float4.5, while yaw used IEEERemainder and float3.7. Source AddEuler used by
|
||||
movement canonicalizes all axes, so a recovered pitch/roll338 must approach0
|
||||
through360. A raw difference would instead rotate338 toward0 the long way.
|
||||
This can create an artificial spin after a slope/vehicle/Bubble tilt. Source
|
||||
native338→0 at60Hz produces339.65 on both pitch/roll, preserving the short arc.
|
||||
|
||||
New JimmyOrientation.Step(current,target,dt,enabled=true,dirty=true) returns the
|
||||
new full Euler and leaves destination state untouched. It supports ordinary
|
||||
movement and existing Bubble facing; no targets are invented/reset by the helper.
|
||||
X/Y delta rounding, factor widths and AddEuler parameter publication are preserved
|
||||
with double intermediates and explicit float argument casts. Disabled/clean gates
|
||||
return current unchanged. Caller owns actual enabled/dirty fields and scheduling;
|
||||
this pure API does not infer either from input ownership.
|
||||
|
||||
Parent owns LabSimulation integration: apply this once in the recovered base
|
||||
phase, after fresh input and before ordinary controlled apply, while retained
|
||||
input remains after player/fire. Remove duplicate naive interpolation. Exact
|
||||
base-wrapper/dirty flag state and unsupported class modes remain separate gates.
|
||||
|
||||
## Evidence and verification
|
||||
|
||||
Parent's retained REA inspect_with_objdump Evidence
|
||||
`ev_0d64cc58fa8f5573fc8e61e0f2c20e36288099212bd2257d3a3121361fd6c904`
|
||||
contains the complete original disassembly. Bundle:
|
||||
artifacts/jimmy-movement-audit/rea-original-disassembly.json. The focused source
|
||||
instructions/caller are retained under artifacts/jimmy-orientation-audit. The
|
||||
same routine may not be recognized as a Ghidra procedure under the default profile;
|
||||
no unchanged failed pseudocode selector was repeated. This evidence establishes
|
||||
bytes/instructions, not original gameplay runtime.
|
||||
|
||||
The isolated copied-original probe executes43A420/458F90/472480 and records16
|
||||
cases: ordinary axes,338→0 leveling, both359/1 seams, negative angles, exact±180,
|
||||
>180, canonical360, fractional input/double arithmetic, small-angle/no-snap,
|
||||
120-tick settling, upright and enabled/dirty/zero-dt gates. Wine32 exits0 with
|
||||
JIMMY_ORIENTATION_COMPLETE. Source/generator/shared-map-helper/generated EXE/log
|
||||
hashes are committed in original-orientation-reference.json. Native outputs and
|
||||
capture metadata are under artifacts/jimmy-orientation-audit/probe.
|
||||
|
||||
Two managed groups compare all16 observations and verify retained target state.
|
||||
Two Python groups guard identity, ranges/offsets, double factors, complete fixture
|
||||
and provenance/gates. This is component execution plus managed conformance, not
|
||||
whole-original/native Windows gameplay, full animation/visual-root parity or a
|
||||
complete scene registry/cadence implementation. Parent records live verification.
|
||||
+29
-1
@@ -1,4 +1,32 @@
|
||||
# Progress — 2026-11-04
|
||||
# Progress — 2026-11-05
|
||||
|
||||
## Jimmy controller conformance checkpoint
|
||||
|
||||
User pauses gadget expansion and prioritizes Jimmy movement, preserving our
|
||||
playable baseline over JN-Engine's tuned movement. Integrated recovered ground/
|
||||
air input and velocity, shared keyboard-turn latch, full-axis base facing before
|
||||
control gating, exact jetpack hold comparison and gravity intermediate.108 saved
|
||||
original component outputs match managed checks:25 ground,35 air,16 facing,
|
||||
32 jump. REA retained complete original instructions; native component runs are
|
||||
separate from whole-original gameplay.27 special-contact dispatch and12 missing
|
||||
air-target observations are documented, with explicit implementation gates.
|
||||
|
||||
26 integrated movement groups,20 body groups and13 Jimmy evidence guards pass.
|
||||
Input-only lab and two-way underground routes pass. A pressure/capsule stair
|
||||
regression was caught and its evidence retained: source−250 Vy requires an actual
|
||||
support polygon and remains disabled in the lab/outside capsule. Native Linux
|
||||
1920×1080 SDL walking and powered flight pass all five jump aliases, with resize,
|
||||
received-key checks, identical final readbacks per replay and zero validation
|
||||
errors. Native Carl/control-phase and9-stage Grappler replays also pass. Source
|
||||
angle normalization required signed-direction Bubble assertions; supported
|
||||
Grappler tests now distinguish fresh−150 versus late100 velocity publication.
|
||||
|
||||
Continuation/coverage: [Jimmy movement](gameplay/jimmy-movement-stabilization.md).
|
||||
Next: ordinary-air destination Euler plus actor-root render bridge, followed by
|
||||
root-changing/special/dynamic contacts before broader source-body admission.
|
||||
The incomplete successful-climb probe is preserved in ignored artifacts, not
|
||||
claimed as verified. All investigator file ownership has returned to primary.
|
||||
No new gadget work, broad body replacement or complete movement parity is claimed.
|
||||
|
||||
## Scooter pitch and dismount follow-up
|
||||
|
||||
|
||||
@@ -5,6 +5,14 @@ offsets, virtual addresses, API symbols or observed behavior. Decompiled output
|
||||
evidence, not original source. Original gameplay has not yet been observed successfully; isolated original DLL
|
||||
probes and modern runtime checks are recorded separately.
|
||||
|
||||
- [Jimmy movement stabilization](gameplay/jimmy-movement-stabilization.md):
|
||||
current priority, preserving our playable controller over JN's tuned replacement.
|
||||
Ground/air/facing/jump reports record108 native component observations matched
|
||||
by managed implementations,27 special-contact eligibility observations and12
|
||||
recovered air destination writes. The last two are investigation evidence;
|
||||
special-body and ordinary air-pitch/render integration remain open. REA's
|
||||
complete original instruction Evidence and offsets are linked in those reports.
|
||||
|
||||
- `gameplay/grappler-live.md`: boundedVR08 integration/coverage and runtime
|
||||
evidence. `grappler-body.md` records shared sphere context and41 native cases;
|
||||
`grappler-camera.md`, `grappler-resources.md`, `grappler-lifecycle.md` record
|
||||
|
||||
@@ -46,6 +46,23 @@ compile, runtime and original-fidelity verification are separate.
|
||||
|
||||
## Immediate continuation
|
||||
|
||||
- [ ] Current priority: stabilize Jimmy's ground/air input, facing, jump/landing,
|
||||
body/contact response and route/control transitions before more gadgets. Keep
|
||||
our movement baseline; JN-Engine is an original-code index, not a movement model.
|
||||
See gameplay/jimmy-movement-stabilization.md for bounded evidence/verification gates.
|
||||
|
||||
- [x] Jimmy controller arithmetic/facing checkpoint: source ground/air components,
|
||||
shared keyboard latch, control-independent full-axis facing, exact jump hold and
|
||||
gravity intermediates.108 saved original component observations match managed
|
||||
checks. Capsule compatibility remains explicit; broad collision is not complete.
|
||||
- [ ] Next Jimmy chunk: source ordinary-air destination pitch/roll and retained
|
||||
mode fields together with the actor-root visual bridge.12 original target writes
|
||||
are recorded; do not silently enable physics tilt without matching presentation.
|
||||
- [ ] Then verify root-changing contact publication, world-response/integration
|
||||
flags, successful fence/ladder completion, hazard/impulse and dynamic eligibility
|
||||
before replacing the lab/outside capsule.27 dispatch cases establish eligibility
|
||||
only; the unfinished successful-climb harness remains ignored investigation work.
|
||||
|
||||
- [x] Scooter feedback: Goddard gradually levels pitch/roll after tilted dismount;
|
||||
engine uses missing source positional frequency/history correction.13 Scooter,
|
||||
2 audio,10 Patrol and24 Python groups plus native input replays pass. See
|
||||
|
||||
Reference in new issue
Block a user