Repository navigation
feat: Players window (A to join) and hot join in every game (experimental), on the shared MenuSettings state - #47
Merged
megabitt01 merged 3 commits intoNov 20, 2026
Conversation
The Players window: every controller presses A to join as the next player, B to leave and Y to pick Spartan or Elite. Hot join (experimental) lets players join in the middle of a mission: a controller nobody plays with presses A. Halo 3, ODST, Reach and Halo 4 sign the player in; Halo CE and Halo 2 make their players as a mission loads, so their modules (halo1/hotjoin.cpp, halo2/hotjoin.cpp) start a hot-join mission with all four and hold back the ones who haven't joined. Nine new offsets with byte patterns (gen_patterns.py) for those modules. On the shared menu state (mcc/settings/MenuSettings): a join or a leave changes the players and their controllers there, as the Splitscreen window's player count does, so both menus show it, a game start applies it, and a menu saving writes it. Every game start keeps split screen on while hot join is chosen (ApplySplitscreen). In a hot-join Halo CE or Halo 2 game the player count changes only by joining and leaving: the dashboard's count and the Splitscreen window's -/+ are held. The rest, as in my fork (kirklandsig/AlphaRing v2.0): Halo 2 checkpoints stay safe with players held back, and a player who joined comes back beside a teammate after a checkpoint revert in Halo CE and Halo 2; a join waits for the next tick; the press a player joined with doesn't reach the game; the joined count is published with a release store and read with acquire loads; Bind in the Splitscreen window has the controllers while its player's page waits, and a press either side acted on isn't taken by the other. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… but the held-back ones Account replaced the game's "every player is dead" and "one is dead" flags (players globals +4/+5) with values worked out over the local players who joined only. The game's own routine (0x6A16F0) walks the whole players array, so in network co-op a remote teammate's death or life was dropped: everyone could count as dead while a remote teammate lived (a revert), or a remote teammate's death could stop vetoing checkpoints. It now walks the array as the game's iterator (0x67B050) reads it - count +0x3C, in-use bits, element size +0x24 - and skips only the local players held back. Found by a Codex adversarial review. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It was one long line and ran off a 1080p screen (seen on the test box). It now wraps at 35 font sizes, as a tooltip paragraph. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
41 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Players and hot join, PR 9 of the series: a Players window where each controller presses A to join, and hot join (experimental), so a player can join in the middle of a mission in every game. It works on your shared
MenuSettingsstate, so the dashboard and the F1 menus always show the same players.What players get
MenuSettings, as the Splitscreen window's player count does. Both menus show it, a game start applies it, and the next menu save writes it. The window itself writes no file, and keeps noimgui.inientry either.halo1/hotjoin.cpp,halo2/hotjoin.cpp) start a hot-join mission with all four players and hold back the ones who haven't joined. So in those two games, hot join is chosen at MCC's menus before the mission.How it works
mcc/splitscreen/Join.cpp) polls the pads on the render thread and editsMenuSettings::State()underMenuSettings::Mutex().MenuSettings::ApplySplitscreenkeepsb_overrideon while hot join is chosen.CStateMachine::handleOptionrefuses the count mid hot-join game.ApplySpecies, and the overlay frame callsHotJoinPoll.DefOffsetwith byte patterns (Halo CE 9, Halo 2 1). Each hot-join module is a feature of every offset it uses. On an MCC build missing one, that game's missions start as they do without hot join.check_gates.pypasses.Known limits
Testing (MCC 1.3528, Steam under Proton on Batocera, with virtual pads; not on Windows)
master-chief(cea8227, after feat: spawn menus - vehicles, weapons and AI in front of any player (Halo CE, 2, 3, ODST), a menu per player on the D-pad #46).check_gates.pypasses. The rebase brought no line changes.MenuSettings, took 11 rounds.Doesn't depend on any open PR. The last one in the series is PR 10 (README and reverse-engineering notes), which I'll rewrite against your current README and the combined menu.
🤖 Generated with Claude Code