5892af318e0d4fa8f6483428b5feaacd90a537ab
RPL4LOBBY implements the multiplayer front door on ISteamMatchmaking. The setup menu grows HOST STEAM RACE / JOIN STEAM RACE buttons when the Steam wire is live; hosting creates a tagged public lobby, joining finds one. Every member publishes FakeIP + fake ports + persona + loadout as member data; the room screen lists members (host marked) and gives the owner a launch button. Launching writes a nonced go-roster into lobby data. Each pod registers every peer with the Steam transport (two-port peer table: engine console/game ports map to Steam fake ports on connect) and enters the race: the owner through the hosted-race path - it builds the multi-pilot egg from real personas and loadouts and its console marshals everyone - and members as network pods that boot straight into WaitingForEgg for the owner to feed over the wire. The lobby outlives races: members loop back through WinMain into the room (no local console needed - MissionCompleted is waived for member races), and the owner returns to the room after its results screen. Leaving the lobby clears the hosted-race priming. Verified on this box: menu buttons appear under RP412STEAM=1, hosting creates a lobby on the Steam backend, the room runs and leaves back to the menu; single-player cycling and the LAN hosted race both still pass. Full three-account mesh test is next, on real hardware. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Red Planet 4.12
Red Planet is the VWE pod-racing game built on the in-house MUNGA engine
(Win32 / DirectX 9, MUNGA_L4 platform layer). The 4.12 line is the
consumer port: a version of Red Planet that can be sold on Steam and played
over internet multiplayer, without cockpit-pod hardware.
Forked from RP411 (the arcade/cockpit 4.11 line) with full history preserved.
Goals
- Steam distribution — Steamworks integration, SteamPipe builds, store-ready packaging.
- Internet multiplayer — take the engine's LAN-era WinSock networking online (NAT traversal, matchmaking, latency tolerance).
- No cockpit required — keyboard / mouse / gamepad input and on-screen replacements for the pod's RIO panel and plasma display, drawing on vRIO.
- Self-hosted sessions — in-game race setup/join replacing the operator-driven TeslaConsole flow.
See docs/RP412-ROADMAP.md for the plan and the Steam-multiplayer logistics.
Building
Unchanged from 4.11 for now — see BUILD.md
(VS 2005/2008 + DirectX SDK June 2010, Release|Win32, output Release\rpl4opt.exe).
Toolchain modernization is a roadmap item.
Related repositories
| Repo | Role |
|---|---|
| RP411 | Upstream arcade source (this repo's base) |
| VRIO | Virtual RIO panel + vPLASMA display — input bindings and display emulation to fold in |
| TeslaSuite | TeslaConsole / Launcher / vPOD — the arcade session-control stack 4.12 replaces (and a reference for the Munga control protocol, TCP 1501) |
Languages
C++
86.5%
C
13%
PowerShell
0.3%
Assembly
0.2%