This is the entry point for research shared by XSharp, its internal MegaEDX API (used by level import/export), HunterBaseStudio and other hosts. Observations are revision-specific facts or explicitly bounded diagnostics, not a claim that the entire original game has been reconstructed.
637079014421563283CDED6AEAA0604597B2E33C.F3246755F608A1E1DC9C848B61DA3B824C7853B29B3BE40DF6FC7F2793A887ED.BSNESv115+, CX4 firmware SHA-1
A002F4EFBA42775A31185D443F3ED1790B0E949A. The full sync settings and emulator
executable hash are preserved in each capture’s metadata.json.n follows zero-based input row n-1. State zero precedes
all recorded inputs. A restricted clip retains those original indices and
explicitly reports its excluded prefix. Never shift a trace to conceal a
missed initial frame.$0000..$1FFF, 8,192 bytes per observed state.
Retain uninterpreted actor fields; an arbitrary slot offset is not necessarily
velocity, a timer or a common animation field.$08:CB42 record RNG seed, direct-page
context and stacked return address. The stacked value precedes RTL’s
increment. A seed match alone does not prove equal call count or ownership.The original capture tools never patch ROM/WRAM, move actors or replace inputs. Each run uses a private movie/configuration/output tree. Source movie and source configuration hashes are checked after execution. No ROM, firmware, native save state or emulator configuration belongs in a portable research export.
These links retain the earlier analysis and its original validation limits. Historical acceptance results are not implicitly revalidated by a newer run.
| Area | Analysis and evidence entry points |
|---|---|
| Movies, frame indexing, continuous comparison | Capture workflow, comparison host, docs/parity/*source.json, XSharp.Tests/Fixtures/X2/movie-captures.json |
| Full scene, RNG ownership, slot dispatchers | Scene/RNG analysis, XSharpShared/Engine/Parity/X2SceneMemory.cs, gap-scene-source.json, gap-rng-audit-source.json |
| Player floor/wall/ceiling transitions | Flat floors, landing, wall contact, wall slide, ceiling, wall-jump corners |
| Ladder ownership and movement | Ladders, release, anchors, top descent |
| Walking/dash transitions | Walking stop, dash stop, corresponding gap-*.json fixtures |
| Enemy state and assets | Aclanda, optional XSharp.Enemies.X2 controls, XSharp.Tests/Fixtures/X2/aclanda-*-source.json, scriver-sprite-source.json, x2-enemy-component-source.json |
| Weapons and small-object phases | Weapon timing, small-object phase, allocation, original call/slot fixtures |
| Animation, graphics transfers, decompression and CPU/NMI timing | Scheduler analysis, x2-player-*-source.json, x2-object-graphics-source.json, x2-graphics-decode-cpu-source.json, snes-ntsc-refresh-gap-source.json, x2-nmi-work-source.json |
| External recompilation comparison | MegaManX2Recomp audit; static inspection only, no external runtime/build claim |
| Current Stag calibration and Gator baseline | Stag calibration, initial differences, original instruction/write captures and comparison reports under docs/parity |
Component timing fixtures initialized from native clocks are component evidence. They are not autonomous whole-engine timing validation. Reference-cadence diagnostics must remain labeled; supplying native logic-counter decisions cannot certify the engine’s own pacing. Rendered pixels, audio and unported controllers are separate acceptance targets.
MegaEDXCore/Research/mmx2-usa-runtime.json
is the canonical machine-readable runtime symbol/encoding catalog. The internal
API exposes it through XSharp.MegaEDX.Mmx2RuntimeResearch.GetSymbols(romSha256)
without opening devices or altering the ROM importer. Unverified revisions are
rejected. MegaEDXCore/Research/mmx2-progress.json records the current measured
milestone, hashes, remaining limitations and artifact names.
HunterBaseStudio embeds an identical catalog in its X2 game module. It adds these symbols to X2 USA only, without granting Japan the same unverified layout or advertising a completed X2 codec/debugger bridge. The repositories remain independently buildable; no cross-checkout assembly reference is added.
Use tools/parity/sync_x2_research.py --studio <HunterBaseStudio-root> to check
both copies. Add --apply after updating the canonical catalog/progress to copy
them. Commit the relevant changes separately in each repository. A successful
metadata check is not runtime integration or gameplay certification.
Checkpoint ROM records, effective runtime camera bounds and requested runtime bounds are different data. MegaEDX’s checkpoint maximum positions are converted to world edges by adding the viewport dimensions. The runtime map’s maximum values constrain the camera top-left, so the replay adapter adds the viewport once. Effective bounds can interpolate toward separate requests. Loading a ROM checkpoint alone cannot reconstruct a movie recorded later in a stage.
tools/parity/package_movie_evidence.py exports each measured original capture
and its matching XSharp comparison into a ZIP with a versioned manifest and
per-file byte counts/SHA-256. It includes raw frame/WRAM/RNG measurements,
comparison CSVs, entity timelines, reports, supplied notes and the measurement
tool source. Provenance/hash mismatches are rejected. verify streams every
archived file, detects changed/unlisted/duplicate entries and does not extract
anything. Reports retain explicit incompleteness and initialization scope.
python tools/parity/package_movie_evidence.py export `
--capture 'C:\research\stag-original' `
--comparison 'C:\research\stag-xsharp' `
--note docs/physics-stag-gator-parity.md `
--output 'C:\research\stag-investigation.zip'
python tools/parity/package_movie_evidence.py verify 'C:\research\stag-investigation.zip'
Archive paths are relative. Historical Lua can retain its original output path; use the included capture CLI with new paths for a fresh measurement. Raw data can be analyzed outside either engine/editor. Running the full comparison host still requires the documented XSharp source/dependencies and a legally supplied ROM. Small assertion fixtures, symbol maps, source hashes and reports are versioned in Git; large raw captures and portable ZIPs remain local artifacts. Earlier raw captures remain in their original private directories and have not all been retroactively packaged by this milestone.
For every new finding, retain the source revision/movie/core/settings, original frame interval, addresses and widths, callback phase, raw assertion data, reproduction command, engine build identity, tested scope, first divergence and remaining hypotheses. Trace only the relevant instruction window when needed. Static 65C816 decoding must track M/X widths and callee effects; byte patterns alone are candidate references, not verified instruction boundaries.
The camera-only mismatch on 1272 is isolated in effective-bound transition research. The original follows to Y=1130, clamps to old effective minimum 1131, then updates that minimum to requested 64. The read-only camera-context/write window is preserved for reuse. Its optional X2 native controller now resolves the 1272 defect; see the component and hosted measurements in that document.
Read-only full original replays isolate 1530–1534 and 1576–1581. A new shot on the walking-to-idle request retains VX until the following idle initialization. A held Dash rejected by the facing-wall probe does not select the native dash-origin jump path or change air-control speed +5C to 0375. See walking control findings and the instruction/write windows in Stag calibration.
The intentional engine feature AllowHeldDashGroundJumps remains enabled in the shared and X1/X2/X3 profiles. The comparison host disables it explicitly and records its value, independently of the optional camera/slot/cadence settings. Reuse these observations as revision-specific controller semantics rather than imposing strict movie policies on general fangame projects. Studio/internal MegaEDX metadata include the verified idle request, wall-facing probe, dash-origin flag and air-control speed.
The Stag 2406–2412 execution/write window pins the native landing dispatcher and context-dependent +4E timer. At zero, completion requests idle before the movement/Jump checks, preserving incoming speed. XSharp now drives this phase through its serialized controller countdown, independently of visual animation advancement; the native comparison trace verifies timer values only while in the landing state. Walking-control research records initialization, request and motion phases. This is reusable controller evidence, not a reason to map the shared +4E byte to one universal animation timer in tooling.
The subsequent first-slide wall-kick window (2983–2993) verifies speed initialization at $08:9BB9 before the accepted Jump request. Keeping that side effect resolves the five remaining stored-speed discrepancies. The complete cadence diagnostic matches all 3,488 initialized/input-result player-motion and camera states; the shared progress register records this strictly as reference-cadence-assisted component acceptance, with autonomous timing/RNG/entity work pending. The engine’s held-Dash ground-jump extension remains enabled by default.
The camera request correction separates explicit world-edge destinations from interpolating effective bounds. Changed-edge masks and directed scalars preserve untouched targets and successive same-update requests without box-normalization loss. Default immediate observers remain compatible; optional X2 phase/state serialization and player profiles are unchanged. The reproducible old/new Gap window shows requested max X retaining 5632 on 557 instead of collapsing to effective 5382. Complete Gap/Stag native-cadence motion/camera checks pass; autonomous native CPU pacing remains separate. The shared progress metadata pins four fresh reports, exact audits and portable archives for reuse.