Recover sphere response and correct Jimmy ceiling cancellation

This commit is contained in:
UnixNight committed 2026-10-26 16:09:19 -04:00
1 parent 6a7a53c90d
commit 57dfcc64bb
37 files changed
+1324 -18

No files matched your search

+5
View File
@@ -1,5 +1,10 @@
# Follow-up original collision evidence
Continuation2026-10-26: checkpoint/collision-response.md supersedes the earlier
recursive-sliding inference with REA/byte/probe evidence for47BD80 and its callers.
The source kernel is now a separate tested component; live capsule replacement,
full contact/support order and pivot fidelity remain open.
Static investigation and isolated copied-DLL probes,2026-10-24. The bounded
OriginalBodySupport module now translates the vertical support/segment path.
This does not supersede the complete provisional SceneCollision solver or prove
+8
View File
@@ -23,6 +23,14 @@ verification possible without a desktop; this is distinct from SDL presentation.
Simulation implementation must follow recovered algorithms and timing. A generic
fly camera or rendered model alone does not satisfy the playable-scene requirement.
Collision continuation separates the recovered one-triangle47BD80 kernel
(`OriginalSphereResponse`) from the live capsule adapter. Its explicit nearest
state is caller-owned; source grid/callback/support integration remains gated.
The source-root upward ray is supplied separately from the camera debug query:
Jimmy's wrapper reflects upward velocity/cancels mode1 jump/fire before movement,
including while uncontrolled. Fresh input precedes this wrapper; retained input
follows Jimmy/fire. See checkpoint/collision-response.md and ceiling-wrapper.md.
The completed foundation includes a single synchronous Vulkan renderer supporting
offscreen and SDL surface presentation, an independent SDL WAV stream, bounded
GAM/PNG/scene readers, and a retained-topology morph sampler. Prepared scene JSON
+5
View File
@@ -29,6 +29,11 @@ backed by [uncontrolled player](uncontrolled-player.md),
[cutscene preparation](cutscene-preparation.md). [REA setup](../rea.md) records
local Ghidra/JDK and Evidence/snapshot use.
C4 continuation: [sphere response](collision-response.md),
[ceiling wrapper](ceiling-wrapper.md) and [physical re-registration](body-root-registration.md).
The source kernel is isolated/probed; live capsule replacement remains gated.
[Shared camera handoff](camera-handoff.md) records the next C5 state correction.
Evidence labels used throughout:
- **Recovered:** static instructions, serialized original data, or a specifically
+46
View File
@@ -0,0 +1,46 @@
# Retained identity and physical re-registration
2026-10-26. Static evidence, not whole-loader execution. Original EXE SHA256 is
f5281076e1a2492f2d61f87aae3f4544b6d0f535ebe33f9fbb6f78710fe1aea8.
Text offsets are VA−400000; body_root_registration.py guards14 instruction
sites and four Jimmy interface targets from PE-mapped bytes.
Ordinary teardown479000 clears physical records/body list695D3C, while game
object identity can survive in registry50999C.46E131 explicitly clears surviving
interfaces'49E registration flag. Jimmy PostLoad4238B4 invokes interface2C→42AB50:
false49E jumps to4623D0 InitPhysics. Identity retention is not physical-list retention.
4623D0 invokes base458910 (470A00 allocation/49E=true), copies current render XYZ
complete44/48/4C through16C→471630, copies angular-unit Euler through174→4716D0,
then calls479A40.479A65 invokes interface150(0,0,0);479A6F invokes Init28 AGAIN,
resolving to Jimmy437890. Only then does it append a12-byte body-list node with
the interface payload and increment695D40. Later PostLoad STRT placement and
final control preparation have their own order; registration's Init is not a
blanket post-placement reset. Existing retained scalar conclusions remain bounded
by the closed437890/generic Init chain, not by an assumption that Init runs once.
| REA routine | Evidence ID |
|---|---|
|4623D0|ev_d60cfc7d2ff8266e19176052e1466ba98f09e7b10b92db828566fbc28d36d281|
|458910|ev_a7ef1cecf9385efe4f91ad8ec48ac37ba24831a1b797f24c3039a912f0b61526|
|479000|ev_bae5aeaa4f8ebad1bba6974e9d33ba801959500e41eadc99be5e6b8631feecc1|
|479A40|ev_40105808ae5a1e83bd8221b627e9aeca89b0f399a68dba068ed01e5b11857438|
Complete replies/exports/closed snapshots: artifacts/body-root-registration/.
Some additional requested leaf/derived entries lacked analyzed Ghidra procedures;
their error replies remain alongside successful Evidence. Instruction bytes and
resolved vtables support the callback chain without claiming complete pseudocode.
Previously recovered dimensions remain: ordinary radius60/support factor1.265,
physics position interface214..220, direct physics-to-render XYZ copy4624B0, shape
min/max bound records1C4/1D4. No recovered capsule height follows from mesh bounds.
The standing animation offsets observed in the older copied-DLL probe were zero;
there is still no source evidence for the port's sole-based model translation.
The port reconstructs body state per scene and carries only mode/hold/fire in
its bounded route container. That agrees with the reset boundary at a coarse
level, but does not reproduce source allocation/physical-list order/new helper
traversal or the complete body338 record. REA's prior40E050/462520 Evidence also
shows base transform work before ownership; port destination-yaw smoothing is
not proven equivalent. These remain C3/C4 implementation gates. No extra state
carry, scale correction or live body-shape replacement is justified by this report.
+40
View File
@@ -0,0 +1,40 @@
# Shared viewport handoff
2026-10-26. Static source evidence; implementation is deferred to the next bounded
C5 chunk. camera_handoff.py guards50 instruction sites, four callbacks and the
DEFAULT threshold; its four Python projections are not original execution.
Text offsets below are preferred VA−400000 for the manifest's original EXE.
Shared viewport pointer509A50 stores eye at44/48/4C. MCA431677..43169D writes this
same eye. DEFAULT447D54 has an already-Jimmy branch; on the other route it restores
raw control, transforms Jimmy-local(0,500,−500) through384, computes Euclidean
distance to the current shared eye, and writes eye only when distance>1000
(447E9D..447EC3). Equality does not snap. This block leaves orientation unchanged.
Walking input/follow438EF7..438F29 reads the current shared eye into complete
714/718/71C every invocation.439722..439742 uses it for desired-eye delta;
4397F8..43982D adds the filtered delta back to the shared viewport. Airborne
439E33..439E51 likewise captures the shared eye into locals. Therefore the first
resumed input uses the final scripted eye, or DEFAULT's snapped eye, without
relying on an old player-owned follow cache.
Normal walking gains are1.6/1.2/1.6 times dt and the separate ray gain. Aim derives
from look point minus PRE-update eye (439830..439865; airborne43A09F..43A0CE),
then quantized OMT angle conversion. The port's LookAt(newEye,target) is a separate
orientation approximation. Other special follow fields/input branches remain open.
REA decompiled setup437740:
ev_d2502f41c45731b86d4365634fbc6f0d1b3b70d880fd5741275fd36f1d585aa4.
Selected DEFAULT/follow/viewport-write entries lacked recognized Ghidra procedures;
explicit-offset attempts also failed. Complete successes/errors/exports/closed
snapshots are under artifacts/camera-handoff/rea/ and rea-offsets/. Those negative
provider results are limitations, not negative claims about the original code.
The handoff conclusion is supported by the guarded direct instructions.
Current port still separates SceneDirector's scripted eye from LabSimulation's
follow eye. C5 should move viewport eye/aim ownership into one state shared by
script and follow, apply strict DEFAULT snapping only on the recovered boundary,
and preserve pre-update-eye aiming. Test below/equal/above1000, already-owned,
CAM/MCA→DEFAULT, held-input resume and RETURN continuity. Keep projection/fog/masks,
full follow branches and original visual comparison separate. This investigation
does not claim that camera handoff is implemented yet.
+52
View File
@@ -0,0 +1,52 @@
# Jimmy's overhead query and cancellation
2026-10-26, static recovery and bounded port correction. Original EXE identity is
the manifest's f5281076…1aea8. Preferred text VAs map to offsets VA−400000;
ceiling_wrapper.py independently maps and guards37 sites,8 targets,6 constants
and four complete bodies. No original ceiling routine was executed in this chunk.
424BE0..424C34 runs before movement437940's raw-control identity gate. It reads
live velocity2BC→471F10; strictly positive Y invokes complete1A4→425170. The
separate1A8→4252E0 downward-distance refresh follows, then movement. These
wrapper queries are not input or camera ownership tests.
425170 reads logical root310→472300.4251B8 adds float150 to rootY;4251FC calls
47C210 with two-sided=false. This is the wall-first/FIFO static predicate shared
with camera queries, not support's nearest reducer and not a capsule-top sweep.
On a hit it rechecks live Vy>0, then writes XYZ through2C4→471F40 with
`Vy=float(min(-double(Vy)*0.6,-85))`, preserving X/Z. It does not correct position.
Optional sound47 depends on selector4F0588 and an elapsed>5 gate; then4252CD
invokes complete1E0→425120.
425120 acts only when complete7C4 mode==1: writes jump7E8=0/mode1, requests FALL,
then zeros owned fire6C0 if present and calls complete140→429910. Hold874,
pending impulse and acceleration are not cleared by these writes.429910 clears
complete1E64/1E68 and saved soundA3C, with a helperA18 cleanup path except selector2.
Those helper/class sound effects are not fully implemented.4252E0's root−2500
nearest ray/shadow placement is separate from this upward response.
REA/Ghidra425120 Evidence:
ev_5fd4a2c55af84285f9b3fe8f9208e08ea88461aba4d1460d74344a9f1cbe3289.
Complete batch replies/export/snapshot are in artifacts/ceiling-wrapper/rea-batch/.
Other wrapper entries were not recognized procedures; explicit mapped-offset
queries also failed, retained in rea-mapped-batch/. Supplementary bytes establish
their bounded contracts; missing pseudocode does not establish missing code.
LabSimulation now performs the source-root query after body integration and before
controlled movement/fire, even without control. Fresh input precedes this Jimmy
wrapper; retained input follows Jimmy/fire, preserving the recovered registry
boundary. For the three recovered route
scenes, Program supplies TraceGeometry independently of the modern camera-only
debug toggle. A ceiling hit reflects velocity and applies mode1 cancellation;
the later owned fire phase independently subtracts dt. Noclip bypasses this path.
Other scenes retain the previous capsule ceiling adapter until their registration
filters are recovered. Capsule position response/root placement remain provisional
even in route scenes; full sound/gadget cleanup and complete wrapper ordering are
explicit gaps, not implied by the new velocity/cancellation contract.
Four Python source/projection groups and one coupled movement group cover the
150-unit root ray, pending-impulse boundary, raw-control independence, mode0/1,
active powered-fire cancellation, hold preservation, post-cancel energy and phase
order. Camera tests check that the modern camera switch neither disables geometry
queries nor overwrites camera diagnostics. Port regressions are separate from the
original kernel probe documented in collision-response.md.
+109
View File
@@ -0,0 +1,109 @@
# C4: original sphere/triangle response
2026-10-26. Original EXE SHA256
`f5281076e1a2492f2d61f87aae3f4544b6d0f535ebe33f9fbb6f78710fe1aea8`.
Preferred VAs are used below; EXE text file offsets are VA minus400000.
The helper independently maps PE sections and guards six complete function bodies.
## Recovered contract
479D20 integrates body motion, invokes static response47B4B0, then support47B890
and friction47A330. Static47B4B0 traverses the wall grid, invoking47BBB0 for each
candidate.47BBB0 fetches the first three source polygon vertices through477F10,
then invokes47BD80. Dynamic mode2's twelve box triangles also invoke47BD80
(dynamic-collision.md). Stored polygon normals and winding are independent inputs.
47BD80 takes five by-value four-float records (triangle A/B/C, stored normal,
previous root), a mutable current-root pointer, radius, and an edge-enable byte.
It uses shared nearest state:695D5C face distance,5CFBE0 edge distance,
5CFBE8..5CFBF4 hit point,695D74 lower-edge override. Callers initialize/retain this
state; component tests deliberately supply explicit initial values.
| Path / source range | Recovered transition |
|---|---|
|47BD86..47BE34|Compute normal×radius and endpoint=current−offset, retaining max(currentY,endpointY); build segment469530 from previous root to endpoint.|
|47BEBA..47BFAD|One-sided469B70 triangle ray. A strictly nearer hit updates695D5C and hit point. Root becomes hit+offset in X/Z; Y changes only for normal.Y<−0.7. A farther/equal face returns false without edge fallback.|
|47BFAE..47BFED|Only a failed face query may enter edges. Requires edge flag and strictly −0.7<normal.Y<0.7.|
|47C048..47C08C|4695B0 finds nearest point among the three edge segments, including endpoints. Without695D74, an edge below current root is rejected.|
|47C092..47C150|Normalize root-to-edge using quick_magnitude; require dot(direction,storedNormal)<0 and strictly nearer than5CFBE0 (−1 sentinel allowed).|
|47C194..47C1F8|Write edge point−direction×radius in X/Z, preserve root Y, update edge distance and hit point.|
469880 projects onto a segment using its quick_magnitude-normalized direction,
clamping to either endpoint.4695B0 compares edge distances with quick_magnitude;
ties prefer BC over AB, then CA over either.47B4B0 finally publishes the candidate
and dispatches normal callbacks370/374. The inspected function does not implement
the previously inferred generic recursive capsule slide. That older description
in original-collision.md is superseded by this bounded trace.
## REA evidence
Complete replies, exports and closed-session snapshots are in
artifacts/collision-response/rea-response/ and rea-kernels/.
| Procedure | Evidence ID |
|---|---|
|47BD80|ev_28147145c0fee39c39936e4180890f321711688d6617d1b8314a12bf45a2e565|
|479D20|ev_5439072b32ae9f9208795ad2b07bc524e2407b46da487072fb3dfd8c10e7c4b0|
|47BBB0|ev_6e0dbae6267e87abbd0e4816b613923549b0f0787a26d7003d1a0e38fc733809|
|47B4B0|ev_d45e078c585d3773494c0e0dfb1696178dd0b8ce8b696caf133892ff070e552e|
|469530|ev_4fef4d32d2c8b30c306cd742fb9daeb93aa1fa36d4edf0ecaa87497e314dc50e|
|4695B0|ev_5e39f2668d04b1fdd2c91b298a28413327dc3879e6b8bbffe0a14bc1dcbc1128|
REA/Ghidra has incomplete C++ parameter/stack types here; apparent uninitialized
locals and missing arguments were resolved against instructions and the copied
component probe. The47B9F0 interior query resolved to47B890, not a new function.
Pseudocode is static evidence, separate from the execution below.
## Isolated original execution
collision_response_probe.c maps a copied EXE without its entry point/import
initialization, binds only quick_magnitude to copied OMT2.dll, disables debug
drawing, and executes47BD80 on synthetic geometry. Six callgraph bodies and all
selected absolute memory operands are guarded by collision_response.py. Because
the preferred base was occupied in Wine, only these explicit operands are
rebased in the generated in-memory copy. This fixture relocation is not recovered
source loader behavior. No on-disk original is patched.
The existing reference_capture.py namespace exposes generated copies only, with
no network and no Original mount. Final wine.log records ten cases and
COLLISION_COMPONENT_COMPLETE, exit0. An initial incomplete-prefix attempt failed
to load kernel32; a complete copied prefix fixed that. Two preferred-base attempts
failed before any source execution; guarded rebasing resolved that host issue.
Observed references: wall face/crossing roots(0,20,10), departing contact false,
edge root(107.071068,100,7.07106781), edge flag disabled false; lower-edge mode0
rejects while mode1 yields(105.77375,105,5.7737484); ceiling root(0,90,0).
These are isolated kernel results, not full original gameplay or native Windows.
Reproduction after preparing the isolated copied installation/prefix described in
docs/reference-testing.md (wait for copy completion before starting Wine):
```sh
python3 tools/binary/collision_response.py ../Original \
--target-copy artifacts/collision-response/original-probe/game/Neutron.exe \
--probe-header artifacts/collision-response/collision_response_relocations.h
i686-w64-mingw32-gcc -O0 -Wall -Wextra -Iartifacts/collision-response \
-Wl,--image-base,0x14000000 tools/binary/collision_response_probe.c \
-o artifacts/collision-response/collision_response_probe.exe
python3 tools/recon/reference_capture.py --asset-probe \
--probe-executable artifacts/collision-response/collision_response_probe.exe \
--probe-success COLLISION_COMPONENT_COMPLETE --seconds 9 \
--output artifacts/collision-response/original-probe
```
## Implementation and remaining gate
OriginalSphereResponse.cs translates this bounded kernel, with explicit nearest
state and contact type. Five managed groups cover original numeric references,
winding, edge/lower-edge switches, ceiling Y, nearest/ties and finite input.
Zero-distance edge normalization is explicitly outside the bounded contract; the
port returns no contact instead of propagating the source's undefined arithmetic.
Modern arithmetic is not an x87 boundary oracle.
The live player and dynamic response still use the provisional capsule adapter.
Integration requires original grid bounds/order/duplicate visits, negative-Y
motion split, previous-root writes, normal/landing callbacks, support/friction
and dynamic reclipping. Replacing only a radius would not satisfy that gate.
The narrow lab doorway snapshot from control-phase-implementation.md remains
the first integrated response case. No claimed recovery of stairs or complete
body response follows from this kernel alone.
+4 -4
View File
@@ -14,16 +14,16 @@ runtime comparison. Coverage does not mean implementation completeness.
|---|---|---|---|---|
| LOOP | Viewport47E4F0 physics before registry473740, including input44DF80; second sync473770; construction order and selective retained-character/new-game ordering. Separate engine morph clock. | Player now integrates prior body state, then fresh input/player/fire or retained player/fire/input. Uncontrolled body/fire now continue while movement/input are gated. Other systems remain grouped; fixed60Hz policy. | S/M/R. Controlled player partial order implemented; bounded raw-owner preparation implemented; full wrapper/registry/cadence open. | C3 continue other callbacks and morph/control phases; C4 support/response remains separate. |
| INPUT | Game interface+8C slot3C4→44DF80→475A70 reads controlled5099E4 and calls3CC; Jimmy interface+C0→426030. | SDL arrows/jump aliases; control gate, modern debug override; mouse/controller incomplete. | S/M/R, user Windows route. Input occurs in object traversal after physics; device sampling/focus and latency open. | Trace event pump, key/mouse and focus gates alongside retained registry order. |
| MOVE |437940/439900 ground/air arithmetic; physics479D20 consumes queued impulse once before acceleration/gravity. | Controlled player consumes prior body state before callbacks; fresh/retained input order explicit. Fixed dt and custom yaw/model conventions remain. | S/P/M/R. Controlled partial phase split verified; uncontrolled/full registry and body response open. | Continue C3 uncontrolled phases, then C4 support/response. |
| MOVE |437940/439900 ground/air arithmetic; physics479D20 consumes queued impulse once before acceleration/gravity. | Player body/fire continue without ownership; input/controller gated; fresh/retained input order explicit. Root overhead wrapper now runs before movement/fire. Fixed dt and custom yaw/model conventions remain. | S/P/M/R. Bounded phases/ceiling implemented; complete base/registry and body response open. | Continue C4 traversal/callback/support integration and C3 base transforms. |
| JET |437F90 controller;421FB0 effect; fresh constructor order places fire after Jimmy, both after global physics. States0..5, hold>.4,8s, energy. | Explicit state table with post-collision effect ticking and VR immunity. | S/M/R. Fresh same-pass countdown recovered; retained child lifecycle, sound and expiry→animation open. | Trace retained Jimmy/fire resets and phase end events before scheduler integration. |
| COLL |479D20/47BD80 body response; support and quick magnitude; dynamic boxes; NC-shape registration exclusion. | Source support and box pieces around modern swept24-unit capsule, feet/root grounding and slide. | S/P/M/R. Response/masks/stairs/contact order not fully recovered; source radius60 is not port capsule24. | C4: isolate response and root convention; replace adapter behind route tests. |
| COLL |479D20/47BD80 body response; face/edge nearest state and helpers; root+150 overhead bounce/cancel; support and quick magnitude; dynamic boxes; NC exclusion. | Isolated source sphere kernel with original component references; route overhead wrapper integrated. Live swept24-unit capsule/feet and dynamic response remain provisional. | S/P/M/R. Ten isolated original kernel cases; byte/managed checks. Grid/normal callbacks/support/friction, masks/stairs/root render remain open; radius60 is not capsule24. | C4: integrate traversal/callback/support order before replacing live adapter; doorway/corner is first route case. |
| ANIM | Engine morph10002DB0; linear interpolation10002F9A; game logical→OMT sync4624B0. | ASE sample timing, unconditional loop closure, pose/action aliases,1/60 advance. | S/P/M/R. Playback flags, rate, completion callbacks, transition order open. | Recover one-shot/loop/end notifications before more aliases. |
| SCRIPT | Source AI/CAM/MCA dispatch and chains; task45F990 objective406F50 BEFORE records BEFORE per-entity424. | Pre-assignment objective selection and per-actor Carl override implemented; bounded synchronous director. | S/M/R. Script callbacks recovered for route; generic class coverage and reentrancy incomplete. | Continue other class-specific callbacks and reentrancy under the recovered owner/phase boundaries. |
| CONTROL | Global5099E4 null during valid CAM/MCA; PlayerControlled completion target; DEFAULT447D..447F restores camera/UI/music. | Director raw ownership plus explicit debug effective override; eligible player body/fire continue; only input/controller tail is gated. | S/M/R. Raw/effective control and ordered preparation are implemented; full base/class wrappers and scheduler remain incomplete. | Continue full wrapper/base and collision contact phases around deferred LOAD. |
| CAMERA | Shared viewport; strict>1000 DEFAULT snap; source eye correction/gain; first wall-grid hit then general-grid FIFO; per-level far planes. | Static source query now integrated for the three route scenes; other scenes use provisional sweep. Separate chase/script eyes and merged clip maximum remain. | S/M/R. Query/kernel/counts tested; x87 boundaries, shared handoff/previous-eye and input branches open. | C5 next shared viewport/DEFAULT and complete follow state. |
| CAMERA | Shared viewport eye is recaptured by ground/air follow after scripts; strict>1000 DEFAULT snap; aim uses pre-update eye; source ray/gain and per-level far planes. | Static source query integrated for the three route scenes; other scenes use provisional sweep. Separate chase/script eyes and merged clip maximum remain. | S/M/R. Handoff source bytes/projections recovered, not implemented; full follow/input/quantization and visual comparison open. | C5 shared viewport eye/aim and DEFAULT transition; preserve source phase boundary. |
| AUDIO | CAM416776..E1 stops music; DEFAULT447F12..45 restarts; bank696008 / gate4F8434; handle47D890 polls inherited software duration and repeat+30. | Separate SDL streams, floating-file-duration cutscene completion, independent per-file SFX. | S/M/R (dummy streams). Source duration/allocation/play-failure/bank/attenuation lifecycle incomplete; speakers/native Windows timing not verified. | C6: explicit bank owner and software channel-clock tests; SDL queue-empty is not the source oracle. |
| UI |406F50 selector/timer;4043D9 controlled clock;407070/O edge;404D97 practice resume.44 objective flags distinct from selector. | Timed objective subset, modal practice, modern UiViewport/debug. | S/M/R. Other flags/gadgets/highlights/cursor/energy/layout transitions open; source widescreen not recovered. | Keep modern scale policy separate; recover UI dispatcher/mode gates before expanding. |
| LOAD | CEditor deferred scene request; selective teardown/reuse; Init stored+11→live+139 resolves old-game deletion; Jimmy/Goddard retained. RETURN root/flags and per-object28→40C. | Reconstructed scene with retained input-order identity and bounded mode/hold/fire container; app-owned presentation. | S/P/M/R. Property stream and bounded scalar/companion resets closed; full body/helper timing and fades remain.50988A is editor R input. | Continue full wrapper/body registration/helper traversal; other gadget/level branches remain gated. |
| LOAD | Deferred scene request; selective reuse; Init stored+11→live+139; Jimmy/Goddard retained. Physical49E clears and re-registration repeats Init before STRT placement. RETURN root/flags and28→40C. | Reconstructed scene with retained input order and bounded mode/hold/fire; app-owned presentation. | S/P/M/R. Physical registration chain source-guarded; full helper/body allocation/order and fades remain.50988A is editor R input. | Integrate physical list/helper traversal alongside C4; other gadget/level branches remain gated. |
| INVENTORY | PostLoad common prefix enables eight owned gadgets4→1, then VR01..08 disables1→4; full tail re-enables the practice gadget. LV1B disables1/7; other wire values preserved. | Availability pass now applied at level entry and verified across TSK tutorial/return; snapshots preserve raw values. | S/M/R. Full selected-gadget/UI and other level tails remain incomplete; bounded route mode/hold/fire carry is implemented. | Keep availability separate from ownership, task changes and arbitrary state carry. |
| SAVE | TSK45FEE0 writer /4603F0 reader; records, arrays, return strings, stored departure root; queued460E70→460EA0. | Original-format round-trip and CLI save, scene snapshots; no full source save UI/load lifecycle. | S/M. Source reader duplicates matching task callback then all-entity420 post-task hook; this is distinct from Jimmy placement PostLoad423A90. Current fresh-director path differs. | C7 after C1/C2; test repeated callbacks before adopting loader behavior. |
| CHECKPOINT | Pickup42AF00 stores+1E38 root/+1E48 level separately from+9A8 RETURN root. | Capture exposed, not used for return; source capture consumers unknown. | S/M. Do not interpret as death/respawn until read consumer found. | Track unresolved consumer; no speculative gameplay. |
+21
View File
@@ -129,3 +129,24 @@ allowed where it resolves a core-system question, without waiting for every leve
checks above remain separate. Baseline untouched; Windows cross-published only.
Logs: artifacts/uncontrolled-phases/package*.log. Next work is full wrapper/base
ownership, C4 collision/root response and shared camera handoff.
- C4 bounded kernel: REA/byte cross-checks recover47BD80 and helpers, with ten
isolated original Wine32 synthetic cases and a managed numeric-reference module.
Live capsule replacement remains gated on grid traversal/order, negative-Y split,
normal callbacks, support/friction and dynamic reclipping. No source generic
recursive capsule slide was found in the inspected dispatcher.
- C3/C4 wrapper: root+150 upward query and min(−0.6Vy,−85) response now run before
Jimmy movement/fire, regardless of ownership; mode1 cancellation preserves hold
and independent queued/body work. Fresh/retained input boundaries preserved;
camera-only debug switch cannot disable physical query. Other scene filters,
sound and selected-gadget cleanup remain separate.
- Registration: retained registry objects have49E cleared, then physical Init/list
registration repeats Init before placement. Shared-eye capture/pre-update aim
is source-guarded but C5 runtime correction remains next. Detailed reports:
collision-response.md, ceiling-wrapper.md, body-root-registration.md,
camera-handoff.md; complete REA results and provider gaps retained on disk.
- Final C4 bounded continuation validation:104 Python plus HUD,25 movement/five
sphere and remaining managed groups,27 zero-error enabled-validation GPU renders,
SDL dummy lifecycle and539 unchanged originals. Four native GTX1070 window
commands pass (five scene renders). Full capsule replacement, complete camera
state and original whole-game/native Windows validation remain separate gates.
+7
View File
@@ -15,6 +15,13 @@ movement and implements bounded ordered preparations. Local REA/Ghidra static
Evidence cross-checks the original gates. See control-phase-implementation.md and
rea.md; full wrapper/collision/camera work is still outstanding.
The C4 continuation now has a bounded47BD80 sphere kernel with ten isolated
original-code cases, an integrated source-root overhead response, and retained
physical registration/repeated-Init evidence. Full capsule replacement remains
gated. Shared-eye handoff is documented for the next C5 correction. See
collision-response.md, ceiling-wrapper.md, body-root-registration.md and
camera-handoff.md; these do not certify whole-game or native Windows fidelity.
The initial architecture checkpoint is complete: all requested core systems have
source anchors, state owners/lifetimes, route interactions, baseline comparison,
explicit unknowns and bounded implementation actions. Feature expansion remains
+18
View File
@@ -3,6 +3,24 @@
Compilation, native runtime, original behavior and full feature completion are
separate evidence categories. **The game is not fully reconstructed/playable yet.**
C4 continuation (2026-10-26): REA/bytes recover the bounded47BD80 sphere kernel;
ten isolated original Wine32 synthetic cases pass with explicitly guarded fixture
rebasing. The managed component matches numeric references; live capsule replacement
remains gated. Source-root overhead velocity reflection/mode1 jump/fire cancellation
is integrated for LV1B/VR04/LEV1, including without control and with the modern
camera query disabled. Full sound/gadget cleanup and other scene filters remain.
Registration/repeated Init and shared-eye handoff reports distinguish recovery
from pending runtime changes. See checkpoint/collision-response.md and linked reports.
Final scripts/test.sh passes in artifacts/collision-response/integration-final.log:
104 Python checks plus separate HUD checks,25 movement groups, five new sphere
groups, remaining managed checks,27 zero-error enabled-validation GPU completions,
SDL dummy lifecycle and539 unchanged original hashes. Both input-only routes use
the source geometry queries and retain their progression/contact checks. Native
Linux GTX1070 at1280x720 passes Carl/control, jetpack SDL keys/resize and debug
tools/checkpoint reload (four commands, five renders), zero validation errors.
The original component probe is not whole-game or native Windows validation.
Control-phase continuation (2026-10-26): body/fire eligibility and ordered raw
preparations are source-byte guarded separately from port behavior. Targeted24
movement groups, coupled director/preparation tests and the airborne control
+8
View File
@@ -165,3 +165,11 @@
Evidence/profile/hash/snapshots and close owned sessions. CLI avoids changing
the existing MCP registration. Unknown procedure definitions remain unknown;
they do not invalidate byte/vtable evidence or imply missing game code.
33. **Integrate collision in verified boundaries.** Preserve source sphere kernel
nearest state/face/edge semantics as an isolated component with original-code
probe references. Keep live capsule replacement gated on traversal, callbacks,
support/friction and dynamic response. Independently correct the proven Jimmy
overhead wrapper using its root ray and mode-specific cancellation, retaining
fresh/retained input order. Modern camera debug controls affect camera queries
only. Do not reinterpret this partial correction as complete original physics.
+43
View File
@@ -1,5 +1,48 @@
# Progress — 2026-10-26
## C4 sphere response and ceiling continuation
REA investigated47BD80,479D20,47BBB0,47B4B0 and projection helpers on a generated
EXE copy. Complete Evidence/exports/closed snapshots are retained in
artifacts/collision-response/. Byte-guarded callgraph, nearest face/edge state,
one-sided ray, lower-edge mode and separate support phases are documented in
checkpoint/collision-response.md. An isolated copied-original kernel probe passes
ten synthetic cases under Wine32, including wall face/crossing/departure, edge
switches/lower-edge override and ceiling. Preferred-base mapping was unavailable;
the fixture rebases only explicit guarded in-memory operands. No original files
are patched or game entry point executed. Initial harness failures are retained.
Added OriginalSphereResponse as a bounded component with original numeric-reference
regressions. The live capsule remains until static-grid traversal, normal callbacks,
negative-Y split, support/friction and dynamic reclipping satisfy the C4 gate.
This supersedes the earlier recursive-sliding inference, not the whole solver.
Integrated directly evidenced Jimmy overhead behavior for LV1B/VR04/LEV1: root+150
one-sided47C210 query, min(−0.6*Vy,−85) response, mode1 jump/fire cancellation before
movement/fire. It runs without raw control. Fresh input still precedes Jimmy's
wrapper, retained input follows Jimmy/fire. Camera-only debug toggling does not
disable physical queries. Current capsule position response, other scenes and
full sound/gadget cleanup remain explicit approximations. See ceiling-wrapper.md.
Independent investigators supplied ceiling and camera byte guards plus REA batches;
primary completed reports and registration guards when investigator capacity ended.
All ownership is now primary. body-root-registration.md closes retained49E clearing,
physical-list rebuild and repeated Init before placement; it does not invent a
capsule height. camera-handoff.md proves resumed follow captures the shared scripted
eye and pre-update aiming; that C5 implementation remains next. Provider-unrecognized
entries/errors remain on disk beside successful Evidence and supplementary bytes.
Targeted movement25 groups, original lab ceiling/query fixture, five sphere groups,
camera query groups and source/projection tests pass. Both input-only lab/outside
and underground passages use the same geometry queries as Program and pass with
their score/task/contact assertions intact. Final scripts/test.sh passes:
104 Python checks plus separate HUD checks, all managed groups,27 GPU completions
with zero enabled Vulkan validation errors, SDL dummy lifecycle and539 unchanged
original hashes. Native Linux GTX1070 at1280x720 passes Carl/control,300-frame
jetpack SDL input/resize and F1/F3 checkpoint tools (four commands, five scene
renders), with zero validation errors. Logs: integration-final.log and native/.
Native Windows and original whole-game comparison remain open.
## Uncontrolled-player implementation and REA
Continued C3 into source control/body/fire boundaries. Original475CA0/frame/body
+5
View File
@@ -14,6 +14,11 @@ probes and modern runtime checks are recorded separately.
read chain, bounded ordinary-load scalar/body resets, full tutorial availability
tails and companion/shadow lifecycle. Source-byte checks and an isolated original
body-routine probe are separate from whole-game/runtime comparison.
- `checkpoint/collision-response.md`, `ceiling-wrapper.md`,
`body-root-registration.md`, `camera-handoff.md`: REA continuation into bounded
sphere kernel/original component probe, root-ray cancellation, retained physical
re-registration/repeated Init and shared scripted/follow eye. Source-byte guards,
port implementation and unresolved integration gates remain separate.
- `save-format.md`: full supplied TSK layout, task query/assignment and activation gates.
- `analysis/lab-progression.md`: CAM/MCA/AI dispatch, original lab chain and skip/camera formulas.
- `analysis/scene-entities.md`: exact entity-resource preparation and contact/sprite evidence.
+11 -2
View File
@@ -79,8 +79,17 @@ plan in verified chunks. Earlier priorities below are a backlog.
player-transform synchronization; managed/GPU/native Linux checks.
- [x] Local REA6.8.0/Ghidra12.1.4/full JDK21 launcher, selected native pseudocode
Evidence/snapshot export; client MCP configuration unchanged. See rea.md.
- [ ] Next: full Jimmy/base wrapper and body registration/helper timing; C4 support/
response/root and shared viewport/DEFAULT handoff. C6 source channel allocation/
- [x] C4 bounded sphere/triangle kernel recovered with REA and isolated original
component references; explicit managed kernel and regressions added. Live adapter
replacement remains gated on traversal, callbacks, support and friction.
- [x] Root+150 upward query/bounce/mode1 cancellation traced and integrated for
the three route scenes, independently of raw control and camera debug switch.
- [x] Retained physical re-registration/repeated Init chain and shared camera-eye
handoff documented with byte guards and retained REA successes/provider gaps.
- [ ] Next: C4 grid/normal-callback/support/friction and dynamic response integration;
full Jimmy/base wrapper/helper traversal and shared viewport/DEFAULT handoff.
Physical re-registration chain is recovered; full implementation/order remains.
C6 source channel allocation/
clock/banks remains separate. Fire's missing Ghidra procedure definition is an
analysis limitation; its immutable source-byte contract is already guarded.