Skip to content

feat(network): Add debug command-line automated match startup - #3111

Draft
bobtista wants to merge 6 commits into
TheSuperHackers:mainfrom
bobtista:bobtista/feat/debug-auto-lan-startup
Draft

bobtista wants to merge 6 commits into
TheSuperHackers:mainfrom
bobtista:bobtista/feat/debug-auto-lan-startup

Conversation

@bobtista

@bobtista bobtista commented Aug 11, 2026

Copy link
Copy Markdown

Closes #3092.

Adds debug command-line options to host or join a Direct Connect match without going through the menus manually. This makes repeated network testing easier, especially with eight clients.

Use -autoNetworkMode direct with -autoNetworkHost <player-count> or -autoNetworkJoin <host-address>. Optional arguments set the local IP, player name, map and timeout.

Uses the existing LAN join, accept and start paths. Tested two-player startup and eight-player Zero Hour startup with matching simulation CRCs.

The process launcher is separate and is not included here.

@bobtista bobtista self-assigned this Aug 11, 2026
@bobtista bobtista added Enhancement Is new feature or request Debug Is mostly debug functionality labels Aug 11, 2026
@mirelle7

Copy link
Copy Markdown

I'm working on a related networking refactor in feature/modernize-networking that removes networking settings from the client entirely (splitting it into smaller PRs against TSH). Might be worth syncing so this doesn't need rework once that lands.

@bobtista

Copy link
Copy Markdown
Author

I'm working on a related networking refactor in feature/modernize-networking that removes networking settings from the client entirely (splitting it into smaller PRs against TSH). Might be worth syncing so this doesn't need rework once that lands.

I reviewed your related work, these will go well together. Whichever is merged first just needs to account for differences in prefs.getLANIPAddress()

@bobtista
bobtista force-pushed the bobtista/feat/debug-auto-lan-startup branch from 4ba7b93 to b75b9af Compare August 26, 2026 14:25
@bobtista
bobtista force-pushed the bobtista/feat/debug-auto-lan-startup branch from b75b9af to a33c187 Compare September 11, 2026 17:32
@bobtista
bobtista force-pushed the bobtista/feat/debug-auto-lan-startup branch from a33c187 to 56ed502 Compare September 14, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Debug Is mostly debug functionality Enhancement Is new feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(network): Add command-line LAN match startup for debug builds

2 participants