Recover Rocketship flight components against original-code probes
This commit is contained in:
1 parent
c6eb1861cd
commit
a274670fe8
23 files changed
+2462
-2
No files matched your search
@@ -0,0 +1,123 @@
|
||||
# Grappler source contract and integration gate
|
||||
|
||||
2026-11-03. Item7/raw7, using the supplied target6 decompiler bodies as leads,
|
||||
then independently reading the hashed EXE instructions. No friend gameplay code
|
||||
imported. Static recovery and twelve Python source/projection tests only: no live
|
||||
Grappler, original gameplay execution or Windows validation is claimed.
|
||||
|
||||
## Identity, REA and guarded evidence
|
||||
|
||||
Neutron.exe SHA256 is `f5281076e1a2492f2d61f87aae3f4544b6d0f535ebe33f9fbb6f78710fe1aea8`.
|
||||
All addresses below are preferred-base EXE virtual addresses; for these text spans
|
||||
the file offset is VA−400000. `tools/binary/grappler.py` guards twelve spans,
|
||||
three virtuals, two dispatch entries, sixteen constants and four strings;
|
||||
`artifacts/grappler-contract/source.json` records each exact offset/hash.
|
||||
|
||||
REA6.8.0/Ghidra12.1.4 with project launcher/profile
|
||||
`e1ad533d4cc0333c2136fe0894217de2d61feea098240326e78633f9e4ddcbf9`
|
||||
decompiled jump predicate42A730, Evidence
|
||||
`ev_4c43cfa8fa5d66c31111d49510aba391f069b446160a448c5544ea042dd452c4`.
|
||||
Complete replies/export/snapshot are in
|
||||
`artifacts/grappler-contract/rea-trajectory-20261103/`.
|
||||
426A70's VA selector failed fallback file mapping; corrected offsets26A70,
|
||||
29D00 and29C10 mapped correctly but have no recognized procedures in this
|
||||
default Ghidra analysis. Those explicit errors are retained separately under
|
||||
`rea-trajectory-offset-20261103/`; no identical retry followed. The older
|
||||
`rea-controller/` attempt had an IPC denial. This run used the permitted local
|
||||
Unix socket access and closed both owned sessions. No REA/config repair occurred.
|
||||
|
||||
Supporting decompilation is `../../../jn-engine-master/docs/decomp/evidence/
|
||||
c3djimmy_target6.md`, helpers426A70/429D00/429C10. Its forced `__thiscall`,
|
||||
`unaff_retaddr` and uninitialized aliases are not ABI proof. Byte-guarded objdump
|
||||
and known game-interface helpers establish the contracts below; full-Euler/x87
|
||||
and body execution still need separate references.
|
||||
|
||||
## Owners and fields
|
||||
|
||||
Jimmy complete pointer owns game interface+C0. Complete vtable4A3BDC has
|
||||
188→429D00 (swing/aim),1C0→426A70 (held primary),204→429C10 (detach).
|
||||
These offsets are distinct from movement mode complete+7C4.
|
||||
|
||||
| Owner | State and evidence |
|
||||
|---|---|
|
||||
| Jimmy complete+B0C | Owned C3DGraplingHook: ctor41EEB0 called422800, pointer stored422810, named at422821..82C; not a nearest serialized hook actor |
|
||||
| Jimmy complete+B14 | Owned C3DTargetCursor: ctor4453B0 called42255B, stored42256B, named/hidden42257C..59D |
|
||||
| Jimmy complete+A1C | Companion hidden and movement/collision disabled on equip/attach; cleanup restores only under its own9E8/visibility gates |
|
||||
| Jimmy complete+1E04 | Loop34 audio handle;−1 sentinel; also touched by pre-mode-check swing helper |
|
||||
| Globals4F8210/4F82CC | Attached byte / signed16 anchor index; constructor422761/767 initializes zero |
|
||||
| Global4F8214+index*16 | Float4 anchor, copied from ray hit5CFC60 at426BA7..BD6; no tagged target search |
|
||||
| Globals4F82B4/B8 | First rope length/current rope length; constructor zeroes both; first-length/scaling write only when B4==0 |
|
||||
| Globals4F82BC/C0/C4/C8 | Horizontal swing scalars, elapsed damping time, fast-reel target |
|
||||
| Jimmy complete+864 | Set on attach, cleared detach/cleanup; retain as an action flag until inherited consumers are fully recovered |
|
||||
| Jimmy complete+7C8..7E0,854..85C | Follow eye/target and smoothing fields changed during equip/attach/detach |
|
||||
|
||||
Constructor zeroes the first anchor XYZ and scalars at42276E..7BE. Neither
|
||||
guarded detach nor raw7 cleanup clears first lengthB4. Full helper persistence
|
||||
through retained level loads remains a separate lifetime question. The indexed
|
||||
region permits multiple slots by address arithmetic; do not invent a wrapping
|
||||
rope/anchor stack: the bounded EXE references inspected show initialization and
|
||||
reads of index, with no proven advancing writer.
|
||||
|
||||
## Input/update and state transitions
|
||||
|
||||
426030 receives Jimmy's game interface. After modal/game/control gates it runs
|
||||
438A60 input then complete188→429D00 at426098; a true result ends Jimmy's active
|
||||
controller pass. Held primary later reaches1C0→426A70 at4266C8 before the common
|
||||
energy helper1C4 at4266DB. Thus Grappler attachment has no local energy charge and
|
||||
precedes that shared zero-energy reject. Do not add an energy cost from menu index.
|
||||
|
||||
- **Equip:** jump-table4298E8 slot8 selects4297DD; hide/disable companion,
|
||||
follow eye(0,50,−350), target(0,150,80), raw mode7. Optional inventory/menu
|
||||
tutorial command9B remains its own branch.
|
||||
- **Aim:** 429D00 samples root+Y116. After mode7's fast reel and optional jump
|
||||
detach, its end portion performs a geometry ray from current root to full-Euler
|
||||
local point(0,2400,2400), helper47C210. Distance<450 hides cursor and returns
|
||||
true. Selected-polygon material IDs60..69,80..89,210..219,−1,170 also hide/block.
|
||||
Polygon without material blocks; material without definition passes this test;
|
||||
absent selected polygon passes it. A valid cursor is placed100 back from the
|
||||
hit along ray direction. This is not a query for the nearest3GRA entity.
|
||||
- **Attach / held primary:**426A70 returns false outside raw7; otherwise consumes
|
||||
primary even on a miss. While unattached it stops+A3C, repeats the root/local
|
||||
point ray, stores hit anchor, sets current length=distance(root,hit)−100.
|
||||
If B4==0, scale rope Z by length/600 and preserve first length. Set attached
|
||||
byte and+864, reset jump word+7E8 and linked jump effect+6C0, emitSFX31, restart
|
||||
loop34, clear horizontal swing/time, preserve velocityX/Z but setY100.
|
||||
Fast-reel target=anchorY−rootY−200; eyeY400/Z−650, smoothing(.8,1,.8).
|
||||
- **Reel:** when already attached and old length>250, subtract250*dt and ensure
|
||||
loop34. Otherwise stop loop34. There is **no final250 clamp**. Swing helper
|
||||
independently subtracts950*dt when target<current length, also without clamp.
|
||||
- **Swing:** root+Y116 is constrained to length from anchor, perturbed by horizontal
|
||||
scalars*dt*30. Proposed displacement passes through source body47B4B0 before
|
||||
writing root314; velocityY is then cleared. SetSWING. Update scalars by
|
||||
−constrained rope offsetX/Z*dt*.17 (stack0C/14, not body displacement64/6C).
|
||||
At elapsed>=double.2, clamp each±50, multiply .95 when
|
||||
length<350 else .98, then subtract float.2 **once**, not in a while loop.
|
||||
Rope model orientation/placement and a separate shadow down-ray are also owned
|
||||
here. This depends on full Euler/table math and body/camera shared context.
|
||||
- **Detach:** independent jump predicate42A730 with attached and no held fire
|
||||
calls204→429C10. Clear attachment/+864, restore eye(0,50,−350), target(0,130,100)
|
||||
and smoothing(1.6,1,1.6). Multiply swing globals by.96 but **set body velocity
|
||||
to(0,0,0)**, selectFALL, stop loop34 and hide rope. No invented launch impulse.
|
||||
- **Collision:** game-interface override42A660 calls base43AA40, clears horizontal
|
||||
swing and releases if their prior magnitude>60; pointer adjustment−C0 reaches
|
||||
complete204. Shared collision dispatch/callback ownership remains a live gate.
|
||||
- **Unequip:** raw7 cleanup4287AC restores eligible companion, detaches, restores
|
||||
ordinary camera170, clears attached/+864, hides cursor; common tail sets raw−1.
|
||||
|
||||
## Implementation boundary and verification
|
||||
|
||||
The twelve Python tests verify byte identities, selected-material range edges and
|
||||
missing-material branches, accepted-hit scalar initialization/reattach retention,
|
||||
250/950 overshoot behavior, damping threshold/clamp/one-step timing and independent
|
||||
jump/fire release. Host arithmetic projections explicitly omit x87 intermediate
|
||||
precision, actual ray traversal, body/camera/actor execution. They do not establish
|
||||
original runtime parity.
|
||||
|
||||
Safe now: use these isolated scalar rules and ownership map as implementation
|
||||
contracts/tests. **Do not enable live Grappler as nearest-hook/direct pull.** Close
|
||||
full-Euler ray/filter and selected-material context in VR08; body47B4B0 under
|
||||
attached state including callback42A660; model/pose placement and shared camera
|
||||
ownership; fresh/retained helper lifetime and control-loss cleanup. B4's first
|
||||
length retention and simultaneous jump/fire are necessary regressions. REA's
|
||||
missing function boundaries could be addressed on a copied analysis project using
|
||||
the supplied explicit-boundary approach, without blindly trusting forced ABI.
|
||||
@@ -0,0 +1,97 @@
|
||||
# Rocketship resources and VR02 authored data
|
||||
|
||||
2026-11-03. Read-only original asset inspection plus exact resource export.
|
||||
No original binary executed; no original/friend-tree changes. Binary ownership,
|
||||
physics, transforms, animation timing and material flags belong to
|
||||
[Rocketship recovery](rocketship.md), not to geometric compatibility.
|
||||
|
||||
`tools/extractors/rocketship_resources.py` exposes
|
||||
`export_rocketship(original, output)`. It validates all12 source hashes, ASE
|
||||
sample/topology and decoded RGBA identities before writing a separate directory.
|
||||
It rejects original subtrees/ancestors and existing descendant symlinks. Four
|
||||
source-named animation manifests reference exact original PNG pixels; no family
|
||||
action names, transforms, invented UVs, interpolation or material flags are set.
|
||||
Generated data: `artifacts/rocket-assets/resources/rocketship.json`.
|
||||
|
||||
```bash
|
||||
python3 tools/extractors/rocketship_resources.py ../Original --output artifacts/rocket-assets/resources
|
||||
python3 -m unittest discover -s tests -p test_rocketship_resources.py -v
|
||||
```
|
||||
|
||||
## Meshes and textures
|
||||
|
||||
Coordinates use the existing independently matched ASE conversion `(x,z,y)`,
|
||||
texture `(u,-v)`; exporter preserves sample positions. Original smoothing remains
|
||||
unrecovered; existing ASE exporter reconstructs flat normals.
|
||||
|
||||
| Source | Indexed vertices / faces | Exact source sample times | fps / ticks per frame | Texture topology |
|
||||
|---|---|---|---|---|
|
||||
|strato.ASE / strato01|159 /262|0|30 /160|Own497 UVs,262 texture faces|
|
||||
|firestrato.ASE / Cylinder01|7 /6|0,480,960|10 /480|Own10 UVs,6 texture faces|
|
||||
|jimdrive.ASE / 01jimmy|426 /814|0,480|10 /480|No UVs; original jimstop426 base|
|
||||
|godrocket.ASE / point|222 /411|0,960,1920|5 /960|No UVs; original godpoint222 base|
|
||||
|
||||
The two morphs retain the base's faces/UVs by vertex index, matching existing
|
||||
original-morph exporter semantics. This establishes renderable resource
|
||||
compatibility; runtime DRIVE/ROCK selection/attachment still needs binary proof.
|
||||
The three godrocket samples share bounds but contain different indexed positions;
|
||||
retain all samples rather than treating identical bounds as a static clip.
|
||||
|
||||
| Exact PNG | Size | Decoded RGBA SHA256 |
|
||||
|---|---|---|
|
||||
|strato.png|256×256|`b1b18454fe0413e3ce885a61e4407c808060da0fe29ef2aec26ccd4e39437f31`|
|
||||
|fire.png|100×100|`07dbbc4c6b99b6fa5fe424f2f917e03352a9c635fdc1593fc12f354be83a9a7f`|
|
||||
|jimycarl.png|256×256|`5e54ccb99e9e060843cd7f80fd93ff8bf47f8779666e41d4240398354a278a3f`|
|
||||
|goddard02.png|256×256|`9eb24c8fa41ddf08d2f33dd7b7513b632d4262cfc26cab3383c54258b9647a62`|
|
||||
|
||||
Retained REA body-init43DD10 Evidence
|
||||
`ev_d7bf671456c93939ac04ab612e10181e729e078de4bfc06b22f4b5302d71da00`
|
||||
(`artifacts/rocket-contract/rea-core/00.json`) verifies HIDEFAULT→Strato.ase,
|
||||
strato.png, DEFAULT and game110(50.0). EXE VAs in this range map to file offset
|
||||
VA−400000. The source setter110→471240 establishes50 as body radius; it is not
|
||||
a visual scale. Constructor4192E0 also binds DEFAULT→firestrato.ASE/fire.png;
|
||||
see the accompanying Rocketship source report for guards/Evidence. Driver/dog
|
||||
resource candidates are exported without
|
||||
asserting their runtime state/visibility/material bindings. Do not substitute
|
||||
rocket.ASE, rocketfire.ASE or objects.omt shape26 merely because their names
|
||||
sound appropriate; their topology differs from this recovered Strato binding.
|
||||
|
||||
## VR02 and campaign corpus
|
||||
|
||||
All35 supplied GAMs were parsed.32 contain one3ROC; Level3B/3E and VR08 do not.
|
||||
Two independent3FLA records occur in Level2 (offset7267) and Level2b (4C20),
|
||||
not VR02; this does not count constructor-owned fire children. Complete observed
|
||||
placement values are retained in `artifacts/rocket-assets/placements.json`.
|
||||
|
||||
VR02.gam SHA256
|
||||
`3be92e270bd14e6fc41db702e68c894562128d23d46704b89f7abb1914bebc5c`.
|
||||
All18 entity records/ordinals/property bytes/offsets are retained in the manifest.
|
||||
Its sole3ROC is ordinal1, file offset1CD; position
|
||||
`(445.8588257,74.9721756,598.4440918)`, yaw9.9755859375, TaskNameLIBBY.
|
||||
Authored fields: MaxHeight3900, MaxSpeed1400, AccelRate400, DecelRate1, Up650,
|
||||
Down−650, MaxVertVelocity650, NewGravity0, AccelLean20, DecelLean−20. These
|
||||
values do not define the flying algorithm or active Jimmy-owned rocket spawn.
|
||||
|
||||
PHONEBOOTH/STRT points at intro3MCA `rs`; the source intro target list is
|
||||
rs1/rs2/rs3/Jim1. There are **two rs1 patrol entities**, ordinals13/15,
|
||||
offsets23DE/2C09. Preserve distinct records and original lookup behavior; do not
|
||||
deduplicate tags or assume which position the original resolver chooses. Seven
|
||||
3PIC records use indices3101..3107; LOAD offset21B9 targets RETURN with radius400.
|
||||
|
||||
VR02.omt SHA256
|
||||
`ab041f663cd5e68d58e590feeb7661f308a70ccc682a32c49ccd82b74bec61c0`.
|
||||
One shape0 `Box01`, offset74464,93802 bytes,424 indexed vertices/880 triangle
|
||||
polygons; no NC-named shape. Material counts:0→160,2→96,3→192,5→400,null→32.
|
||||
Retain the32 textureless polygons in collision data; absence of special Jimmy
|
||||
materials alone does not prove game-class registration or flying-body admission.
|
||||
The current route camera/static-body factory also excludes VR02 pending those
|
||||
source gates. Resource export does not change that factory.
|
||||
|
||||
## Verification and remaining boundaries
|
||||
|
||||
Five resource checks pass: exact pixels/source sampling and mesh indices,
|
||||
base-topology UV/sample-position binding, VR02 offsets/duplicate tags/null
|
||||
polygons, protected output paths and changed-source/pixel rejection before output.
|
||||
Standalone CLI export succeeds. No port gameplay, Vulkan, native Windows or
|
||||
full original-runtime comparison is claimed by these checks. Main owns shared
|
||||
prepare/package wiring; resources are currently opt-in via the new exporter.
|
||||
@@ -0,0 +1,75 @@
|
||||
# Rocketship arithmetic and resource checkpoint
|
||||
|
||||
2026-11-03. Continued gadgets after the supplied jn-engine assessment c6eb186.
|
||||
Kept the playable d6ca417 source/packages and parked collision baseline intact.
|
||||
Independent investigators owned Rocketship source, resources and Grappler source;
|
||||
primary reviewed/integrated their files. All ownership has returned.
|
||||
|
||||
## Implemented and tested
|
||||
|
||||
`src/GamePort/Game/RocketFlight.cs` implements ordinary keyboard scalar/bank input
|
||||
from41A6C0 and vertical publication from41A470..41A6A8. It is an isolated component,
|
||||
not a connected live vehicle. Input updates retained state after application in
|
||||
the ordinary source update; no input-before-integration reorder was introduced.
|
||||
Caller owns body integration, X/Z vectors, facing and camera state.
|
||||
|
||||
Important source behavior preserved:
|
||||
|
||||
- Acceleration400 is per callback; support loss500*dt follows it. Down brakes
|
||||
even with Up held, then Up wins the published vertical flags.
|
||||
- Bank changes160*dt, clamps±45, and prior keyboard bank returns at130*dt.
|
||||
- Up/Down650/−650 are acceleration commands, not direct velocities. Publication
|
||||
subtracts global gravity; current velocity independently clamps±650.
|
||||
- Below speed100, prior vertical command survives and the height clamp is skipped.
|
||||
At the ceiling, root Y clamps but positive Vy survives; neutral snapping uses
|
||||
a strict(−60,60) band.
|
||||
|
||||
Two isolated copied-original probes establish14 input-prefix and14 vertical-suffix
|
||||
references. Generated Win32 harnesses used synthetic mouse/support/transform/audio
|
||||
or body accessors, skipped camera/horizontal/integration paths and ran in separate
|
||||
Wine32 namespaces. Original entrypoint/gameplay did not execute. Source bounds,
|
||||
REA Evidence, file offsets and complete provenance are in
|
||||
[rocketship.md](rocketship.md) and `artifacts/rocket-contract/`.
|
||||
|
||||
Numeric fixtures in `tests/GamePort.RocketFlightTests/` retain source, body,
|
||||
generator, executable and log hashes. Thirteen managed groups compare all claimed
|
||||
scalar/flag outputs with absolute tolerance.0002, reject nonfinite comparisons,
|
||||
and cover phase/threshold/priority/invalid-input cases. Destination Euler and
|
||||
source-preserved X/Z values are outside this scalar API's comparison. The test
|
||||
is registered in `scripts/test.sh`; no live simulation path uses the component
|
||||
yet. No bit-identical general x87 or original cadence claim is made.
|
||||
|
||||
`rocketship_resources.py` exports exact Strato/firestrato geometry, compatible
|
||||
Jimmy/Goddard morph samples, PNG pixels and VR02 records after12 source hashes and
|
||||
topology/pixel checks. Five tests cover output protection and resource identity.
|
||||
It remains opt-in; shared preparation/package resources were not changed.
|
||||
|
||||
## Research integrated
|
||||
|
||||
[Rocketship source](rocketship.md) establishes Jimmy's owned ship, rider/control
|
||||
handoff and cleanup, radius50/factor.6/friction.8, FireStrato binding and VR02's
|
||||
false game polygon filter. The friend's label “visual scalar50” was corrected
|
||||
through the original setter. Live body/factory admission remains unchanged.
|
||||
|
||||
[Grappler source](grappler.md) establishes owned rope/cursor, full-Euler ray and
|
||||
material gates, attach/reel/swing/detach ordering and retained first rope length.
|
||||
Twelve Python source/projection checks pass. No nearest-hook/direct-pull mechanic
|
||||
or friend gameplay code was imported. Guarded tools also preserve provider gaps;
|
||||
the existing local REA launcher was used without configuration changes.
|
||||
|
||||
Validation:13 Rocket managed groups,3 Rocket source groups,5 resource groups,
|
||||
12 Grappler groups,15 existing Gadget and25 Movement groups pass. Main .NET10 build
|
||||
passes with the existing NU1900 unavailable metadata warning;539 original hashes
|
||||
verify unchanged. Independent read-only review agrees with the declared component
|
||||
scope. No new Vulkan/live gameplay/native Windows checks or package rebuild was
|
||||
needed or claimed; prior playable releases remain the user testing baseline.
|
||||
|
||||
## Next coherent chunk
|
||||
|
||||
Close the aircraft-specific370/374/378 collision callbacks, normal Euler/slip/
|
||||
roll/facing and shared camera record update. Establish owned-versus-placed3ROC
|
||||
property/reset behavior and retained helper lifetime. Then integrate explicit
|
||||
vehicle ownership, passenger/Goddard/fire transforms and audio, mount/cleanup,
|
||||
VR02 live body and F1 controls, with input/unequip/control-loss/RETURN regressions.
|
||||
The source radius/support alone cannot justify using Jimmy's body/camera as a
|
||||
vehicle replacement. Grappler's body/camera/material-context gates remain separate.
|
||||
@@ -0,0 +1,167 @@
|
||||
# Rocketship ownership and bounded flight components
|
||||
|
||||
2026-11-03. Original static recovery, guarded bytes and two isolated original
|
||||
component probes. Friend research supplied useful class/function names; its
|
||||
prototype vehicle mechanics were not imported. No live vehicle implementation
|
||||
or original whole-game/native Windows verification is claimed by this report.
|
||||
Primary owns any modern integration and its separate validation.
|
||||
|
||||
## Evidence and identity
|
||||
|
||||
EXE SHA256 `f5281076e1a2492f2d61f87aae3f4544b6d0f535ebe33f9fbb6f78710fe1aea8`.
|
||||
`tools/binary/rocketship.py` guards ten source spans, six virtual targets and eight
|
||||
constants, with PE-mapped file offsets in
|
||||
`artifacts/rocket-contract/source-contract.json`. These .text VAs map to raw
|
||||
offset VA−400000. Full disassembly windows are retained beside the report.
|
||||
No friend OMT2.dll address is assumed applicable to our different DLL build.
|
||||
|
||||
| Source | REA Evidence | Retained path |
|
||||
|---|---|---|
|
||||
|43D840 constructor|`ev_0f31a079ff84847fd27d3e41de320d6bedddcbf3917b5f3e2b345773809a0b86`|rocket-contract/rea-core/01.json|
|
||||
|43DD10 visual/body init|`ev_d7bf671456c93939ac04ab612e10181e729e078de4bfc06b22f4b5302d71da00`|rocket-contract/rea-core/00.json|
|
||||
|41A140 apply|`ev_ba8607f59d6ebc468cd956e6b1c8d295eecb21889055130da4706e6cbc8e6ba2`|rocket-contract/rea-flight-ipc/00.json|
|
||||
|41A6C0 input/camera|`ev_ef4490ca220408f61e74f4d122b472f9055475ec4b51e2446620a54ffd1c7b2c`|rocket-contract/rea-flight-ipc/01.json|
|
||||
|43E7E0 controlled callback|`ev_20502f86a5c3c7bee2ea47608f89d578286785d1ba540b5fa7f7e56ed90505a0`|rocket-contract/rea-flight-ipc/04.json|
|
||||
|4192E0 fire constructor|`ev_4f74f2325cf84e07d75696f1903bfff3800a02f9b6b706431a5b90b66a83c914`|rocket-contract/rea-flight-ipc/05.json|
|
||||
|
||||
Paths in that table are below `artifacts/`. Complete replies, bundles and closed
|
||||
snapshots are retained. Initial `rea-flight/` failed at the known local Unix
|
||||
socket sandbox boundary; one IPC-authorized retry succeeded.43DB10/43DF70 still
|
||||
are not recognized as procedures in that profile; their saved errors are not
|
||||
pseudocode evidence. Their bounded source instructions are guarded/reviewed.
|
||||
419550 was queried as a possible effect initializer but is Flag construction;
|
||||
it is not used to establish Rocketship behavior. No configuration was changed.
|
||||
|
||||
## State ownership, selection and cleanup
|
||||
|
||||
Jimmy's complete object owns a separate Rocketship allocation at+AB0, initialized
|
||||
through constructor43D840; complete vtable4B2A4C, game-interface
|
||||
vtable4B25AC at complete+C0. The ship's complete+740/interface+680 is a pointer to
|
||||
the **complete Jimmy rider**, resolving the friend's unnamed linked-actor field.
|
||||
Twenty other linked slots retain a separate unresolved effect/child role.
|
||||
|
||||
Item1 branch42944D..429686 uses this owned pointer; there is no nearest placed
|
||||
3ROC search. It activates the ship, copies Jimmy root/Euler via game310/328 into
|
||||
ship318/330, transfers game118 control to ship+C0 at4295A5, stores rider+740 at
|
||||
4295B4, disables Jimmy physical participation through1E4, hides/disables relevant
|
||||
companion flags, selects Jimmy DRIVE and writes raw gadget1 at42967F. Null owned
|
||||
pointer skips this equip body. Availability/HUD commands remain separate.
|
||||
|
||||
Raw1 cleanup428512..42871D disables/hides ship flags, restores Jimmy game118
|
||||
ownership at4285BA, restores companion policy, clears ship+740 at4286AE, clears
|
||||
Jimmy acceleration/velocity, selects the normal animation/movement state, closes
|
||||
HUD mode and writes raw−1. The original raw cleanup belongs to ownership change,
|
||||
not just a rendered model toggle. Retained helper life and unmount-root timing
|
||||
need the ordinary update/loader context before live integration.
|
||||
|
||||
43DD10 game110→471240 initializes authored34 and live15C **radius50**, not a visual
|
||||
scale50.43D840 sets factor float32(.6); inherited419B70 sets friction float32(.8).
|
||||
Thus ordinary radius×factor support clearance is30, distinct from Jimmy75.9.
|
||||
Shape transforms/render scale are separate. This corrects the friend report's
|
||||
"visual scalar" label. No wheel child construction was observed.
|
||||
|
||||
## Input/apply ordering and exact bounded arithmetic
|
||||
|
||||
Rocket registry update43DF70 calls inherited41A140 before its passenger/effect
|
||||
tail. Controlled callback43E7E0 gates on407060 false and475CA0 true, then invokes
|
||||
41A6C0, optionally updates a fire-held timer and calls rider complete1AC with dt.
|
||||
**Apply consumes retained input state; input does not integrate the body.**
|
||||
|
||||
Offsets below are relative to the game interface (game pointer=complete+C0;
|
||||
addC0 to these offsets for complete-object fields): speed608, bank614,
|
||||
previous bank618, cap604, max height620,
|
||||
up/down638/639, prior keyboard-bank flag63A, vertical command65C, mouse pitch66C.
|
||||
The shared flying properties include acceleration5FC400, deceleration6001,
|
||||
cap6041400, height620, rates624650/628−650 and velocity cap62C650. Inherited
|
||||
constructor defaults are distinct from GAM reapplication and level-specific259
|
||||
overrides;43DCE1 writes VR02 max height3900.
|
||||
|
||||
Keyboard/zero-mouse41A6C0 order:
|
||||
|
||||
1. Left bank +=160dt; else Right -=160dt. After keyboard release a retained
|
||||
keyboard-origin bank approaches0 at130dt. Mouse-origin bank has no such return.
|
||||
2. Up adds AccelRate **per callback** if below cap, then clamps cap. Without Up,
|
||||
speed>cap×float32(.90909094) loses DecelRate×.5 per callback.
|
||||
3. Supported state independently subtracts500dt, clamped0, even with Up held.
|
||||
4. Down subtracts DecelRate×dt if supported or DecelRate×.1 in air from positive
|
||||
speed; negative speed adds DecelRate toward0. Up+Down still performs this
|
||||
braking, then Up clears the published Down flag. Bank clamps to±45.
|
||||
|
||||
Source Up/Down keys are50985E/509860, Left/Right50985D/50985F. Analog thresholds
|
||||
are strictly>.5/<−.5. Right mouse509834 and accumulated mouse pitch>15 also give
|
||||
Up;50993A or pitch<−15 give Down. Mouse Y accumulates×dt and moves toward the
|
||||
±10 band by20dt outside it. Nonzero mouse X supplies bank delta×dt instead of
|
||||
keyboard steering. Boost/barrel-roll globals and complete camera tail remain
|
||||
outside the primary keyboard component; do not expose ordinary keyboard scope
|
||||
as complete input support.
|
||||
|
||||
41A470..41A6A8 vertical publication is independently recoverable:
|
||||
|
||||
- speed<100 preserves prior65C and skips the height decision.
|
||||
- At speed>=100, rootY>=MaxHeight clamps root only and sets command0, or DownRate
|
||||
if prior Down. Below ceiling, prior Up/Down selects their respective command.
|
||||
- Neutral uses−160 for Vy>0,+160 otherwise; strict−60<Vy<60 snaps Vy and command0.
|
||||
- Body accelerationY becomes command−global gravity, preserving X/Z acceleration.
|
||||
Existing Vy is then independently clamped±MaxVertVelocity, preserving X/Z.
|
||||
|
||||
UpRate/DownRate here are **acceleration commands**, despite the friend's velocity
|
||||
target naming. Above-ceiling positive Vy is not immediately zeroed. No source
|
||||
position integration occurs in this component beyond the direct ceiling clamp.
|
||||
|
||||
## Actual VR02 static scene gate
|
||||
|
||||
456270 constructor binds complete game table4CDD30 at4562DA and registers VR02
|
||||
at456328.4563D0 is Init, not construction. Table4CDD30+134→475CD0 returnsfalse,
|
||||
so shared4791C7/4791D9/NC registration has no additional VR02 game exclusion.
|
||||
Resource-side material/shape inventory is in rocketship-assets.md; it does not
|
||||
by itself establish flying body callbacks or dynamic actor eligibility.
|
||||
|
||||
## Isolated original numeric verification
|
||||
|
||||
Two generated32bit probes map copied EXE sections and rebase explicit guarded
|
||||
global operands. The input probe executes original41A6C0 through41AC0E, replacing
|
||||
mouse polling with fixed inputs, supplying synthetic support/Euler/audio virtuals,
|
||||
and skipping the camera tail. The vertical probe uses a small frame thunk into
|
||||
unchanged41A470..41A6A8 and synthetic body getters/setters; horizontal/animated
|
||||
prefixes and integration do not execute. Neither calls the game entrypoint.
|
||||
Both ran through `tools/recon/reference_capture.py` in separate generated Wine32
|
||||
prefixes, with no network or original-directory mount, exiting0.
|
||||
|
||||
| Selected case | Original observation |
|
||||
|---|---|
|
||||
|Up airborne dt1/60 and dt.1|speed400 for both|
|
||||
|Up supported dt1/60|391.666656|
|
||||
|Up+Down airborne / supported|399.899994 /391.649994; Up true, Down false|
|
||||
|Coast1400 /1200|1399.5 /1200|
|
||||
|Down1000 airborne /supported|999.900024 /991.650024|
|
||||
|Left+Right dt.1|bank16, Left wins|
|
||||
|Prior keyboard10 /mouse10 neutral|bank0 /10|
|
||||
|speed99,root5000,Vy900,command123|root5000,Vy650,command123,body acceleration923|
|
||||
|Ceiling Up,root5000,Vy300|root3900,Vy300,command0,body acceleration800|
|
||||
|Neutral Vy±60|retained velocity, command∓160|
|
||||
|Neutral Vy±59.99|velocity0,command0,body acceleration800|
|
||||
|Up /Down with gravity−800|body acceleration1450 /150|
|
||||
|
||||
All14 input and14 vertical cases, exact float32 inputs, tuning, observed outputs,
|
||||
EXE/body/generator/probe/log hashes are in `original-input-results.json` and
|
||||
`original-vertical-results.json` below `artifacts/rocket-contract/`. All vertical
|
||||
cases preserve synthetic XZ velocity11/22 and acceleration33/44. Logs, compiled
|
||||
probes and generated C remain there. Exporter flags `--probe-source`,
|
||||
`--vertical-probe-source`, `--probe-log/--probe-executable` and vertical equivalents
|
||||
reproduce the source and ingest complete logs; incomplete/duplicate cases reject.
|
||||
These are isolated original arithmetic references, not original gameplay traces.
|
||||
Three Python source/identity/incomplete-capture regression groups pass; both
|
||||
generated probes compile with i686-w64-mingw32-gcc `-O0 -Wall -Wextra`.
|
||||
|
||||
## Safe implementation boundary and next gates
|
||||
|
||||
The primary implementation and its28 numeric comparisons are recorded in
|
||||
[the component checkpoint](rocketship-component.md). Do not enable a live
|
||||
Rocketship controller until:
|
||||
normal horizontal Euler/slip/roll/facing and actual camera record updates are
|
||||
closed; aircraft-specific body370/374/378 callbacks are composed; registry/control
|
||||
handoff and retained-helper life are integrated; owned-versus-placed3ROC property
|
||||
and reset timing are proven; passenger/Goddard/fire attachment and effect/audio
|
||||
ownership are implemented. Collision/impact/mission sequences remain separate
|
||||
gates. Do not turn this recovery into tuned nearest-rocket boarding or assume
|
||||
ordinary Jimmy collision/camera matches the vehicle.
|
||||
Reference in new issue
Block a user