Local splitscreen for Sunrise, as an official native mod. Extra seats need no account of their own and never use the host's credentials. Own-account guest sign-in is not part of the cutover.
This repository currently contains the local-seat admission foundation. It does not replace the game's startup or add player controls. See the cutover plan for how the mod will replace built-in splitscreen.
On x86-64 Linux, run bash tools/build-sdk.sh. It verifies the signed SDK pinned by sunrise-mod.toml, checks the mod
with the SDK's Rust toolchain, builds the native patch without rebuilding the game, and writes an unsigned source
package to target/sdk-<commit>/splitscreen.smod. Clippy and the unit tests cover the mod crate and seat policy. The
native adapter and smoke driver compile against the signed SDK; the injected engine code is not linted by Clippy.
CI does not run the in-game smoke because it needs private game resources. To run both windowed smoke starts locally,
set SPLITSCREEN_TEST_RESOURCES to a prepared resource directory and rerun the same command with Xvfb and a renderer.
The Splitscreen workflow also accepts an sdk_tag of the form sdk-<full commit>. This rebuilds a scratch copy
against the named SDK without changing the repository's pin. Set force_hosted: true on a manual run to use a
GitHub-hosted runner even when the pool lease is active. These builds are not player releases. Once the mod is ready
and signed, each version goes through the normal sunrise-mods
submission process.
Release packages are signed with Sunrise's official-mod key, minisign.pub (key ID 69DA4581EF8B9FDA). Download splitscreen.smod and its splitscreen.smod.minisig from the same release into one folder, then run:
minisign -Vm splitscreen.smod -p minisign.pub
Once the mod is listed in Sunrise's registry, its entry pins this key, and the launcher refuses a registry install whose signature doesn't verify against it.
Licence: MIT. See CONTRIBUTING.md for the DCO sign-off.