Skip to content

Port local rollback netplay to F-Zero Forever Alpha 6 - #48

Draft
mstan wants to merge 9 commits into
release/fzero-replays-alphafrom
experimental/alpha6-local-rollback
Draft

mstan wants to merge 9 commits into
release/fzero-replays-alphafrom
experimental/alpha6-local-rollback

Conversation

@mstan

@mstan mstan commented Nov 27, 2026

Copy link
Copy Markdown
Member

Adds the Alpha 6 title wiring for local correction using SNES provider #335. Matches agree on the actual executable, configuration, course catalog, viewport, roster, initial canonical state and qualified execution profile before frame 0. Long deterministic course setup services transport without sampling inputs, admitting another frame or applying queued game state.

The base is release/fzero-replays-alpha at 570c48184c0b25f812946f59b6955d913c131096 (v2.2.0-alpha.6). The existing lobby/host hub/ICE/TURN route is retained with recomp-net #56; no relay-server update is required by this client work.

Windows HLE checks on the frozen runtime passed:

  • Three- and four-peer runs with 30 ms added receive latency, 15 ms jitter and 10% loss: 1,334 and 1,336 matching verified rows respectively.
  • Two-peer shared save/load under the same loss: 381 verified post-load rows and identical shared-slot contents. Four-peer LAN lobby: 1,454 matching verified rows.
  • Exact-build refusal before frame 0, forced snapshot-failure shutdown and native lobby return, cartridge write/hash/restore, and real Lua TCP writes/bounds checks.

The tested runtime uses title 4b8543d2e38cc437bf80ef4be6929c9495c4eb67, engine 1f148c153e066a3e91af727124c3772f0d13222d, net 4c3e92f0de6e9440fc2a5aeb4e94ece3109c71d5, and UI 23a11d8d6346c787d4795d9727a8a9e1eba32e49. Executable SHA-256: 748c479659a3443a3b6836d0494030c37d402447de417bd93d40ec3980b14120. The final PR head 170b74fe45ae5454fa7d932ef2600a4da002b7f1 changes only validation: provider frontiers are authoritative, early departure is checked, and browser coverage is requested separately.

Delay 2/depth 8 is fixed in this first provider; adaptive control is not integrated. Deployed WAN/TURN, the separate browser fixture, other platforms, longer endurance, quiet-host performance, physical controllers and human play acceptance remain open. The contended tests establish the covered behavior; they do not establish a quiet-host performance improvement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant