Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/LAUNCHER_DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ Status: **SHIPPED via recomp-ui** · 2026-07-23

The pre-boot launcher is not part of the snesrecomp engine tree. Games that
need the shared Dear ImGui launcher vendor
[mstan/recomp-ui](https://github.com/mstan/recomp-ui) as a **repo-root**
[RetroPortingToolKit/recomp-ui](https://github.com/RetroPortingToolKit/recomp-ui) as a **repo-root**
submodule and wire it themselves. snesrecomp keeps only recomp-net (and the
lobby / netplay host facades that recomp-ui drives through callbacks).

## Integration

```cmake
# In the game repo (not snesrecomp):
# git submodule add https://github.com/mstan/recomp-ui.git recomp-ui
# git submodule add https://github.com/RetroPortingToolKit/recomp-ui.git recomp-ui

include(${SNESRECOMP_ROOT}/runner/runner.cmake)
add_executable(MyGame ...)
Expand Down
4 changes: 2 additions & 2 deletions docs/RECOMP_NET.md
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ games — that lives in `snes_host_lobby.c`.

**Default:** put networking optimizations and launcher/netplay UX fixes in
**snesrecomp** (`snes_netplay_*`, `snes_lobby_*`, `snes_host_*`) or
**[recomp-ui](https://github.com/mstan/recomp-ui)** (presentation, UDP port
**[recomp-ui](https://github.com/RetroPortingToolKit/recomp-ui)** (presentation, UDP port
prep, waiting-room flow) — **not** as one-off patches in each game’s
`main.c` / RTL. New titles then inherit the fix when they bump submodules.

Expand Down Expand Up @@ -458,7 +458,7 @@ recomp-ui policy mirror: `docs/HOST_NETPLAY.md` → “Where to put fixes”.
| Layer | Responsibility |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
| snesrecomp (`lib/recomp-net`, `snes_netplay`, `snes_host_session`, lobby) | Vendors netcode, pad/admit facade, MotK WS + ICE; guest bind normalize; `try_fill_launch`; rematch SDL ensure + soft-exit + `session_reset` dispatch |
| [recomp-ui](https://github.com/mstan/recomp-ui) | Waiting-room UI, UDP create/join port prep (`guest_bind`), resume-room flags |
| [recomp-ui](https://github.com/RetroPortingToolKit/recomp-ui) | Waiting-room UI, UDP create/join port prep (`guest_bind`), resume-room flags |
| Game runtime | Thin callbacks → helpers above; `RtlGameInfo` hooks; pad sample / `RtlRunFrame` |
| [recomp-net-server](https://github.com/RetroPortingToolKit/recomp-net-server) | Lobby membership, launch, ICE signal relay |

Expand Down
2 changes: 1 addition & 1 deletion lib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# lib/CMakeLists.txt — optional Windows-oriented superbuild helpers.
#
# The Dear ImGui launcher is not vendored here — games that need it add
# mstan/recomp-ui at their own repo root (see docs/LAUNCHER_DESIGN.md).
# RetroPortingToolKit/recomp-ui at their own repo root (see docs/LAUNCHER_DESIGN.md).
#
# This file optionally builds recomp-net for MSBuild-era consumers that still
# want a packaged static library from lib/:
Expand Down
2 changes: 1 addition & 1 deletion runner/runner.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -467,5 +467,5 @@ endfunction()
include(${SNESRECOMP_RUNNER_ROOT}/recomp_net.cmake)

# Dear ImGui pre-boot launcher is NOT vendored here. Games that need it add
# mstan/recomp-ui as a repo-root submodule and call recomp_target_launcher_ui()
# RetroPortingToolKit/recomp-ui as a repo-root submodule and call recomp_target_launcher_ui()
# themselves (see docs/LAUNCHER_DESIGN.md).
Loading