Compare commits

..
2 Commits
24 changed files with 2902 additions and 9 deletions

No files matched your search

@@ -15,9 +15,11 @@ the following body pass. Neither control loss nor restoration invents a key flus
PlayerSceneBinding connects raw-owner preparation events to speed/velocity and
supported gadget cleanup, and publishes the simulated root while uncontrolled.
Authored AI transforms update the body too, preventing a later physics publish
from overwriting the script's teleport. Destination yaw is preserved. Pitch/roll
remain director-owned; Jimmy's render/controller still uses the existing yaw
adapter. Initial MCA preparation occurs once, with its first-name guard; later
from overwriting the script's teleport. Authored current writes preserve the
facing destination. The later full-Euler bridge publishes all axes; CAM/MCA
preparation now replaces destinationXYZ with the upright current heading too.
See [rotation feedback](../gameplay/jimmy-rotation-handoff.md).
Initial MCA preparation occurs once, with its first-name guard; later
shots do not repeat it. AI and CAM use their own callback order. STOP notification
follows physical preparation. DEFAULT grants control without preparation.
+6
View File
@@ -1,5 +1,11 @@
# Core architecture coverage map
2026-11-05 handoff correction: CAM/MCA destination state at game+274 is now reset
along with current Euler (20 original-component cases; managed/native Linux
handoff checks). Neutral ground input separately retains residual bank in seven
original trajectories; whole-frame landing comparison remains open. See
[rotation handoffs](../gameplay/jimmy-rotation-handoff.md).
Checkpoint scope: lab → tutorial VR04 → lab → outside, including intro,
explanation, pickup/practice, RETURN, Carl conversation and exit. This compares
source contracts with the current port and preserved playable baseline69d0187,
+9 -2
View File
@@ -9,8 +9,8 @@ corrected its sign-extended byte−1 comparison anchor and added tests/report.
| Boundary | Proven order and source sites |
|---|---|
|CAM with PlayerControlled=NULL|Guard prior raw owner416635;43841665D→41041666B→flatten logical/cached Euler(0,yaw,0)41667E..4166E5→game118(NULL)4166F4. Target lookup occurs later416754. Preparation can precede a missing target/sound failure.|
|Initial MCA activation|First target name `none` guard431300 exits before preparation. A non-none name reaches initial target/animation prelude; missing lookup can continue. Prior owner guard431502;410431512→flatten Euler431525..431578→438431598→game118(NULL)4315A7. Per-shot helper invoked431600.|
|CAM with PlayerControlled=NULL|Guard prior raw owner416635;43841665D→41041666B→flatten current/destination Euler(0,currentYaw,0)41667E..4166E5→game118(NULL)4166F4. Target lookup occurs later416754. Preparation can precede a missing target/sound failure.|
|Initial MCA activation|First target name `none` guard431300 exits before preparation. A non-none name reaches initial target/animation prelude; missing lookup can continue. Prior owner guard431502;410431512→flatten current/destination Euler431525..43158D→438431598→game118(NULL)4315A7. Per-shot helper invoked431600.|
|Later MCA shot|CompleteE0→431750; target/sound/animation work, no410/438 or raw control clear. The sound−1 check431771 sign-extends one immediate byte, not a four-byte immediate.|
|AI PlayerControlled=NULL|Prior raw owner guard40C4AD→41040C4B9→game118(NULL)40C527; no438 or flatten. Named AI ownership remains an older port interpretation requiring broader proof.|
|DEFAULT|447D5C checks whether Jimmy already owns raw control;447E27 restores via118 without410/438. No new key-release boundary is implemented. Music uses authored ownership independently of debug force.|
@@ -38,3 +38,10 @@ animation prelude, all other class virtual effects and full shared camera state
are not certified by this chunk. Existing named control behavior is preserved,
not newly recovered here. Three byte/projection tests and coupled managed
director/body tests guard the implemented ordering and boundaries.
2026-11-05 correction: game+274 is the facing destination, not an independent
render cache. CAM/MCA copy `(0,currentYaw,0,currentW)` into both current and
destination vectors without touching dirty. See
[exact rotation handoff](../gameplay/jimmy-cutscene-rotation-source.md) for20
isolated original-code cases and the recovered fix. STOP alone, AI NULL and
DEFAULT retain their existing separate policies.
+13
View File
@@ -1,5 +1,18 @@
# Compatibility and validation
Rotation handoff feedback (2026-11-05): CAM/MCA clear both live and destination
pitch/bank while preserving current yaw/dirty.20 isolated original cases compare;
managed real banked-jump handoffs and native Linux control restoration pass.
Seven source grounded-input/facing trajectories reproduce residual idle tilt,
so no generic landing snap was introduced. Whole-original frame/native Windows
comparison remains open. See [handoff](gameplay/jimmy-rotation-handoff.md).
Rotation packages identify clean dae13ac;519 original copies,4285 scene resources
and seven prepared audio files match per platform. Standalone Linux handoff passes
with three identical development readbacks and zero Vulkan validation errors.
All336 Python/targeted managed checks pass;539 originals unchanged. Windows is
cross-published/resource-verified, not native runtime-verified.
Turning/fire feedback (2026-11-05): source left/right turn clips restored for
low-speed grounded turning; jetpack fire now shares full owner pitch/yaw/roll
and visual alignment. Player visual/movement/data/director/jetpack/Python checks
+9
View File
@@ -347,3 +347,12 @@ assets and generated packages stay excluded.
translation branch. Preserve inactive-path context. Retain the lab/outside
capsule until real Jimmy callbacks and multi-frame/dynamic ownership are proven.
See checkpoint/body-contact-implementation.md.
51. **Camera orientation preparation replaces the facing destination too.**
Source CAM/MCA flatten current and game+274 destination to current yaw with
pitch/roll0; direct writes preserve facing dirty. Reset both on that existing
preparation boundary, not on every input lock/STOP/DEFAULT.20 isolated native
cases verify this state ownership. Neutral grounded input instead retains
residual destination bank in seven source trajectories; no unproven universal
landing snap is added. Another whole-frame writer or original quirk remains
open. See gameplay/jimmy-rotation-handoff.md and its two source reports.
@@ -0,0 +1,102 @@
# Jimmy cutscene rotation: source ownership
2026-11-05. User reports that jumping at an angle into cutscene triggers retains
Jimmy's airborne tilt. This investigation identifies a direct source mismatch,
not a new global "cutscenes upright" policy.
## Source and provenance
Original Neutron.exe SHA256
`f5281076e1a2492f2d61f87aae3f4544b6d0f535ebe33f9fbb6f78710fe1aea8`.
REA retained complete instruction Evidence
`ev_0d64cc58fa8f5573fc8e61e0f2c20e36288099212bd2257d3a3121361fd6c904`,
artifacts/jimmy-movement-audit/rea-original-disassembly.json, supplies the exact
instruction windows. `tools/binary/jimmy_cutscene_rotation.py` independently
checks original identity and seven complete instruction-range hashes; optional
`--rea-disassembly` retains matching extracts in its generated source.json.
Preferred VA400000; raw offsets below are VA minus400000, independently checked
against PE section mapping. This uses existing REA evidence rather than repeating
the previously unsupported native selectors.
## Recovered facts
Jimmy game interface is complete+C0. Current Euler is game224/228/22C/230,
complete2E4/2E8/2EC/2F0. Destination Euler is game274/278/27C/280,
complete334/338/33C/340. Byte game+A is facing dirty; byte+5 is facing enabled.
| Original boundary | Current and destination ownership |
|---|---|
|CAM NULL control:416671..4166EB, file16671..166EB|Read current full Euler through328 at41667E→4723F0. Build `(0,current.Y,0,current.W)`. Direct-write destination at4166A0..4166C9, then full current setter32C at4166E5→472450. Neither operation writes dirty or calls destination setter36C.|
|Initial MCA:431518..431590, file31518..31590|Read328 at431525; build the same flat Vec4; write current32C at431565, then direct-write destination431578..43158D. Preserve dirty.|
|Current full setter32C→472450, file72450|Copies all four values to game224..230; does not touch destination/dirty. Distinct from current XYZ setter330→472420.|
|Destination XYZ setter36C→472660, file72660|Writes destinationXYZ and sets dirty+A=1. Camera suffixes bypass this setter; using it would introduce a dirty-state change absent from source.|
|Facing43A420, file3A420|Global-ready475CA0, enabled+5, dirty+A gate. On acceptance, clears dirty first, compares before-step current/target axes, marks dirty for any unequal axis, adds per-axis angular deltas through334. Runs before Jimmy's raw-control gate437A1B.|
The old [preparation report](../checkpoint/cutscene-preparation.md) called
game274 a "cached Euler". The later [target-state recovery](jimmy-air-target-state.md)
identifies this same storage as the live facing destination. These camera writes
therefore replace the **whole destination**, including Y with current Y; they do
not merely cache an independent render rotation. Full W is copied too, though the
port currently models orientationXYZ only.
CAM's broader order remains438 cleanup→410 stop→orientation writes→clear raw
control. MCA starts410 stop→orientation writes→438 cleanup→clear raw control.
Their prior-owner guards still apply. Initial MCA's first-name `none` guard exits
before this path; subsequent shots do not repeat it. Generic AI NULL ownership
40C4AD..40C527 only stops motion and clears control: **no flattening**. DEFAULT
restores control without flattening/preparation. Animation STOP is also separate
from these orientation writes. Do not flatten on every input lock, shot, action
change, or missing controller tick.
## Port mismatch and implementation contract
At investigation start, LabSimulation.FlattenOrientation only set Pitch=Roll=0;
it left destinationEuler at the airborne target. The newly restored full-Euler
facing bridge legitimately runs while uncontrolled. Its next step therefore
interpolates Jimmy back toward the stale airborne pitch/bank and possibly old
heading. The source camera path overwrites that stale target at the handoff.
Replace currentXYZ and destinationXYZ with `(0,currentYaw,0)` on this existing
FlattenOrientation boundary, preserving facingDirty/facingEnabled and all motion,
impulse, jump/hold/fire and pitch seeds. Preserve named-authored/current writes as
separate ownership; do not make arbitrary current setter writes reset destination.
The existing CAM/MCA order and prior-owner guards remain authoritative. Parent
owns integration and managed/native port checks.
## Verification boundary
The source guard passes against authoritative bytes. The bounded native probe
executes the copied original orientation suffixes with the actual328/32C leaves,
then the actual43A420 facing leaf and334 Euler-add chain, using synthetic owner
storage/vtables and a forced-ready global facing gate. It does not execute game
entrypoints, camera activation, actor registry, body, inputs, gadget cleanup or
renderer. All execution is in the generated copy with Original unmounted and
network disabled. All20 native cases pass (CAM/MCA × five initial Euler pairs × dirty0/1).
Each suffix changes exactly the full current/destination vectors in the synthetic
object; all other sentinel bytes, including enabled/dirty, are preserved. Before
facing, current and target both equal `(0,oldCurrent.Y,0,oldCurrent.W)`; after
one real facing pass dirty is0, and after30 passes the same upright vectors
remain. Cases cover positive tilt, actual powered-flight-style wrapped tilt,
negative tilt, heading359 with target1, and heading360 with target0. Initial
current/targetW differ, proving the source copies currentW into both.
Artifacts: artifacts/jimmy-cutscene-rotation/build/source.json,
probe/wine.log, probe/capture.json, native-observations.json. The JSON retains all
before/prepared/after-facing/after30 vectors and dirty bytes for managed
comparison. First3s capture only created the Wine prefix; repeating with12s allowed
initialization and completed with exit0 and the required marker. This is a native
original-component execution under Wine32, not whole-game/runtime Windows parity.
```sh
python3 tools/binary/jimmy_cutscene_rotation.py ../Original \
--rea-disassembly artifacts/jimmy-movement-audit/rea-original-disassembly.json \
--generate-probe artifacts/jimmy-cutscene-rotation/build
i686-w64-mingw32-gcc -O0 -Wall -Wextra -Wl,--image-base,0x10000000 \
-I tools/binary artifacts/jimmy-cutscene-rotation/build/jimmy_cutscene_rotation_probe.c \
-o artifacts/jimmy-cutscene-rotation/build/probe.exe
python3 tools/recon/reference_capture.py --asset-probe \
--probe-executable artifacts/jimmy-cutscene-rotation/build/probe.exe \
--probe-success JIMMY_CUTSCENE_ROTATION_COMPLETE --seconds 12 \
--output artifacts/jimmy-cutscene-rotation/probe
```
@@ -0,0 +1,118 @@
# Jimmy landing → idle orientation ownership
2026-11-05. User reports a slight bank/pitch can remain after landing without
further movement. This investigation tests the original paths rather than
assuming that support implies an upright snap. Parent owns runtime integration.
## Evidence and coordinate owners
Original Neutron.exe SHA256
`f5281076e1a2492f2d61f87aae3f4544b6d0f535ebe33f9fbb6f78710fe1aea8`.
Retained complete REA instruction Evidence
`ev_0d64cc58fa8f5573fc8e61e0f2c20e36288099212bd2257d3a3121361fd6c904`,
artifacts/jimmy-movement-audit/rea-original-disassembly.json. This report reuses
that observation; it does not claim a new Ghidra decompile. VA-to-file mapping
below is checked through PE sections (these EXE text offsets equal VA−400000).
JN-Engine's original C3DJimmy/C3DPlayer decompiler notes supplied leads only.
Current Euler is game224/228/22C (complete2E4/2E8/2EC). Destination Euler is
game274/278/27C (complete334/338/33C); game+A (completeCA) is facing dirty.
Destination setter36C→472660 storesXYZ and sets dirty. Jimmy facing43A420
reads current/destination independently and runs before controlled-player gating.
There is no small-error snap in that recovered interpolator.
## Grounded and idle transitions
| Original VA / file offset | Recovered behavior |
|---|---|
|438A60..438B9E /38A60..38B9E|Input dispatch uses retained movement mode game704. Mode0 selects ordinary ground handler438BC0; mode1/2 selects439900. It does not itself reset current/destination Euler.|
|438BC0..43915D /38BC0..3915D|Complete ground handler prefix samples input, support/root, idle animation/sounds and camera-vector angles. No330/32C/36C Euler dispatch or direct current/destination Euler store occurs in this bounded prefix.|
|438F66 /38F66|Ground accepted-heading flag ESI starts0. Keyboard/accepted analog directions set it; neutral input need not do so.|
|43951E..439520 /3951E..39520|If ESI remains0, jump4395CF, skipping all destination writes. This preserves old destination pitch/roll/yaw and dirty state.|
|43957C,439599,4395C9 /3957C,39599,395C9|Accepted steering publishes pitch0/roll0 and the selected destination yaw through36C. Input, rather than the mere fact of standing, owns these upright destinations.|
|437AEA,437B12 /37AEA,37B12|Grounded/released wrapper calls complete140 when prior movement mode1, before the animation decision and resetting mode0/turn0 at437B9E..437BAC.|
|429910..429962 /29910..29962|Complete140 clears complete1E64/1E68, hides the A18 menu indicator except rawmode2 and stops A3C sound if valid. No current/destination Euler write occurs. The menu488 target403700 only hides two UI resources.|
|43B28A..43B2EB /3B28A..3B2EB|Accepted STOP selection uses generic animationE0 and clears acceleration278. It does not reset current/destination Euler; same-animation request returns earlier43AFF8..43B010.|
|40DD90..40DF79 /DD90..DF79|Generic animation start resolves the named morph, starts it and sets shape/timing. No Euler destination/current setter is dispatched in the resolved routine.|
|game37C→472970 /72970|Jimmy's body landing callback binding is the bare no-op/log stub, not an upright reset.|
The derived Jimmy input hook426030 also has a separate impact latch. Its support
query is4260AA, falling gate uses vertical thresholds at4260EF/4261B1 and sets
**game1D98** at4261C5 (complete1E58). On support42622D..42625E, it clears that
latch, plays soundC0 and calls complete1A0(-10,-10,5), the camera effect path.
This is not a rotation reset. Offset names in the friend's mixed-interface notes
must not be copied without the C0 adjustment. The pickup-halo AddEuler4264F8
writes the effect object1D94, not Jimmy. The426F47 Euler copy likewise targets
an attached action objectA10 from Jimmy's current Euler.
Ordinary air input439900 independently accepts support for speed decay, but
turn return439989..439A58 has no supported-axis reset. Its ordinary destination
439DB7..439E2D is `(acceptedPitch,currentYaw,-storedTurn)`. The last accepted air
input can therefore leave a small bank destination after turn0 is subsequently
written by the grounded wrapper. Neutral ground input alone does not replace it.
Earlier [Bubble recovery](bubble-motion.md) already records the analogous
no-input retention; this is not evidence for introducing a cleanup timer or snap.
## Rendering and scope
473540 converts current degrees to source14-bit angle units. The existing
JimmyRenderTransform already performs that quantization. The OMT hierarchy
retains full pitch/roll. The final OMT model-matrix decomposition remains its
previous precision gate; none of these static paths establishes a general
"grounded means upright" policy.
**Recovered:** the local writes, dispatch order and retention contracts above.
**Inference:** stale last-air bank can explain the reported freeze in the port
and is also possible through these source components. A full original frame
trace is still required to prove whether another scene writer intervenes in the
reported route. A component result is not that whole-game observation.
**Implementation:** parent owns any runtime change; do not silently insert a
landing snap and label it original behavior. The independently recovered CAM/MCA
flattening writes both current and destination and has a different owner.
## Guard and finite component verification
`tools/binary/jimmy_landing_rotation.py` guards original SHA, seven branch/field
anchors, five virtual bindings and eleven bounded range hashes. Optional retained
REA input verifies Evidence identity and lists all ground-prefix calls.
`jimmy_landing_rotation_probe.c` executes the original43915D..4395CF keyboard
suffix and actual43A420/458F90/472480 facing leaves with real472660 destination
setter and4723F0 getter. A synthetic actor/input phase replaces body, camera,
animation resources and full scheduling. It seeds a supported neutral-input
boundary after the last airborne destination publication, then records one and
300 input/facing passes; it does not execute full landing or whole gameplay.
All seven finite original-component cases complete successfully inside the
network/filesystem-isolated Wine32 generated copy. The final capture records
wineExit0 and `JIMMY_LANDING_ROTATION_COMPLETE`. Example observations:
- Neutral last-air target `(0,155,-5)` retains that destination; after300 passes,
current is approximately `(0,155,355)`. The five-degree bank survives.
- Neutral last-air forward target `(-40,290,-25)` retains it and settles to
`(320.000183,290,335.000183)`, rather than upright.
- Dirty0 with current `(10,155,15)` leaves that rotation unchanged for300 passes.
- Active Up publishes `(0,290,0)` and levels via the original interpolator;
Left likewise publishes zero destination pitch/roll while changing yaw.
The neutral suffix does not query support itself: caller selection of the ground
input path is the fixture boundary, not a newly observed whole landing callback.
`tools/binary/jimmy_landing_rotation_reference.json` retains all7 observations,
source range/byte/virtual guards, generated C/executable/shared harness/log hashes,
and capture exit metadata. Raw logs, generated source and executable are retained
under artifacts/jimmy-landing-rotation/. NoOriginal directory is mounted for the
probe and no original entrypoint executes. This confirms retention in the
specific original components and leaves another whole-frame writer explicitly
unresolved; it supplies no evidence-based justification for a universal land snap.
Reproduce static preparation:
```
python3 tools/binary/jimmy_landing_rotation.py ../Original \
--generate-probe artifacts/jimmy-landing-rotation \
--rea-disassembly artifacts/jimmy-movement-audit/rea-original-disassembly.json
```
Compile generated C with local i686-w64-mingw32-gcc and `-Itools/binary`; execute
only through tools/recon/reference_capture.py's `--asset-probe` boundary with
`--probe-success JIMMY_LANDING_ROTATION_COMPLETE`. Parent owns regression-test
placement and runtime decisions; no shared/runtime file was edited by this agent.
+93
View File
@@ -0,0 +1,93 @@
# Jimmy rotation at script and ground handoffs
2026-11-05. User reports jumping at an angle into cutscene triggers leaves Jimmy
tilted, and a slight tilt can also remain after landing and standing still.
## Recovered cutscene correction
[Original camera ownership](jimmy-cutscene-rotation-source.md) records REA
Evidence, original addresses/file offsets, callers, vectors and native execution.
CAM416671..4166EB and initial MCA431518..431590 explicitly flatten both current
Euler and facing destination, preserving current yaw and the dirty flag. Their
direct game+274 writes were previously described as a render cache; the air
bridge correctly identified them as destination state but missed this handoff.
The port only flattened current Euler. Control-independent facing then consumed
the stale airborne target and restored the tilt (and sometimes the prior yaw).
LabSimulation.FlattenOrientation now replaces currentXYZ and destinationXYZ with
`(0,currentYaw,0)` without calling the dirty-setting destination setter. Existing
CAM/MCA preparation ordering, prior-owner guards, AI NULL/DEFAULT differences,
held input, queued motion and fire lifecycle remain intact. Authored transforms
still change current Euler independently of destination; no generic control-loss
or per-frame orientation clamp is introduced. Original orientation W is verified
by the probe but remains outside the port's XYZ orientation model.
## Landing investigation
[Landing source investigation](jimmy-landing-rotation-source.md) records its
separate boundary. Neutral ground input retains its prior destination; ground
apply, STOP, the landing notification and the derived impact latch do not supply
a proven leveling reset. This differs from the directly evidenced camera reset.
Do not invent an unconditional grounded snap from this symptom. Seven copied-original300-tick ground-input/facing trajectories reproduce
retention: destination `(0,155,-5)` retains roll355 after300 neutral passes;
active Up/Left replaces X/Z targets and levels. The managed ground tests compare
all seven source trajectories. These are component observations, not a whole
original frame trace: another unobserved frame writer or an original quirk remains
open. No landing policy is changed without that evidence.
## Verification
The old implementation fails the new director regression at the pending target.
Eight integrated cases cover CAM/original lab Carl MCA, both input/player orders,
and clean/dirty facing. They enter real banked jumps, verify immediate current/
destination flattening and unchanged dirty/impulse, then run120 locked body ticks
without reintroducing tilt. Additional checks compare20 saved native camera
preparation/facing XYZ/dirty outputs, including negative/wrapped Euler and yaw
seams. These comparisons seed dirty through live input; the native probe's whole
object comparison separately proves independence from the old destination and W.
The saved fixture includes original range and probe provenance hashes.
Native Linux SDL/Vulkan --smoke-control-phases now first creates a real8-tick
banked jump before triggering the original Carl MCA. It asserts both current and
destination are leveled while dirty survives the handoff, verifies they remain
upright through15 locked body/fire/energy ticks, and checks held-input resumption.
It saves locked-start/locked-fall GPU captures. The Carl lock and powered VR04
replays remain regression checks. Artifacts: artifacts/jimmy-rotation-handoff/.
28 movement groups, extended Director tests, original25 ground observations plus
seven trajectories,14 jetpack groups and both visual groups pass. Build passes
with zero warnings/errors using NuGetAudit=false (the first default-audit attempt
reported unavailable network metadata). Native Linux banked handoff/Carl lock/
powered jetpack runs pass with zero Vulkan validation errors. The jetpack replay
requires explicit VR04; an initial default-lab invocation was rejected by its
existing argument guard before rendering and the corrected replay passes.
All336 Python tests pass, including new camera/landing source and native-fixture
provenance guards. The initial managed fixture name collision was corrected
before the final Director run. Package results follow below.
These are static-source, isolated original-component and port-runtime checks.
They do not establish whole-original frame scheduling or native Windows parity.
## Packages and final boundary
Both self-contained packages identify clean runtime commit
`dae13ace7391671aee7082c662bb798b285b9124`. Each verifies519 original copies,
4285 prepared scene/resource files and seven prepared audio files. The539 source
originals remain unchanged. Provenance is in
artifacts/jimmy-rotation-handoff/package-identity.json. The earlier turn/fire
package resource count likewise excluded those audio files; no new assets are
introduced by the orientation correction.
Standalone Linux from /tmp with SDK variables unset passes the banked Carl
handoff/body-fire continuation/control-resumption replay with zero Vulkan
validation errors. All three packaged handoff GPU captures match development
byte for byte. The three powered-flight development captures also match the
previous turn/fire runtime exactly. Hashes/logs are retained as
package-readbacks.json, package-control-phases.log and jetpack-readbacks.json.
Windows is cross-published/resource-verified; native Windows and whole-original
frame comparison remain outstanding. Validation docs are added after packaging;
BUILD-INFO preserves the clean runtime commit above.
The landing report remains an investigation outcome, not an implemented landing
correction: verified components preserve neutral bank and do not provide the
missing whole-frame observation. Any automatic landing leveling requires further
original evidence or an explicit decision to diverge from the recovered behavior.
+22
View File
@@ -3,6 +3,28 @@
Workflow update: the user authorizes pushing completed, verified commits to the
existing `Gitea/main` upstream from now on. See docs/decisions.md and AGENTS.md.
## Jump tilt at cutscene and landing handoffs
Recovered CAM/MCA direct writes flatten both current and destination Euler to
(0,currentYaw,0), preserving dirty; the old port cleared current only, allowing
uncontrolled facing to restore the airborne tilt. Fixed that existing boundary,
with20 isolated original-code cases, eight integrated handoff cases, and the
native banked Carl/control-restoration replay passing. Input, body and fire
ownership remain separate; see [handoff](gameplay/jimmy-rotation-handoff.md).
The separate idle-after-landing report has seven original ground-input/facing
trajectories: neutral input retains residual bank; active input levels normally.
No universal grounded snap is supported by those recovered paths, so no landing
policy was invented. Whole-original frame ownership remains an explicit question;
see [landing evidence](gameplay/jimmy-landing-rotation-source.md).
All336 Python tests and targeted managed checks pass; native Linux handoff,
Carl and powered-flight replays report zero validation errors. Both packages
identify clean dae13ac;519 original copies/4285 scene resources/seven audio files
verify each. Standalone Linux repeats the handoff with three matching GPU captures;
three flight captures also match the prior runtime.539 originals unchanged.
Native Windows/whole-original frame comparison remain open.
## Turning animation and jetpack attachment feedback
Restored supplied six-frame jimleft/jimright clips to default preparation and
+10
View File
@@ -46,6 +46,16 @@ compile, runtime and original-fidelity verification are separate.
## Immediate continuation
- [x] User airborne cutscene tilt: reproduce and recover CAM/MCA current plus
destination reset with dirty preserved; implement and verify20 original native
cases, both player/input orders and native Carl handoff/resumption. See
gameplay/jimmy-rotation-handoff.md.
- [x] Investigate landing-idle tilt: seven original-component trajectories retain
neutral residual bank and active steering levels. No supported universal snap.
- [ ] Whole-original landing-to-idle frame comparison: determine whether any other
writer levels the actor or residual bank is an original quirk. Preserve the
documented component evidence and keep this separate from the camera fix.
- [x] User feedback: restore original left/right turning animations and fix jetpack
fire following pitch/roll as well as yaw. Source guards, visual/pose tests and
native Linux rendering pass; see gameplay/jimmy-turn-fire-fixes.md.
+8 -1
View File
@@ -362,7 +362,14 @@ public sealed class LabSimulation
bubbleLoop=false; InteractionRadius=60; BodyFactor=OriginalBodySupport.JimmyFactor;
}
public void FlattenOrientation() { Pitch=Roll=0; }
public void FlattenOrientation()
{
//CAM4166A0..4166E5 / MCA431565..43158D copy (0,currentYaw,0)
//to both live Euler and destination274. This is a direct destination
//write: unlike36C, it preserves the existing facing-dirty byte.
Pitch=Roll=targetPitch=targetRoll=0;
targetYaw=Yaw;
}
private void StepFloorPolicy()
{
+25 -3
View File
@@ -681,11 +681,22 @@ internal static class Program
if (gadgetWindowSmoke) { interactions!.Inventory.SetState(0,3,1); interactions.Inventory.SelectGadget(3); }
if (controlPhaseSmoke)
{
//Enter with real airborne steering/destination state, rather
//than an upright fixture that cannot detect stale jump tilt.
for (var tick = 0; tick < 8; tick++)
playerBinding!.Step(new(true, false, true, false, true));
if (simulation.Grounded || !simulation.FacingDirty || simulation.FacingTarget.X >= 0 || simulation.FacingTarget.Z >= 0)
throw new InvalidOperationException("Control-phase fixture did not establish a banked jump");
var enteredRotation = simulation.Rotation;
interactions.Inventory.SetState(0, 3, 1); interactions.Inventory.SelectGadget(3);
simulation.ApplyRetainedLevelState(new("LV1B", 3, 1, .625f, 6.125f));
simulation.RestoreReturnRoot(simulation.ActorRoot + Vector3.UnitY * 200);
director.SyncActor(level.Player!.Tag!, simulation.ActorRoot, simulation.Rotation);
director.Trigger("neutron1a");
var preparedRotation = new Vector3(0, enteredRotation.Y, 0);
if (simulation.Rotation != preparedRotation || simulation.FacingTarget != preparedRotation || !simulation.FacingDirty)
throw new InvalidOperationException("MCA did not copy upright current/destination Euler while retaining dirty");
Console.WriteLine($"Control-phase banked entry: Euler={enteredRotation}, prepared={simulation.Rotation}, destination={simulation.FacingTarget}, dirty={simulation.FacingDirty}.");
}
if (practiceReturnSmoke && level.Code == "VR04")
{
@@ -844,6 +855,12 @@ internal static class Program
var toolsPaused = false; var toolsMoved = false; var toolsStopped = false; var toolsSaved = false; var toolsSystems = false;
var toolsEntry = simulation?.ActorRoot ?? Vector3.Zero;
var controlEntry = simulation?.ActorRoot ?? Vector3.Zero;
var controlRotation = simulation?.Rotation ?? Vector3.Zero;
var controlControllers = simulation?.ControllerSteps ?? 0;
var controlPhysics = simulation?.PhysicsSteps ?? 0;
var controlEffects = simulation?.EffectSteps ?? 0;
var controlJumps = simulation?.Jumps ?? 0;
var controlTurn = simulation?.TurnRate ?? 0;
var phasesLocked = false; var phasesResumed = false;
var gadgetChecks = new bool[7];
var gadgetEntry = simulation?.ActorRoot ?? Vector3.Zero;
@@ -1483,16 +1500,21 @@ internal static class Program
diagnostics.ObserveFrame(presentedAt - lastPresentedAt);
lastPresentedAt = presentedAt;
count++;
if (controlPhaseSmoke && (count == 1 || count == 15) && Option(args, "--screenshot") is { } phaseCapture)
renderer.SavePpm(Path.ChangeExtension(phaseCapture, count == 1 ? ".locked-start.ppm" : ".locked-fall.ppm"));
if (controlPhaseSmoke && count == 15)
{
phasesLocked = director is { Controlled: false, Playing: true }
&& simulation is { ControllerSteps: 0, PhysicsSteps: 15, EffectSteps: 15, Jumps: 0, Speed: 0, TurnRate: 0 }
&& simulation!.ControllerSteps == controlControllers && simulation.PhysicsSteps == controlPhysics + 15
&& simulation.EffectSteps == controlEffects + 15 && simulation.Jumps == controlJumps
&& simulation.Speed == 0 && simulation.TurnRate == controlTurn
&& simulation.Rotation == controlRotation && simulation.FacingTarget == controlRotation && !simulation.FacingDirty
&& simulation.ActorRoot.Y < controlEntry.Y && simulation.JetpackRemaining is > 0 and < 6.125f
&& simulation.Energy < 20 && Vector2.Distance(new(simulation.ActorRoot.X, simulation.ActorRoot.Z), new(controlEntry.X, controlEntry.Z)) < .001f;
director!.Skip();
}
if (controlPhaseSmoke && count == 30)
phasesResumed = director!.Controlled && simulation!.ControllerSteps == 15 && simulation.Travel > 1;
phasesResumed = director!.Controlled && simulation!.ControllerSteps == controlControllers + 15 && simulation.Travel > 1;
audio?.Pump();
sceneAudio?.Pump();
if (toolsSmoke)
@@ -1723,7 +1745,7 @@ internal static class Program
}
if (controlPhaseSmoke)
{
Console.WriteLine($"Control-phase fixture: locked input with body/fire/energy continuing={phasesLocked}; held-input resumption={phasesResumed}.");
Console.WriteLine($"Control-phase fixture: upright current/destination with locked input and body/fire/energy continuing={phasesLocked}; held-input resumption={phasesResumed}.");
if (!phasesLocked || !phasesResumed) return 2;
}
if (objectiveSmoke) Console.WriteLine($"Objective panel: time={objectivePanel!.Elapsed:F3}, pad={objectivePanel.PadVisible}, content={objectivePanel.ContentVisible}, offset={objectivePanel.YOffset:F3}.");
@@ -1,4 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup><OutputType>Exe</OutputType><TargetFramework>net10.0</TargetFramework><ImplicitUsings>enable</ImplicitUsings><Nullable>enable</Nullable><EnableDefaultCompileItems>false</EnableDefaultCompileItems></PropertyGroup>
<ItemGroup><Compile Include="Program.cs"/><Compile Include="../../src/GamePort/Assets/*.cs"/><Compile Include="../../src/GamePort/Game/*.cs"/><Compile Include="../../src/GamePort/Application/PreviewCharacterPlacement.cs"/><Compile Include="../../src/GamePort/Application/SceneActorVisuals.cs"/><Compile Include="../../src/GamePort/Application/SceneSpriteVisuals.cs"/><Compile Include="../../src/GamePort/Application/StaticSceneVisuals.cs"/></ItemGroup>
<ItemGroup><None Include="original-camera-rotation-reference.json" CopyToOutputDirectory="PreserveNewest"/></ItemGroup>
</Project>
+80
View File
@@ -1,5 +1,6 @@
using System.Buffers.Binary;
using System.Numerics;
using System.Text.Json;
using GamePort.Assets;
using GamePort.Game;
using GamePort.Application;
@@ -200,6 +201,79 @@ foreach (var kind in new[] { "3CAM", "3MCA", "3AIT" })
}
Console.WriteLine("PASS ordered CAM/MCA/AI preparations, body continuation, raw-owner force override and held-input restoration");
foreach (var retained in new[] { false, true })
foreach (var dirty in new[] { false, true })
foreach (var kind in new[] { "3CAM", "3MCA" })
{
var scene = kind == "3MCA"
? new SceneDirector(level, new TaskStates(save.Tasks), (_, _) => 10)
: new SceneDirector(new("LV1B", [Entity("3JIM", "JIM1"),
Entity("3CAM", "camera", ("PlayerControlled", "NULL"), ("CameraTarget", "JIM1"),
("SoundDatabase", "voice"), ("SoundIndex", 1))]), new TaskStates([]), (_, _) => 10);
var body = ControlBody();
body.InputAfterPlayerUpdate = retained;
using var binding = new PlayerSceneBinding(scene, body, new SceneInventory(new int[19]), "JIM1");
if (dirty)
{
for (var tick = 0; tick < 8; tick++) binding.Step(new(true, false, true, false, true));
Check(!body.Grounded && body.FacingDirty && body.FacingTarget.X < 0 && body.FacingTarget.Z < 0,
"Cutscene regression enters with a real banked jump and pending airborne destination");
}
// A direct authored yaw must replace the old destination Y at preparation too.
body.ApplyAuthoredTransform(body.ActorRoot, new Vector3(345, body.Yaw + 37, 12));
scene.SyncActor("JIM1", body.ActorRoot, body.Rotation);
var yaw = body.Yaw;
var controllers = body.ControllerSteps;
var physics = body.PhysicsSteps;
var impulse = body.PendingImpulse;
scene.Trigger(kind == "3MCA" ? "neutron1a" : "camera");
Near(body.Rotation, new(0, yaw, 0), "Camera preparation levels current Euler immediately");
Near(body.FacingTarget, new(0, yaw, 0), "Camera preparation also replaces every pending destination axis");
Check(body.FacingDirty == dirty && body.PendingImpulse == impulse && !scene.Controlled,
"Direct destination copy preserves facing dirty, queued impulse and source control lock");
for (var tick = 0; tick < 120; tick++)
{
binding.Step(new(true, false, true, false, true));
Near(body.Rotation, new(0, yaw, 0), "Uncontrolled facing cannot restore the old jump tilt or yaw");
Near(scene.FindActor("JIM1")!.Rotation, body.Rotation, "Director and rendered player share the prepared rotation");
}
Check(!body.FacingDirty && body.ControllerSteps == controllers && body.PhysicsSteps == physics + 120,
"Facing clears equal targets while locked body updates continue without player input");
}
Console.WriteLine("PASS CAM and original Carl MCA banked-jump preparation, destination yaw/dirty ownership and sustained control lock");
using (var reference = JsonDocument.Parse(File.ReadAllText(Path.Combine(AppContext.BaseDirectory, "original-camera-rotation-reference.json"))))
{
var cases = 0;
foreach (var observation in reference.RootElement.GetProperty("cases").EnumerateArray())
{
var initialOrientation = observation.GetProperty("before");
var dirty = initialOrientation.GetProperty("dirty").GetInt32() != 0;
var body = ControlBody();
if (dirty) body.Step(new(true, false, true, false, false));
//Camera preparation ignores the old target; actual banked-target
//ownership and the full scene callback chain are exercised above.
body.ApplyAuthoredTransform(body.ActorRoot, Euler(initialOrientation, "current"));
body.FlattenOrientation();
Compare("prepared");
body.Step(default, controlled: false);
Compare("after_facing");
for (var tick = 1; tick < 30; tick++) body.Step(default, controlled: false);
Compare("after_30");
cases++;
void Compare(string stage)
{
var expected = observation.GetProperty(stage);
Near(body.Rotation, Euler(expected, "current"), "Copied-original camera current XYZ: " + stage);
Near(body.FacingTarget, Euler(expected, "target"), "Copied-original camera destination XYZ: " + stage);
Check(body.FacingDirty == (expected.GetProperty("dirty").GetInt32() != 0), "Copied-original camera dirty: " + stage);
}
}
Check(cases == 20, "Complete original CAM/MCA camera rotation reference");
}
Console.WriteLine("PASS 20 copied-original camera preparation/facing XYZ and dirty outputs, including wrapped and negative Euler");
{
var jim = Entity("3JIM", "JIM1");
var command = Entity("3AIT", "move", ("PlayerControlled", "NULL"), ("AITarget", "JIM1"),
@@ -371,6 +445,12 @@ static LabSimulation ControlBody()
return new(new SceneCollision(floor), standing, new(0, 25, 0), 0);
}
static Vector3 Euler(JsonElement state, string property)
{
var values = state.GetProperty(property).EnumerateArray().Select(v => v.GetSingle()).ToArray();
return new(values[0], values[1], values[2]);
}
static GamEntity Entity(string kind,string tag,params (string Name,object Value)[] values)
{
var properties=new Dictionary<string,GamProperty>();
File diff suppressed because it is too large. Load diff
@@ -3,5 +3,6 @@
<ItemGroup><Compile Include="Program.cs"/><Compile Include="../../src/GamePort/Assets/*.cs"/>
<Compile Include="../../src/GamePort/Game/*.cs"/>
<None Include="original-ground-reference.json" CopyToOutputDirectory="PreserveNewest"/>
<None Include="../../tools/binary/jimmy_landing_rotation_reference.json" Link="original-landing-rotation-reference.json" CopyToOutputDirectory="PreserveNewest"/>
</ItemGroup>
</Project>
@@ -25,5 +25,45 @@ var idle=JimmyGroundMotion.Input(new(100,130),90,default);Check(idle.State.Targe
var fire=JimmyGroundMotion.Input(new(100,90),90,new(false,true,false,false,false,Fire:true),blockBackward:true);
Check(fire.State.Speed==65&&!fire.HeadingUpdated,"source parent fire acceptance gate suppresses backward");
Console.WriteLine("PASS heading publication and caller-owned backward/fire gate");
using var landing = JsonDocument.Parse(File.ReadAllText(Path.Combine(AppContext.BaseDirectory,"original-landing-rotation-reference.json")));
int trajectories = 0;
foreach (var c in landing.RootElement.GetProperty("cases").EnumerateArray())
{
var initial = c.GetProperty("before");
var current = Euler(initial,"current");
var target = Euler(initial,"target");
var dirty = initial.GetProperty("dirty").GetInt32()!=0;
var input = new PlayerInput(c.GetProperty("up").GetInt32()!=0,false,c.GetProperty("left").GetInt32()!=0,false,false);
var state = new JimmyGroundState(0,target.Y);
for (var tick=0;tick<300;tick++)
{
var ground = JimmyGroundMotion.Input(state,current.Y,input);
state = ground.State;
if (ground.HeadingUpdated) { target=new(0,state.TargetYaw,0);dirty=true; }
if (tick==0) Compare("after_input");
var prior = current;
current = JimmyOrientation.Step(current,target,1f/60,dirty:dirty);
if (dirty) dirty=prior!=target;
if (tick==0) Compare("after_facing");
}
Compare("after_300");
trajectories++;
void Compare(string stage)
{
var expected=c.GetProperty(stage);
var e=Euler(expected,"current");var t=Euler(expected,"target");
Near(current.X,e.X,stage+" pitch");Near(current.Y,e.Y,stage+" yaw");Near(current.Z,e.Z,stage+" roll");
Near(target.X,t.X,stage+" target pitch");Near(target.Y,t.Y,stage+" target yaw");Near(target.Z,t.Z,stage+" target roll");
Check(dirty==(expected.GetProperty("dirty").GetInt32()!=0),stage+" dirty");
}
}
Check(trajectories==7,"complete seven original grounded-input/facing trajectories");
Console.WriteLine("PASS7 original grounded-input/facing trajectories: neutral destination retention, dirty ownership and active steering leveling");
static Vector3 Euler(JsonElement state,string key)
{
var values=state.GetProperty(key).EnumerateArray().Select(v=>v.GetSingle()).ToArray();
return new(values[0],values[1],values[2]);
}
static void Check(bool condition,string name){if(!condition)throw new Exception(name);}
static void Near(float value,float expected,string name)=>Check(float.IsFinite(value)&&Math.Abs(value-expected)<.02f,$"{name}: {value} != {expected}");
+43
View File
@@ -0,0 +1,43 @@
from pathlib import Path
import hashlib
import json
import sys
import unittest
ROOT = Path(__file__).resolve().parents[1]
sys.path.insert(0, str(ROOT / 'tools/binary'))
from jimmy_cutscene_rotation import collect, REA_ID
class JimmyCutsceneRotationTests(unittest.TestCase):
def test_original_ranges_and_native_fixture_identity(self):
source = collect(ROOT.parent / 'Original')
reference = json.loads((ROOT / 'tests/GamePort.DirectorTests/original-camera-rotation-reference.json').read_text())
self.assertEqual(source['source_sha256'], reference['source_sha256'])
self.assertEqual(source['ranges'], reference['ranges'])
self.assertEqual(reference['rea_evidence_id'], REA_ID)
self.assertEqual(len(reference['cases']), 20)
for rel, expected in reference['provenance_sha256'].items():
if not rel.startswith('artifacts/'):
self.assertEqual(hashlib.sha256((ROOT / rel).read_bytes()).hexdigest(), expected, rel)
def test_native_observations_cover_both_cameras_and_dirty_states(self):
reference = json.loads((ROOT / 'tests/GamePort.DirectorTests/original-camera-rotation-reference.json').read_text())
for kind in ('CAM', 'MCA'):
for dirty in (0, 1):
cases = [c for c in reference['cases'] if c['kind'] == kind and c['before']['dirty'] == dirty]
self.assertEqual(len(cases), 5)
for case in cases:
before = case['before']
prepared = case['prepared']
self.assertNotEqual(before['current'], before['target'])
self.assertNotEqual(before['current'][3], before['target'][3])
self.assertEqual(prepared['dirty'], dirty)
self.assertEqual(prepared['current'], prepared['target'])
self.assertEqual(prepared['current'][1::2], before['current'][1::2])
self.assertEqual(case['after_facing']['dirty'], 0)
self.assertEqual(case['after_30'], case['after_facing'])
if __name__ == '__main__':
unittest.main()
+31
View File
@@ -0,0 +1,31 @@
from pathlib import Path
import hashlib
import json
import sys
import unittest
ROOT = Path(__file__).resolve().parents[1]
sys.path.insert(0, str(ROOT / 'tools/binary'))
from jimmy_landing_rotation import collect
class JimmyLandingRotationTests(unittest.TestCase):
def test_source_and_saved_native_trajectory_provenance(self):
reference = json.loads((ROOT / 'tools/binary/jimmy_landing_rotation_reference.json').read_text())
for key, value in collect(ROOT.parent / 'Original').items():
self.assertEqual(reference['source'][key], value, key)
self.assertEqual(hashlib.sha256((ROOT / 'tools/binary/grappler_scalar_probe.c').read_bytes()).hexdigest(),
reference['shared_harness_sha256'])
self.assertEqual(reference['capture']['captures'][0]['wineExit'], 0)
self.assertEqual(len(reference['cases']), 7)
cases = {c['name']: c for c in reference['cases']}
residual = cases['neutral_last_air_roll']
self.assertEqual(residual['after_input']['target'], residual['before']['target'])
self.assertEqual(residual['after_300']['current'][2], 355)
for name in ('forward_levels', 'left_levels'):
self.assertEqual(cases[name]['after_input']['target'][0::2], [0, 0])
self.assertEqual(cases['clean_tilt_retained']['before'], cases['clean_tilt_retained']['after_300'])
if __name__ == '__main__':
unittest.main()
+77
View File
@@ -0,0 +1,77 @@
#!/usr/bin/env python3
"""Guard original camera orientation suffixes and prepare a separate native probe."""
import argparse
import hashlib
import json
from pathlib import Path
import re
from checkpoint_script_state import EXE_SHA256, find_case, read_va
from pe_inspect import PE
REA_ID = 'ev_0d64cc58fa8f5573fc8e61e0f2c20e36288099212bd2257d3a3121361fd6c904'
RANGES = (
('CAM orientation suffix', 0x416671, 0x4166eb, 'ded5dc3a2eeb96b8a970ade5193f98c6fcfd565e031efb9ce807348c821f854b'),
('MCA orientation suffix', 0x431518, 0x431590, 'abfb135a13645f0388da3c44f592053a2738eb6c4399e8e66cade6d86c1892ab'),
('current Euler getter', 0x4723f0, 0x47241a, 'f576bd9ce9d110bc9f6228ad84351add5aa2ce0a5fd2bcbb6ac1873a69d588e8'),
('current Euler full setter', 0x472450, 0x472474, '28a62af15c1ebffac1313d212fc3279d73b6cab8a37aca55bf0b4c48ccc76e32'),
('Jimmy facing', 0x43a420, 0x43a5cd, '1080773fae9170a107488528780efcd349cb930ca8a33fc8a845358b95f9ad38'),
('Euler-add thunk', 0x458f90, 0x458fb0, 'f63412bcbafc82323cff26c093e41a457e40a5b60afd2ed5fed02340a4405b1a'),
('Euler-add leaf', 0x472480, 0x47265b, '77e017813241344ff0f6fdde80102d08774dd044ae65f29f48f999ccd1e03d3d'),
)
def collect(original, rea_disassembly=None):
pe = PE(find_case(Path(original), 'Neutron.exe'))
if hashlib.sha256(pe.data).hexdigest() != EXE_SHA256:
raise ValueError('Unsupported original EXE identity')
rows = []
for name, start, end, expected in RANGES:
actual = hashlib.sha256(read_va(pe, start, end-start)).hexdigest()
if actual != expected:
raise ValueError(f'Changed original {name}')
rows.append(dict(name=name, va=hex(start), file_offset=hex(pe.offset(start-pe.base)),
length=end-start, sha256=actual))
result = dict(source_sha256=EXE_SHA256, rea_evidence_id=REA_ID, ranges=rows,
current_euler='game+224..230', destination_euler='game+274..280',
dirty='game+A; unchanged by both orientation suffixes',
scope='Static byte guard; generated probe executes bounded copied suffixes, not camera activation or the whole game.')
if rea_disassembly:
bundle = json.loads(Path(rea_disassembly).read_text())
record = next(r for r in bundle['records'] if r['evidence_id'] == REA_ID)
assembly = record['raw_result']['stdout']
extracts = {}
for name, start, end, _ in RANGES:
lines=[]
for line in assembly.splitlines():
m = re.match(r'\s*([0-9a-f]+):', line)
if m and start <= int(m[1],16) < end:
lines.append(line)
if not lines:
raise ValueError(f'Retained REA misses {name}')
extracts[name]='\n'.join(lines)+'\n'
result['rea_extracts'] = extracts
return result
def generate(original, output, rea_disassembly=None):
original = Path(original).resolve()
output = Path(output).resolve()
if output.is_relative_to(original) or original.is_relative_to(output):
raise ValueError('Probe directory must be separate from originals')
result = collect(original, rea_disassembly)
output.mkdir(parents=True, exist_ok=True)
for name in ('jimmy_cutscene_rotation_probe.c', 'grappler_scalar_probe.c'):
(output/name).write_text(Path(__file__).with_name(name).read_text())
(output/'source.json').write_text(json.dumps(result,indent=2)+'\n')
return result
if __name__ == '__main__':
parser=argparse.ArgumentParser(description=__doc__)
parser.add_argument('original',type=Path)
parser.add_argument('--rea-disassembly',type=Path)
parser.add_argument('--generate-probe',type=Path)
args=parser.parse_args()
result=generate(args.original,args.generate_probe,args.rea_disassembly) if args.generate_probe else collect(args.original,args.rea_disassembly)
print(json.dumps(result,indent=2))
@@ -0,0 +1,56 @@
/* Original copied CAM/MCA orientation suffixes and real Euler/facing leaves.
Synthetic controlled owner, forced-ready global facing gate, no activation,
game entrypoint, body, renderer, gadget cleanup or input execution. */
#define main unused_grappler_main
#include "grappler_scalar_probe.c"
#undef main
typedef struct { float x,y,z,w; } Vec4;
static uintptr_t table[0x440/4];
#define VEC(o) (*(Vec4*)(object+(o)))
static void fix(uint32_t start,uint32_t end){
const uint32_t targets[]={0x5099e4,0x48d914,0x48e5b0,0x48e5c0,0x48e5c4,0x4afcf0,0x4afd38};
for(uint32_t a=start;a+4<=end;a++){
uint32_t v;memcpy(&v,AT(a),4);
for(unsigned i=0;i<sizeof(targets)/4;i++)if(v==targets[i]){v=(uintptr_t)AT(v);memcpy(AT(a),&v,4);a+=3;break;}
}
}
static void*entry(uint32_t start,uint32_t end){
unsigned char*code=VirtualAlloc(NULL,128,MEM_COMMIT|MEM_RESERVE,PAGE_EXECUTE_READWRITE);require(code!=NULL,"wrapper allocation");unsigned char*p=code;
emit_byte(&p,0x53);emit_byte(&p,0x55);emit_byte(&p,0x56);emit_byte(&p,0x57);
emit_byte(&p,0x81);emit_byte(&p,0xec);word(&p,0x80);
emit_byte(&p,0x31);emit_byte(&p,0xdb); /*ebx=0, as activation block*/
jump(p,AT(start));p+=5;unsigned char*finish=p;
emit_byte(&p,0x81);emit_byte(&p,0xc4);word(&p,0x80);
emit_byte(&p,0x5f);emit_byte(&p,0x5e);emit_byte(&p,0x5d);emit_byte(&p,0x5b);emit_byte(&p,0xc3);
jump(AT(end),finish);return code;
}
static void vec(Vec4 v){printf("[%.9g,%.9g,%.9g,%.9g]",v.x,v.y,v.z,v.w);}
static void snapshot(void){
printf("{\"current\":");vec(VEC(0x224));printf(",\"target\":");vec(VEC(0x274));printf(",\"dirty\":%u}",object[10]);
}
static void one(const char*kind,void(*run)(void),int index,Vec4 current,Vec4 target,int dirty){
memset(object,0xa5,sizeof(object));*(void**)object=table;object[5]=1;object[10]=dirty;
VEC(0x224)=current;VEC(0x274)=target;*(void**)AT(0x5099e4)=object;
unsigned char expected[sizeof(object)];memcpy(expected,object,sizeof(object));
Vec4 flat={0,current.y,0,current.w};memcpy(expected+0x224,&flat,sizeof(flat));memcpy(expected+0x274,&flat,sizeof(flat));
printf("ROTATION {\"kind\":\"%s\",\"case\":%d,\"before\":",kind,index);snapshot();
run();require(memcmp(object,expected,sizeof(object))==0,"suffix exact object write set including dirty preservation");
printf(",\"prepared\":");snapshot();
((void(TC*)(void*,float))AT(0x43a420))(object,1.f/60);
printf(",\"after_facing\":");snapshot();
for(int tick=1;tick<30;tick++)((void(TC*)(void*,float))AT(0x43a420))(object,1.f/60);
printf(",\"after_30\":");snapshot();puts("}");
require(VEC(0x224).x==0&&VEC(0x224).z==0,"remains upright through facing");
require(VEC(0x274).y==current.y&&VEC(0x274).w==current.w,"destination follows current heading and W");
}
int main(void){
setbuf(stdout,NULL);map_source();
fix(0x416671,0x4166eb);fix(0x431518,0x431590);fix(0x43a420,0x43a5cd);fix(0x472480,0x472570);
const unsigned char ready[]={0xb0,1,0xc3};memcpy(AT(0x475ca0),ready,3);
table[0x328/4]=(uintptr_t)AT(0x4723f0);table[0x32c/4]=(uintptr_t)AT(0x472450);table[0x334/4]=(uintptr_t)AT(0x458f90);
void(*cam)(void)=entry(0x416671,0x4166eb);void(*mca)(void)=entry(0x431518,0x431590);
const Vec4 currents[]={{15,155,25,1},{323.858f,293.333f,349.214f,7},{-40,0,-25,3},{10,359,342.11f,9},{0,360,0,11}};
const Vec4 targets[]={{-40,151,-25,101},{10,291,-5,102},{23,315,12,103},{20,1,40,104},{10,0,10,105}};
for(int k=0;k<2;k++)for(int i=0;i<5;i++)for(int dirty=0;dirty<2;dirty++)one(k?"MCA":"CAM",k?mca:cam,i*2+dirty,currents[i],targets[i],dirty);
puts("JIMMY_CUTSCENE_ROTATION_COMPLETE");return 0;
}
+62
View File
@@ -0,0 +1,62 @@
#!/usr/bin/env python3
"""Read-only landing/idle ownership guards and bounded original-code probe."""
import argparse
import hashlib
import json
from pathlib import Path
import re
import struct
import subprocess
from checkpoint_script_state import EXE_SHA256,find_case,read_va
from pe_inspect import PE
REA_ID='ev_0d64cc58fa8f5573fc8e61e0f2c20e36288099212bd2257d3a3121361fd6c904'
RANGES=((0x438bc0,0x4398f2),(0x437940,0x437c3a),(0x437c40,0x437f7f),
(0x429910,0x429963),(0x43aff0,0x43b5a0),(0x4260a6,0x426264),
(0x43a420,0x43a5cd),(0x458f90,0x458fb6),(0x472480,0x472570),
(0x472660,0x472685),(0x40dd90,0x40df7c))
SITES=(('neutral_skips_destination',0x43951e,'3bf70f84a9000000'),
('grounded_old_mode1_helper140',0x437b12,'ff9240010000'),
('grounded_reset_mode',0x437ba5,'66899e04070000'),
('grounded_reset_turn',0x437bac,'899e14060000'),
('destination_sets_dirty',0x47267e,'c6410a01'),
('fall_impact_latch',0x4261c5,'c686981d000001'),
('impact_latch_clear',0x42623f,'c686981d000000'))
def collect(original,rea=None):
p=PE(find_case(Path(original),'Neutron.exe'))
if hashlib.sha256(p.data).hexdigest()!=EXE_SHA256:raise ValueError('Original EXE identity')
sites=[]
for name,va,b in SITES:
if read_va(p,va,len(bytes.fromhex(b))).hex()!=b:raise ValueError(name)
sites.append(dict(name=name,va=hex(va),file_offset=hex(p.offset(va-p.base)),bytes=b))
slots=[]
for table,slot,target in ((0x4a3bdc,0x140,0x429910),(0x4a3bdc,0xe0,0x40dd90),(0x4a373c,0x37c,0x472970),(0x4a373c,0x3d8,0x43a420),(0x4a373c,0x36c,0x472660)):
if struct.unpack('<I',read_va(p,table+slot,4))[0]!=target:raise ValueError('Virtual binding')
slots.append(dict(table=hex(table),slot=hex(slot),target=hex(target),file_offset=hex(p.offset(table+slot-p.base))))
result=dict(source_sha256=EXE_SHA256,rea_evidence_id=REA_ID,sites=sites,slots=slots,
ranges=[dict(va=hex(a),file_offset=hex(p.offset(a-p.base)),length=b-a,sha256=hashlib.sha256(read_va(p,a,b-a)).hexdigest()) for a,b in RANGES],
scope='Static bounded path evidence; no whole-game absence proof or original gameplay observation.')
if rea:
r=json.loads(Path(rea).read_text())['records'][0]
if r['evidence_id']!=REA_ID or r['subject']['digest']['sha256']!=EXE_SHA256:raise ValueError('REA identity')
rows=[]
for l in r['raw_result']['stdout'].splitlines():
m=re.match(r'\s*([0-9a-f]+):',l)
if m:rows.append((int(m[1],16),l.strip()))
result['ground_prefix_calls']=[dict(va=hex(a),instruction=l) for a,l in rows if 0x438bc0<=a<0x43915d and '\tcall ' in l]
return result
def generate(original,out,rea=None):
original=Path(original).resolve();out=Path(out).resolve()
if out.is_relative_to(original) or original.is_relative_to(out):raise ValueError('Separate generated output required')
report=collect(original,rea);p=PE(find_case(original,'Neutron.exe'))
targets={0x5099e4,0x50985e,0x50985d,0x50985f,0x4f0588}
for a,b in ((0x43915d,0x4395cf),(0x43a420,0x43a5cd),(0x472480,0x472570)):
asm=subprocess.run(['objdump','-d','-Mintel',f'--start-address={a}',f'--stop-address={b}',str(p.path)],capture_output=True,text=True,check=True).stdout
targets.update(int(x,16) for x in re.findall(r'ds:0x([a-f0-9]+)',asm))
out.mkdir(parents=True,exist_ok=True)
body=Path(__file__).with_name('jimmy_landing_rotation_probe.c').read_text().replace('/* RELOCATIONS */',','.join(hex(t) for t in sorted(targets)))
(out/'jimmy_landing_rotation_probe.c').write_text(body)
(out/'source.json').write_text(json.dumps(report,indent=2)+'\n');return report
if __name__=='__main__':
c=argparse.ArgumentParser();c.add_argument('original',type=Path);c.add_argument('--generate-probe',type=Path);c.add_argument('--rea-disassembly',type=Path);a=c.parse_args()
print(json.dumps(generate(a.original,a.generate_probe,a.rea_disassembly) if a.generate_probe else collect(a.original,a.rea_disassembly),indent=2))
@@ -0,0 +1,64 @@
/* Copied ordinary ground keyboard suffix and actual Jimmy facing/Euler leaves.
Synthetic supported actor, no full scheduler/body/AI/camera/render execution.
This probes retention; it does not establish absence of another scene writer. */
#define main unused_grappler_main
#include "grappler_scalar_probe.c"
#undef main
typedef struct { float x,y,z,w; } Vec4;
static uintptr_t game_table[0x440/4],outer_table[0x180/4];
#define VEC(o) (*(Vec4*)(object+0xc0+(o)))
#define OF(o) (*(float*)(object+(o)))
static void TC animate(void*self,void*name){(void)self;(void)name;}
static void fix(uint32_t start,uint32_t end){
const uint32_t targets[]={/* RELOCATIONS */};
for(uint32_t a=start;a+4<=end;a++){
uint32_t v;memcpy(&v,AT(a),4);
for(unsigned i=0;i<sizeof(targets)/4;i++)if(v==targets[i]){v=(uintptr_t)AT(v);memcpy(AT(a),&v,4);a+=3;break;}
}
}
static void*input_entry(void){
unsigned char*c=VirtualAlloc(NULL,256,MEM_COMMIT|MEM_RESERVE,PAGE_EXECUTE_READWRITE),*p=c;require(c!=NULL,"wrapper");
emit_byte(&p,0x53);emit_byte(&p,0x55);emit_byte(&p,0x56);emit_byte(&p,0x57);
emit_byte(&p,0x81);emit_byte(&p,0xec);word(&p,0x90);
emit_byte(&p,0xbd);word(&p,(uintptr_t)object);
emit_byte(&p,0x31);emit_byte(&p,0xff);
emit_byte(&p,0xba);word(&p,1);emit_byte(&p,0x31);emit_byte(&p,0xf6);
emit_byte(&p,0xbb);word(&p,(uintptr_t)(object+0x9bc));
const int slots[]={0x14,0x18,0x1c};
for(int i=0;i<3;i++){emit_byte(&p,0xc7);emit_byte(&p,0x44);emit_byte(&p,0x24);emit_byte(&p,slots[i]);word(&p,0);}
jump(p,AT(0x43915d));p+=5;unsigned char*end=p;
emit_byte(&p,0x81);emit_byte(&p,0xc4);word(&p,0x90);emit_byte(&p,0x5f);emit_byte(&p,0x5e);emit_byte(&p,0x5d);emit_byte(&p,0x5b);emit_byte(&p,0xc3);
jump(AT(0x4395cf),end);return c;
}
static void vec(Vec4 v){printf("[%.9g,%.9g,%.9g,%.9g]",v.x,v.y,v.z,v.w);}
static void snapshot(void){
printf("{\"current\":");vec(VEC(0x224));printf(",\"target\":");vec(VEC(0x274));printf(",\"dirty\":%u}",object[0xca]);
}
static void one(const char*name,void(*input)(void),Vec4 current,Vec4 target,int up,int left,int dirty){
memset(object,0,sizeof(object));*(void**)object=outer_table;*(void**)(object+0xc0)=game_table;
memset(AT(0x509830),0,0x1d0);*(short*)AT(0x4f0588)=-1;*(void**)AT(0x5099e4)=object+0xc0;
OF(0x6bc)=30;OF(0x6c0)=35;OF(0x6c4)=600;object[0xc5]=1;object[0xca]=dirty;
VEC(0x224)=current;VEC(0x274)=target;*AT(0x50985e)=up;*AT(0x50985d)=left;
printf("LANDING {\"name\":\"%s\",\"up\":%d,\"left\":%d,\"before\":",name,up,left);snapshot();
input();printf(",\"after_input\":");snapshot();
if(!up&&!left)require(!memcmp(&target,&VEC(0x274),sizeof(Vec4)),"neutral preserves all destination components");
else require(VEC(0x274).x==0&&VEC(0x274).z==0&&object[0xca]==1,"active steering publishes upright dirty target");
((void(TC*)(void*,float))AT(0x43a420))(object+0xc0,1.f/60);
printf(",\"after_facing\":");snapshot();
for(int i=1;i<300;i++){input();((void(TC*)(void*,float))AT(0x43a420))(object+0xc0,1.f/60);}
printf(",\"after_300\":");snapshot();puts("}");
}
int main(void){
setbuf(stdout,NULL);map_source();fix(0x43915d,0x4395cf);fix(0x43a420,0x43a5cd);fix(0x472480,0x472570);
const unsigned char ready[]={0xb0,1,0xc3};memcpy(AT(0x475ca0),ready,3);
game_table[0x328/4]=(uintptr_t)AT(0x4723f0);game_table[0x36c/4]=(uintptr_t)AT(0x472660);game_table[0x334/4]=(uintptr_t)AT(0x458f90);
outer_table[0x150/4]=(uintptr_t)animate;void(*input)(void)=input_entry();
one("neutral_last_air_roll",input,(Vec4){1,155,355,1},(Vec4){0,155,-5,7},0,0,1);
one("neutral_last_air_roll_positive",input,(Vec4){359,45,4,1},(Vec4){0,45,3,7},0,0,1);
one("neutral_last_air_forward",input,(Vec4){325,290,340,1},(Vec4){-40,290,-25,7},0,0,1);
one("neutral_last_air_backward",input,(Vec4){8,359,12,1},(Vec4){10,359,15,7},0,0,1);
one("clean_tilt_retained",input,(Vec4){10,155,15,1},(Vec4){0,155,0,7},0,0,0);
one("forward_levels",input,(Vec4){325,290,340,1},(Vec4){-40,290,-25,7},1,0,1);
one("left_levels",input,(Vec4){325,290,340,1},(Vec4){-40,290,-25,7},0,1,1);
puts("JIMMY_LANDING_ROTATION_COMPLETE");return 0;
}
@@ -0,0 +1,681 @@
{
"source": {
"source_sha256": "f5281076e1a2492f2d61f87aae3f4544b6d0f535ebe33f9fbb6f78710fe1aea8",
"rea_evidence_id": "ev_0d64cc58fa8f5573fc8e61e0f2c20e36288099212bd2257d3a3121361fd6c904",
"sites": [
{
"name": "neutral_skips_destination",
"va": "0x43951e",
"file_offset": "0x3951e",
"bytes": "3bf70f84a9000000"
},
{
"name": "grounded_old_mode1_helper140",
"va": "0x437b12",
"file_offset": "0x37b12",
"bytes": "ff9240010000"
},
{
"name": "grounded_reset_mode",
"va": "0x437ba5",
"file_offset": "0x37ba5",
"bytes": "66899e04070000"
},
{
"name": "grounded_reset_turn",
"va": "0x437bac",
"file_offset": "0x37bac",
"bytes": "899e14060000"
},
{
"name": "destination_sets_dirty",
"va": "0x47267e",
"file_offset": "0x7267e",
"bytes": "c6410a01"
},
{
"name": "fall_impact_latch",
"va": "0x4261c5",
"file_offset": "0x261c5",
"bytes": "c686981d000001"
},
{
"name": "impact_latch_clear",
"va": "0x42623f",
"file_offset": "0x2623f",
"bytes": "c686981d000000"
}
],
"slots": [
{
"table": "0x4a3bdc",
"slot": "0x140",
"target": "0x429910",
"file_offset": "0xa3d1c"
},
{
"table": "0x4a3bdc",
"slot": "0xe0",
"target": "0x40dd90",
"file_offset": "0xa3cbc"
},
{
"table": "0x4a373c",
"slot": "0x37c",
"target": "0x472970",
"file_offset": "0xa3ab8"
},
{
"table": "0x4a373c",
"slot": "0x3d8",
"target": "0x43a420",
"file_offset": "0xa3b14"
},
{
"table": "0x4a373c",
"slot": "0x36c",
"target": "0x472660",
"file_offset": "0xa3aa8"
}
],
"ranges": [
{
"va": "0x438bc0",
"file_offset": "0x38bc0",
"length": 3378,
"sha256": "0d7cf3d832d5eec914c00b4bbc0feb92471c4a734331a347ad23b1ff4d78ef00"
},
{
"va": "0x437940",
"file_offset": "0x37940",
"length": 762,
"sha256": "9579bfb1c4d9ae6abf2a1c78d6f99544871a63216fb80b9a906e3a76ebe27983"
},
{
"va": "0x437c40",
"file_offset": "0x37c40",
"length": 831,
"sha256": "d61d6696fe5ca9ae955fb8c4a5ed551582e709ce914b7e25e26c7fe5721630b6"
},
{
"va": "0x429910",
"file_offset": "0x29910",
"length": 83,
"sha256": "eca3f8629cdc54c87fe4cb4e7b1f272099d10009a230711d2c1cbcf5fc37d382"
},
{
"va": "0x43aff0",
"file_offset": "0x3aff0",
"length": 1456,
"sha256": "5c641e54e5e854c965e652aa2a63d3249de8d0ebe6a3317caeaa5f5ebdac47c6"
},
{
"va": "0x4260a6",
"file_offset": "0x260a6",
"length": 446,
"sha256": "4aa345b5a8909b191499794e5b1cd4c23d2746f2aca0c29c48c2b5c585173052"
},
{
"va": "0x43a420",
"file_offset": "0x3a420",
"length": 429,
"sha256": "1080773fae9170a107488528780efcd349cb930ca8a33fc8a845358b95f9ad38"
},
{
"va": "0x458f90",
"file_offset": "0x58f90",
"length": 38,
"sha256": "7f014c2a630c2e257513df09ab56595ad0fdcf892ea623d483148c002c6931c2"
},
{
"va": "0x472480",
"file_offset": "0x72480",
"length": 240,
"sha256": "406c3904538abe07d88ca440e39ca56c00765d0871943991ba7b792da4803c16"
},
{
"va": "0x472660",
"file_offset": "0x72660",
"length": 37,
"sha256": "e18df19aec39509f78fd20861938b67f2688a6aa142f064a7f5721f4676ee344"
},
{
"va": "0x40dd90",
"file_offset": "0xdd90",
"length": 492,
"sha256": "b7627e120872d551ce36b7518acab2e7b138cd0b0f3d2305502ed12af2cc8235"
}
],
"scope": "Static bounded path evidence; no whole-game absence proof or original gameplay observation.",
"ground_prefix_calls": [
{
"va": "0x438bdd",
"instruction": "438bdd:\te8 7e 18 03 00 \tcall 0x46a460"
},
{
"va": "0x438c10",
"instruction": "438c10:\tff 90 5c 01 00 00 \tcall *0x15c(%eax)"
},
{
"va": "0x438cea",
"instruction": "438cea:\tff 92 10 03 00 00 \tcall *0x310(%edx)"
},
{
"va": "0x438d04",
"instruction": "438d04:\tff 92 18 02 00 00 \tcall *0x218(%edx)"
},
{
"va": "0x438d18",
"instruction": "438d18:\tff 90 50 01 00 00 \tcall *0x150(%eax)"
},
{
"va": "0x438dd6",
"instruction": "438dd6:\te8 a5 fb 01 00 \tcall 0x458980"
},
{
"va": "0x438e3d",
"instruction": "438e3d:\te8 3e fb 01 00 \tcall 0x458980"
},
{
"va": "0x438e5a",
"instruction": "438e5a:\tff 92 50 01 00 00 \tcall *0x150(%edx)"
},
{
"va": "0x438e73",
"instruction": "438e73:\te8 a8 ed 04 00 \tcall 0x487c20"
},
{
"va": "0x438ea1",
"instruction": "438ea1:\te8 7a ed 04 00 \tcall 0x487c20"
},
{
"va": "0x438ecf",
"instruction": "438ecf:\te8 4c ed 04 00 \tcall 0x487c20"
},
{
"va": "0x438f2f",
"instruction": "438f2f:\te8 dc df 03 00 \tcall 0x476f10"
},
{
"va": "0x438f60",
"instruction": "438f60:\tff 15 08 d1 48 00 \tcall *0x48d108"
},
{
"va": "0x438fb1",
"instruction": "438fb1:\tff 92 5c 01 00 00 \tcall *0x15c(%edx)"
}
]
},
"probe_scope": "Original ground keyboard suffix and actual facing leaves under synthetic actor/input scheduling; not whole landing/gameplay.",
"generated_probe_sha256": "be7dfffd76933e968cc42481ef035fbc37524edd0750e12b990e49f23d1d54aa",
"shared_harness_sha256": "c51cc1ecefaf7a90e69a40624fd0e8cd7e01500359c4e67aee6213bb36f4a810",
"probe_executable_sha256": "b4ffdb4644cf313b221adbe68a42654e9784b785c12179dc71add9db80aa8e7c",
"output_sha256": "49f510cc94ed99fbf3e457345cde80d66b74cd16e053a8d8fead0fa2ec485534",
"capture": {
"game": "isolated-probe.exe",
"captures": [
{
"file": "/work/frame-00.png",
"captureExit": 0,
"wineExit": 0
}
]
},
"cases": [
{
"name": "neutral_last_air_roll",
"up": 0,
"left": 0,
"before": {
"current": [
1,
155,
355,
1
],
"target": [
0,
155,
-5,
7
],
"dirty": 1
},
"after_input": {
"current": [
1,
155,
355,
1
],
"target": [
0,
155,
-5,
7
],
"dirty": 1
},
"after_facing": {
"current": [
0.925000012,
155,
355,
1
],
"target": [
0,
155,
-5,
7
],
"dirty": 1
},
"after_300": {
"current": [
6.9585504e-11,
155,
355,
1
],
"target": [
0,
155,
-5,
7
],
"dirty": 1
}
},
{
"name": "neutral_last_air_roll_positive",
"up": 0,
"left": 0,
"before": {
"current": [
359,
45,
4,
1
],
"target": [
0,
45,
3,
7
],
"dirty": 1
},
"after_input": {
"current": [
359,
45,
4,
1
],
"target": [
0,
45,
3,
7
],
"dirty": 1
},
"after_facing": {
"current": [
359.075012,
45,
3.92499995,
1
],
"target": [
0,
45,
3,
7
],
"dirty": 1
},
"after_300": {
"current": [
359.999817,
45,
3.00000143,
1
],
"target": [
0,
45,
3,
7
],
"dirty": 1
}
},
{
"name": "neutral_last_air_forward",
"up": 0,
"left": 0,
"before": {
"current": [
325,
290,
340,
1
],
"target": [
-40,
290,
-25,
7
],
"dirty": 1
},
"after_input": {
"current": [
325,
290,
340,
1
],
"target": [
-40,
290,
-25,
7
],
"dirty": 1
},
"after_facing": {
"current": [
324.625,
290,
339.625,
1
],
"target": [
-40,
290,
-25,
7
],
"dirty": 1
},
"after_300": {
"current": [
320.000183,
290,
335.000183,
1
],
"target": [
-40,
290,
-25,
7
],
"dirty": 1
}
},
{
"name": "neutral_last_air_backward",
"up": 0,
"left": 0,
"before": {
"current": [
8,
359,
12,
1
],
"target": [
10,
359,
15,
7
],
"dirty": 1
},
"after_input": {
"current": [
8,
359,
12,
1
],
"target": [
10,
359,
15,
7
],
"dirty": 1
},
"after_facing": {
"current": [
8.14999962,
359,
12.2250004,
1
],
"target": [
10,
359,
15,
7
],
"dirty": 1
},
"after_300": {
"current": [
9.99999428,
359,
14.9999943,
1
],
"target": [
10,
359,
15,
7
],
"dirty": 1
}
},
{
"name": "clean_tilt_retained",
"up": 0,
"left": 0,
"before": {
"current": [
10,
155,
15,
1
],
"target": [
0,
155,
0,
7
],
"dirty": 0
},
"after_input": {
"current": [
10,
155,
15,
1
],
"target": [
0,
155,
0,
7
],
"dirty": 0
},
"after_facing": {
"current": [
10,
155,
15,
1
],
"target": [
0,
155,
0,
7
],
"dirty": 0
},
"after_300": {
"current": [
10,
155,
15,
1
],
"target": [
0,
155,
0,
7
],
"dirty": 0
}
},
{
"name": "forward_levels",
"up": 1,
"left": 0,
"before": {
"current": [
325,
290,
340,
1
],
"target": [
-40,
290,
-25,
7
],
"dirty": 1
},
"after_input": {
"current": [
325,
290,
340,
1
],
"target": [
0,
290,
0,
7
],
"dirty": 1
},
"after_facing": {
"current": [
327.625,
290,
341.5,
1
],
"target": [
0,
290,
0,
7
],
"dirty": 1
},
"after_300": {
"current": [
359.999817,
290,
359.999817,
1
],
"target": [
0,
290,
0,
7
],
"dirty": 1
}
},
{
"name": "left_levels",
"up": 0,
"left": 1,
"before": {
"current": [
325,
290,
340,
1
],
"target": [
-40,
290,
-25,
7
],
"dirty": 1
},
"after_input": {
"current": [
325,
290,
340,
1
],
"target": [
0,
310,
0,
7
],
"dirty": 1
},
"after_facing": {
"current": [
327.625,
291.233337,
341.5,
1
],
"target": [
0,
310,
0,
7
],
"dirty": 1
},
"after_300": {
"current": [
359.999817,
300.000702,
359.999817,
1
],
"target": [
0,
318.767365,
0,
7
],
"dirty": 1
}
}
]
}