PeakSelfHostedPhoton
Redirects PEAK's Photon Cloud connection to a self-hosted Photon server (LAN / EasyTier). All players must set the same server Address in the config. Includes network jitter tolerance (60s disconnect
模組介紹 作者原文
Peak SelfHosted Photon
Redirects PEAK's Photon Cloud connection to a self-hosted Photon server, enabling LAN / virtual-LAN (e.g. EasyTier) multiplayer without touching the Photon Cloud.
Works with: PEAK v2.1.a (Steam AppID 3527290)
How it works
Patches the game's Photon setup at runtime so every player connects to your own Photon Server (LoadBalancing) instead of the Photon Cloud. Nothing in the game directory is modified — disable the mod and everything is back to vanilla.
Setup (all players, including the host)
- Install BepInExPack_PEAK (dependency, installed automatically).
- Install this mod.
- After the first game launch, edit the generated config at BepInEx/config/Peak.SelfHostedPhoton.cfg:
[Server]
Address = # e.g. 10.126.126.1 for an EasyTier host
Port = 5055
FixedRegion = eu # keep as eu (required by the join flow)
Every player must point to the same server address.
Hosting
- Run a Photon Server (LoadBalancing) on the host machine — UDP 5055/5056.
- Host launches the game, clicks Create Game.
- Friends join through the normal Steam invite flow (ESC in-game → invite → accept).
- Steam Online is still required (it is used for lobby/invite relay); the game data itself no longer goes through the Photon Cloud.
Network tolerance
- Client disconnect timeout is raised to 60 s (config: [Network] DisconnectTimeoutMs), so short network jitter does not drop you.
- Pair with a reconnect mod (e.g. Reconnect Catchup) for automatic rejoin after longer drops.
Limitations
- Self-hosted Photon evaluation license allows 20 concurrent users (fine for 4-player games).
- Voice (PhotonVoice) is not yet supported on the self-hosted server.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: