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
| Last updated | 2 weeks ago |
| Total downloads | 37 |
| Total rating | 0 |
| Categories | Client-side Server-side |
| Dependency string | tiagot-RoundsLanPhoton-0.8.0 |
| Dependants | 0 other packages depend on this package |
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. |
General/RedirectGameConnects |
false |
Off means only HOST and JOIN touch Photon, so the game's own online screen keeps working. Turn it on only if you want the old always-on behaviour. |
Leaving a LAN room
Use LEAVE on the LAN page (or in the F8 panel). The room closes, the game stops pointing at the LAN server and offline mode comes back, so LOCAL and ONLINE work again.
You do not have to remember it. The mod watches for a room that ends without it being told (the host closed it, the game's own BACK button, an error restart) and puts the game's own settings back by itself. If a HOST or JOIN fails, for example because the server is not running yet, the same thing happens: the attempt is reported, the game is left in a usable state, and you can try again.