Commit Graph

71 Commits

Author SHA1 Message Date
Alex Vanderveen 51125849ad yes 2026-09-08 17:45:01 -04:00
Alex Vanderveen 1dcd10bf0a yes 2026-09-08 17:44:57 -04:00
Alex Vanderveen 003b743d3f ok 2026-09-08 17:44:57 -04:00
Alex Vanderveen 0f1fd021a8 patch lobby chat 2026-09-06 03:31:56 -04:00
Alex Vanderveen 8f266efe27 netplay: bring-your-own memory card, lobby chat, and the fullscreen lobby glue
Seat 1 (P2) can bring its LOCAL slot-1 card to a match: it uploads the card
to the host at launch over the new recomp-net MEMCARD op, the host installs
it as the match's slot-2 card, and the usual card broadcast carries it to
everyone. The host's real slot-2 file is rebound to netplay/guest_card2.mcd
for the session and restored on shutdown; guests already sandbox both slots.
Lobby side: a per-seat memcard_offer on set_ready (has_card, share), a host
allow flag in match_caps, and guest_memcard_active settled ONCE by the host
at start and shipped with the launch, so a toggle racing the start cannot
split the room. LAN carries the same over MOTK5 UPDATE / MEMCARD / JOIN
tail / a trailing START line. PSX_NET_GUEST_MEMCARD=1 for CLI sessions;
a host waiting on a card that never comes stalls at a named phase
(mc_guest_wait), not a silent "ok".

Two latent guest-sandbox bugs fixed on the way: a disabled slot 2 had no
bound path, so a host blob carrying a card for it failed to import and the
guest stalled forever; and leaving the sandbox re-bound a disabled slot to
the sandbox file. Both slots are now bound in the sandbox and restored per
slot (memcard_rebind_path, which can also unbind).

Lobby chat: the client keeps a ring fed by the server's echo (op:chat);
LAN rooms relay through the host (MOTK5 CHATREQ guest->host, MOTK5 CHAT
host->everyone). Wired to the launcher's chat_send/chat_count/chat_get.

Also carries the spectator-seat work that was in the tree alongside this
(spectator seats in the lobby client, spectator_wire_slot in the launch).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1dT6h1ZshMVUUVKTPxsCD
2026-09-05 21:18:20 -04:00
Alex Vanderveen 6419e5d2a9 bumprecomp-net and update README 2026-09-03 19:54:19 -04:00
Alex Vanderveen b420752574 rebump 2026-09-02 10:19:09 -04:00
Alex Vanderveen cb4762c53f bump 2026-08-25 14:33:07 -04:00
Alex Vanderveen 9913b146cd chore: sync 2026-08-18 12:20:20 -04:00
Alex Vanderveen 5d954866d5 Merge branch 'master' of https://github.com/mstan/psxrecomp 2026-08-16 22:35:41 -04:00
Alex Vanderveen 6aed4c5c70 Update recomp-net 2026-08-16 22:35:40 -04:00
Alex Vanderveen 95657b6dfd bump 2026-08-16 22:32:41 -04:00
Alex Vanderveen a1292dfb32 fix crash path from bad splash screen bug, and optimize cross platform pacing + rollback 2026-08-14 02:26:34 -04:00
Alex Vanderveen 0a7790a574 chore: bump recomp-net for occupied_mask sparse-seat fix
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-12 22:37:14 -04:00
Alex Vanderveen c4f412be17 project studio, harden prefetch sdl3 2026-08-12 16:49:03 -04:00
Alex Vanderveen ce4b7e8d8a chore: update submodule 2026-08-12 04:22:09 -04:00
Alex Vanderveen 4e7c3e9e74 bump 2026-08-12 04:20:41 -04:00
Alex Vanderveen 75e943b4a4 chore: update submodule 2026-08-12 03:52:46 -04:00
Alex Vanderveen 3acb8f6d59 Integrate retcomm-rbengine as shared rollback host policy.
Wire lib/retcomm-rbengine beside recomp-net and replace MotK in-tree sched,
hash_confirm, input hist, snap ring, and rb_post with thin PSX shims so the
ecosystem can share invent/pacing policy outside each title facade.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 23:52:31 -04:00
Alex Vanderveen 48272f5bbd rematch hardening & bios switching 2026-08-11 19:01:51 -04:00
Alex Vanderveen 4eb08813de bump recomp-net, and netplay hardening 2026-08-11 14:21:51 -04:00
Alex Vanderveen 281f6d2ff6 bump 2026-08-09 14:03:17 -04:00
Alex Vanderveen 46540c77d2 Windows scheduling paths 2026-08-07 16:42:43 -04:00
Alex Vanderveen ca3de47924 bump sub 2026-08-07 03:11:37 -04:00
Alex Vanderveen 5170fedf5a Update recomp-net 2026-08-07 02:13:55 -04:00
Alex Vanderveen 2112b91474 new URL 2026-08-07 01:43:25 -04:00
Alex Vanderveen 652be7ba02 rollback FMV patches and overlay 2026-08-06 00:52:14 -04:00
Alex Vanderveen ff0e934712 recomp-net and new connectivity 2026-08-05 19:32:03 -04:00
Alex Vanderveen 2f7a2d6026 new 3+p architecture 2026-08-05 19:07:06 -04:00
Alex Vanderveen c82c6deb35 rollback SFU using recomp-net-server 2026-08-03 18:18:18 -04:00
Alex Vanderveen 0feb7709f6 rollback opengl render path, ICE patches, resim optimizations 2026-08-03 05:04:48 -04:00
Alex Vanderveen 6917d4a620 scheduler optimization on WAN 2026-08-02 17:49:36 -04:00
Alex Vanderveen fb252728a5 optimize scheduler WAN performance 2026-08-02 16:12:01 -04:00
Alex Vanderveen e0a2e8457a Update recomp-net 2026-08-02 12:57:29 -04:00
Alex Vanderveen 9769e9fbc2 rollback patches 2026-08-02 00:08:39 -04:00
Alex Vanderveen 4ddd2d01b9 rollback patches 2026-08-01 14:13:58 -04:00
Alex Vanderveen fe403e6ce1 rollback patches 2026-07-31 17:14:35 -04:00
Alex Vanderveen 3b88d9f9b5 rollback integrations 2 2026-07-30 01:58:30 -04:00
Alex Vanderveen c5b64dc75d bump recomp-net back to main 2026-07-29 22:11:48 -04:00
Alex Vanderveen 11de0f2b95 bump recomp-net, REMOVE recomp-ui. 2026-07-29 22:10:30 -04:00
Alex Vanderveen 2b35b76a56 rollback engine patch 1 2026-07-29 21:44:44 -04:00
Alex Vanderveen 6b07bfaca7 Pin lib/recomp-net to feat/rollback for MotK rollback testing.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-29 20:11:28 -04:00
Alex Vanderveen bb7240261d sdf 2026-07-29 03:27:25 -04:00
Alex Vanderveen 92efb5c4fd no mods in MP, minor patches 2026-07-29 02:40:50 -04:00
Alex Vanderveen e13e197ce6 Update recomp-net 2026-07-28 16:04:08 -04:00
Alex Vanderveen 6cfe713011 workflow and cross platform update 2026-07-28 15:52:23 -04:00
Alex Vanderveen 7b1b890a46 ICE optimizations, connectivity, latency polling, save/loadstate performance 2026-07-28 00:17:56 -04:00
Alex Vanderveen 227d395823 ICE optimizations, connectivity, latency polling, save/loadstate performance 2026-07-28 00:16:30 -04:00
Alex Vanderveen 59e8f8a63e mingw netplay patch & build 2026-07-24 20:40:00 -04:00
Alex Vanderveen 88290fa168 delay sync patches 2026-07-24 20:13:15 -04:00