RoundsLanPhoton
Play ROUNDS with friends over your own LAN or a VPN. A LAN entry in the main menu; the host PC runs the server and plays on it; friends find it automatically. The server is included.
By tiagot
| Date uploaded | 2 weeks ago |
| Version | 0.7.0 |
| Download link | tiagot-RoundsLanPhoton-0.7.0.zip |
| Downloads | 34 |
| Dependency string | tiagot-RoundsLanPhoton-0.7.0 |
This mod requires the following mods to function
BepInEx-BepInExPack_ROUNDS
BepInEx pack for ROUNDS. Preconfigured and ready to use.
Preferred version: 5.4.1901README
ROUNDS LAN
Adds LAN to ROUNDS' main menu, between LOCAL and ONLINE. One PC hosts and plays; the others join over the local network or a VPN. Nothing goes through Photon's cloud or Steam lobbies.
Install
Install with the mod manager like any other package. It brings the BepInEx pack and RoundsWithFriends with it, and it contains the LAN server, so there is nothing else to download.
-
Host: main menu, LAN, HOST. The first time, the mod unpacks its server to
%LOCALAPPDATA%\RoundsLan\luxonand starts it. It stops again when the game closes. -
Friends: main menu, LAN, JOIN, same room name. The host is found automatically; if it is not, set the host's address in
BepInEx/config/tiago.rounds.lanphoton.cfgand switch discovery to manual. -
Firewall: the first time the host listens, Windows asks whether to allow it. Answer Allow. To add the rule up front, run this once in an elevated PowerShell:
New-NetFirewallRule -DisplayName "ROUNDS LAN server" -Direction Inbound -Action Allow -Protocol UDP -LocalPort 5055,5056,5058,27000,27001,27002,47777 -RemoteAddress LocalSubnet -Profile AnyOver a VPN that Windows does not treat as the local subnet, replace
LocalSubnetwith25.0.0.0/8. Removing the mod again:Remove-NetFirewallRule -DisplayName "ROUNDS LAN server".
Everyone needs the same ROUNDS version and the same mods: RoundsWithFriends, UnboundLib, this one.
F8 opens a diagnostics panel: connection state, the room the server actually answered with, and the players it sees.
What runs on the host
Luxon Server 1.5 (BSD-3, github.com/niansa/LuxonServer), an independent Photon-compatible server that
ships inside this package with its licence at BepInEx/plugins/RoundsLanPhoton/luxon/LICENSE. The mod
writes its config, starts it on the host, and kills the process it started when the game exits. No
account, no cloud service and no game files are involved.
Finding the config file
The settings live in BepInEx/config/tiago.rounds.lanphoton.cfg, inside the profile Thunderstore
created, not inside the game folder. BepInEx writes that file the first time the game starts with the
mod enabled, so it does not exist until then. Open it with any text editor: in Thunderstore Mod Manager
the profile folder is one click away under the profile's Browse profile folder, then
BepInEx/config.
Thunderstore Mod Manager's own Edit config page is not the shortcut it looks like for these mods:
it lists every .json, .cfg, .ini and .yml file it finds in the profile, and for a locally
imported mod that includes mm_v2_manifest.json, which is the manager's own bookkeeping file rather
than anything you can configure. Nothing in this package puts it there and nothing in this package can
remove it, because the manager writes it after the install.
Settings worth knowing
| Key | Default | What it does |
|---|---|---|
Server/Port |
5055 |
The port the host's server listens on. Everyone must use the same one. |
Discovery/Mode |
auto |
auto finds the host by broadcast; manual uses Server/Address. |
Discovery/AdvertiseAddress |
empty | Force the address the host announces, for a PC with several network cards. |
Host/ServerPath |
empty | Where the server binary lives. Empty means the %LOCALAPPDATA% path above. |
Panel/ToggleKey |
F8 |
The diagnostics panel. |
CHANGELOG
Changelog
0.8.0
- The plugin rewrites Photon's settings only while a LAN room is being dialled or held. The game's own ONLINE and quick match screens connect exactly as they did without the mod, which fixes the game hanging on its loading screen whenever no LAN server was running, and the restart that was the only way out of it.
- The settings the game shipped with are saved before the first rewrite and written back when a LAN attempt fails, when the player leaves, and when a room disappears without the mod being told (the host closed it, the game's own BACK button, or the game's "other player left" restart).
- A failed HOST or JOIN now ends with the game usable again: the client is disconnected, offline mode is back on, and the menu works. Nothing requires restarting ROUNDS any more.
- A LEAVE button on the LAN page and in the F8 panel ends the session on purpose and hands the game's own networking back.
- New setting
General/RedirectGameConnects(default off) brings back the 0.7.0 behaviour of redirecting every connect, for anyone who relies on it.
0.7.0
- The package now contains the LAN server (Luxon Server 1.5, BSD-3, licence included). On the first
Host the mod copies it to
%LOCALAPPDATA%\RoundsLan\luxon, so hosting no longer depends on a separate download or a setup script. - The package contains no scripts at all: Thunderstore moderation rejects packages that ship
.ps1files, so the config helper and the firewall helper live in the repository undertools/host-helpersand the README carries the instructions instead. - Manifest declares the packages it actually needs: the BepInEx pack for ROUNDS and RoundsWithFriends.
- A missing server now says which path it looked for instead of only naming a script.
0.6.2
Open-Config.ps1opens this mod's config file rather than letting the manager list every.jsonin the profile, including its own bookkeeping file.
0.6.1
- Discovery no longer logs every beacon it receives; it logs when the address or port changes.
- A room name the server answers with is reported when it differs from the one requested, which is how a typo hid inside a single-room host.
0.6.0
- First version published as a Thunderstore package.