Claude
79127f9240
savestates: import netplay for reset_frame call after state load
...
The GGRS frame-reset hook merged from issue #5 (netplay_frame field +
netplay::reset_frame in load_savestate_from_data) is missing the
crate::netplay import, so the merged tree does not compile. One-line
fix carried by the session-resume stack.
2026-08-25 15:36:09 -05:00
Claude
92a4781ce6
netplay: count same-batch peer acks in session-resume handshake
...
wait_for_ready_all counted acks by removing them from the by-name
messages map, which collapses every ack that arrives in the same
channel poll into one entry: with 3+ players the host could
undercount and time out a session whose peers all synced. Count the
matching messages of each decoded batch instead (process_reliable_messages
now returns the batch it decoded).
2026-08-25 15:29:40 -05:00
Claude
1bb409f085
netplay: resume both sides at the saved GGRS frame (issue #5 reset_frame)
2026-08-25 11:50:33 -05:00
Claude
412977f91d
Merge remote-tracking branch 'origin/issue-5' into issue-4
...
# Conflicts:
# src/device.rs
# src/netplay.rs
# src/savestates.rs
2026-08-25 11:31:06 -05:00
Claude
9097b455db
netplay: session resume — reload saved state and broadcast to peers ( #4 )
2026-08-25 11:22:52 -05:00
Claude
6d6b07ae67
merge: UI session save/resume controls ( #8 , PR #12 ) — dependency for session resume
2026-08-25 05:45:00 -05:00
Claude
dab9fabc01
merge: netplay session save to disk ( #3 , PR #13 ) — dependency for session resume
...
# Conflicts:
# src/netplay.rs
# src/savestates.rs
2026-08-25 05:44:55 -05:00
Claude
858b92701b
merge: in-memory netplay savestates ( #2 , PR #15 ) — dependency for session resume
2026-08-25 05:43:35 -05:00
Claude
a0dce58c55
Allow savestate creation/loading during netplay ( #2 )
Rust-lint / lint-linux (pull_request) Failing after 1s
Rust / build-linux (linux-x86_64, X64, ubuntu-24.04, x86_64-unknown-linux-gnu) (pull_request) Failing after 1s
Rust / build-android (29.0.14206865, ubuntu-24.04, 33) (pull_request) Failing after 1s
Rust / build-linux (linux-aarch64, ARM64, ubuntu-24.04-arm, aarch64-unknown-linux-gnu) (pull_request) Has been cancelled
Rust / build-windows (windows-aarch64, woa64, windows-11-arm, aarch64-pc-windows-msvc) (pull_request) Has been cancelled
Rust / build-windows (windows-x86_64, win64, windows-2025, x86_64-pc-windows-msvc) (pull_request) Has been cancelled
Rust / build-macos (macos-aarch64, ARM64, aarch64-apple-darwin) (pull_request) Has been cancelled
Rust / Collect release artifacts (pull_request) Has been cancelled
2026-08-25 04:37:36 -05:00
Claude
891d12c08a
netplay: add state-message types to reliable channel protocol ( #1 )
...
Rust-lint / lint-linux (pull_request) Failing after 1s
Rust / build-linux (linux-x86_64, X64, ubuntu-24.04, x86_64-unknown-linux-gnu) (pull_request) Failing after 1s
Rust / build-android (29.0.14206865, ubuntu-24.04, 33) (pull_request) Failing after 1s
Rust / build-linux (linux-aarch64, ARM64, ubuntu-24.04-arm, aarch64-unknown-linux-gnu) (pull_request) Has been cancelled
Rust / build-windows (windows-aarch64, woa64, windows-11-arm, aarch64-pc-windows-msvc) (pull_request) Has been cancelled
Rust / build-windows (windows-x86_64, win64, windows-2025, x86_64-pc-windows-msvc) (pull_request) Has been cancelled
Rust / build-macos (macos-aarch64, ARM64, aarch64-apple-darwin) (pull_request) Has been cancelled
Rust / Collect release artifacts (pull_request) Has been cancelled
Add message-name constants and reliable-channel helpers for netplay
session state transfer:
- Message-name constants: netplay_state, netplay_state_ready,
resync_state, resync_ready
- Chunked message codec (encode_message_chunks / decode_message /
decode_packets) reusing the existing 16 KiB reliable-channel
transport; send_message/process_reliable_messages refactored onto it
- send_netplay_state / receive_netplay_state for full session state
- send_ready / wait_for_ready ack helpers (10s timeout, same pattern
as receive_message); receive_message extracted to wait_for_message
with preserve of input_delay/disconnect side effects
- Large payloads (>1MB) accumulate into incoming_message until a full
postcard message parses
- Unit tests: 5MB payload round-trip through the chunked codec, ack
send/receive within timeout, missing ack times out with the standard
panic pattern
Closes #1
2026-08-25 02:34:07 -05:00
Claude
15fc132cf2
netplay: session save to disk (host) [issue-3]
...
Rust-lint / lint-linux (pull_request) Failing after 1s
Rust / build-linux (linux-x86_64, X64, ubuntu-24.04, x86_64-unknown-linux-gnu) (pull_request) Failing after 1s
Rust / build-android (29.0.14206865, ubuntu-24.04, 33) (pull_request) Failing after 1s
Rust / build-linux (linux-aarch64, ARM64, ubuntu-24.04-arm, aarch64-unknown-linux-gnu) (pull_request) Has been cancelled
Rust / build-windows (windows-aarch64, woa64, windows-11-arm, aarch64-pc-windows-msvc) (pull_request) Has been cancelled
Rust / build-windows (windows-x86_64, win64, windows-2025, x86_64-pc-windows-msvc) (pull_request) Has been cancelled
Rust / build-macos (macos-aarch64, ARM64, aarch64-apple-darwin) (pull_request) Has been cancelled
Rust / Collect release artifacts (pull_request) Has been cancelled
Add host-side netplay session save:
- storage::paths.netplay_state_file_path next to other state files
- savestates::create_savestate_in_memory + SavestateData::save_to_memory
(in-memory capture, same zip layout as on-disk savestates)
- netplay::save_netplay_session(device, path): postcard-encodes
{state, frame, input_delay, rom_hash, players}, zstd-compresses and
writes atomically (tmp + rename); onscreen 'Session saved — safe to quit'
- only the host (player_number 0) may save; others get an onscreen notice
- configurable hotkey (emulation.netplay_save_key, default F7), edge
triggered in ui::input::get and consumed per-frame in check_callback
- unit tests: encode/decode round-trip + file metadata verification
2026-08-25 01:11:51 -05:00
Claude
0ac1cfb679
UI: session save/resume controls + resync status ( #8 )
...
Rust-lint / lint-linux (pull_request) Failing after 1s
Rust / build-linux (linux-x86_64, X64, ubuntu-24.04, x86_64-unknown-linux-gnu) (pull_request) Failing after 1s
Rust / build-android (29.0.14206865, ubuntu-24.04, 33) (pull_request) Failing after 1s
Rust / build-linux (linux-aarch64, ARM64, ubuntu-24.04-arm, aarch64-unknown-linux-gnu) (pull_request) Has been cancelled
Rust / build-windows (windows-aarch64, woa64, windows-11-arm, aarch64-pc-windows-msvc) (pull_request) Has been cancelled
Rust / build-windows (windows-x86_64, win64, windows-2025, x86_64-pc-windows-msvc) (pull_request) Has been cancelled
Rust / build-macos (macos-aarch64, ARM64, aarch64-apple-darwin) (pull_request) Has been cancelled
Rust / Collect release artifacts (pull_request) Has been cancelled
Add UI controls for the netplay session save/resume and resync
indicator features:
- netplay_create.slint: Add 'Resume Session...' button with file picker
callback for .netplay-state files
- netplay_wait.slint: Add 'Save Session' button (host only, gated by
is_host property), add resyncing indicator badge
- netplay_page.slint: Add resyncing property to NetplayData global
- src/ui/netplay.rs: Wire on_netplay_resume_session callback (opens
file picker, placeholder for #3 flow), on_netplay_save_session
callback (placeholder for #3 flow), set is_host on wait window setup
The save/resume callbacks show placeholder messages until #3 is
implemented. The resync indicator shows during ResyncState != Idle.
Closes #8
2026-08-25 00:53:52 -05:00
Claude
eb5cf56ee3
Fix GGRS frame counter reset after state load ( #5 )
...
Rust / build-linux (linux-x86_64, X64, ubuntu-24.04, x86_64-unknown-linux-gnu) (pull_request) Failing after 5s
Rust / build-android (29.0.14206865, ubuntu-24.04, 33) (pull_request) Failing after 2s
Rust-lint / lint-linux (pull_request) Failing after 2s
Rust / build-linux (linux-aarch64, ARM64, ubuntu-24.04-arm, aarch64-unknown-linux-gnu) (pull_request) Has been cancelled
Rust / build-windows (windows-aarch64, woa64, windows-11-arm, aarch64-pc-windows-msvc) (pull_request) Has been cancelled
Rust / build-windows (windows-x86_64, win64, windows-2025, x86_64-pc-windows-msvc) (pull_request) Has been cancelled
Rust / build-macos (macos-aarch64, ARM64, aarch64-apple-darwin) (pull_request) Has been cancelled
Rust / Collect release artifacts (pull_request) Has been cancelled
After a netplay savestate load, the GGRS session's internal frame counter
must be reset to match the savestate's frame, or desync detection fires
immediately on resume.
Changes:
- Patch vendored ggrs 0.13.0 to expose set_current_frame(frame) on
P2PSession and SyncTestSession, with internal SyncLayer and InputQueue
reset methods to clear stale saved states, checksum history, and input
queues
- Add [patch.crates-io] ggrs = { path = 'vendor/ggrs' } in Cargo.toml
- Add netplay::reset_frame(session, frame) wrapper function
- Record current GGRS frame in Savestate.netplay_frame during
create_savestate when in netplay context
- Call reset_frame after load_savestate in netplay context
- Add tests: advance 120 frames, reset to 60, verify current_frame()==60
and clean resume with matching inputs; reset to 0; idempotent reset
Closes #5
2026-08-25 00:37:22 -05:00
Logan McNaughton
42c44998ff
update quick-xml ( #1195 )
2026-08-24 13:10:50 +00:00
Logan McNaughton
1957e8a579
use rustls ( #1194 )
...
* use rustls
* more
* more
* more
* more
* more
2026-08-24 12:35:05 +00:00
Logan McNaughton
d078c66469
fix libdragon interrupt issue ( #1191 )
2026-08-21 09:18:38 +00:00
Logan McNaughton
60582608f1
add VRU word for pirate-sword ( #1188 )
2026-08-19 13:58:20 +00:00
Logan McNaughton
c2b64adbc7
remove rumble flag, just try to rumble ( #1185 )
2026-08-12 19:34:42 +00:00
Logan McNaughton
efe78e544a
fix some clippy warnings ( #1181 )
2026-08-06 23:00:08 +00:00
Logan McNaughton
e9b0915b87
add instructions for input profile ( #1179 )
...
* add instructions for input profile
* update translation files
* update translations
2026-08-03 15:43:27 +00:00
Logan McNaughton
7b17343c72
update netplay id ( #1171 )
2026-08-03 14:11:57 +00:00
Logan McNaughton
6bb3487352
use obfstr ( #1168 )
...
* use obfstr
* more
2026-07-20 14:30:23 +00:00
Logan McNaughton
f113923748
fix spinbox height ( #1160 )
...
* fix spinbox height
* more
2026-07-14 07:07:47 +00:00
Logan McNaughton
67b8f472b3
Remove DRI_PRIME ( #1159 )
...
Not needed with Vulkan
2026-07-13 10:28:02 +00:00
Logan McNaughton
282ec6c6c7
add gpu hints on windows ( #1158 )
2026-07-13 07:17:35 +00:00
PolygonPrincess
e8a7abffe3
Add cli flag for widescreen ( #1152 )
...
* Add cli flag for widescreen and enable config fallback
* Fix else statement brace spacing and trailing whitespace
* Fix trailing whitespace within args.widescreen else statement
2026-07-06 12:54:51 +00:00
Logan McNaughton
1bfb50de8a
re-arrange input profiles ( #1150 )
2026-07-05 10:43:23 +00:00
Logan McNaughton
3bc7c96191
move input polling ( #1145 )
...
* move input polling
* more
* more
* more
2026-07-02 08:04:51 +00:00
Logan McNaughton
8bc765c1a3
match RA branding softcore->casual ( #1142 )
2026-07-01 07:34:48 +00:00
Logan McNaughton
da061240af
normalize no-intro names ( #1139 )
2026-06-30 10:32:43 +00:00
Logan McNaughton
407a1b967c
Re-arrange settings ( #1138 )
...
* update setting locations
* tra
2026-06-30 09:53:03 +00:00
999sian
ad756cd6bd
settings: add a dark/light theme toggle ( #1132 )
...
* settings: add dark/light theme toggle
* i18n: translate theme selector strings
* settings: align Resolution and Theme dropdowns in a GridBox
2026-06-30 09:17:12 +00:00
Logan McNaughton
c8eee9f727
don't copy from db ( #1136 )
2026-06-30 05:23:38 +00:00
Logan McNaughton
01a53ce1c0
use no-intro names in netplay/cheats ( #1133 )
...
* use no-intro names in netplay/cheats
* more
* more
2026-06-29 19:37:33 +00:00
Logan McNaughton
08e7ec71d9
clippy fix ( #1123 )
...
* clippy fix
* more
2026-06-25 13:09:18 +00:00
Logan McNaughton
c97f14980b
show proper number of players ( #1121 )
2026-06-25 12:28:09 +00:00
Logan McNaughton
d6b46037b4
update netplay connection ( #1118 )
2026-06-24 20:44:38 +00:00
Logan McNaughton
5b5acfdd25
update slint ( #1117 )
...
* update slint
* more
2026-06-24 15:04:14 +00:00
Logan McNaughton
926338ba62
fix desync issue ( #1116 )
...
* fix desync issue
* more
* more
* more
* more
2026-06-24 12:52:56 +00:00
Logan McNaughton
cc420013f9
add sleep while waiting for state ( #1115 )
...
* add sleep while waiting for state
* more
* more
2026-06-23 16:37:14 +00:00
Logan McNaughton
ba0a21feca
register tx early ( #1114 )
2026-06-23 14:52:27 +00:00
Logan McNaughton
70b9d20c64
fix android build ( #1113 )
...
* fix android build
* more
* more
2026-06-23 13:57:52 +00:00
Logan McNaughton
dee2b85daa
use tokio mutex ( #1112 )
...
* use tokio mutex
* more
2026-06-23 10:27:15 +00:00
Logan McNaughton
f5cda2901f
clear join sessions list ( #1105 )
2026-06-21 14:22:21 +00:00
Logan McNaughton
2dda5c8706
handle matchbox panics ( #1104 )
2026-06-21 08:51:32 +00:00
Logan McNaughton
d6aa2ddce3
send disconnect notice ( #1103 )
...
* send disconnect notice
* more
* more
* more
* more
2026-06-20 16:40:56 +00:00
Logan McNaughton
c82edae338
show message more frequently ( #1101 )
...
* show message more frequently
* more
2026-06-20 07:58:25 +00:00
Logan McNaughton
57327c1f73
improve netplay startup ( #1100 )
2026-06-19 21:06:05 +00:00
Logan McNaughton
e3a22bf7d0
tweak connection times ( #1099 )
...
* tweak connection times
* more
* more
2026-06-19 07:26:39 +00:00
Logan McNaughton
3718d914fd
try to restore input data from old config ( #1097 )
2026-06-17 06:58:44 +00:00