GoldbergLocalCoop
Enables local co-op multiplayer using Goldberg Steam emulator. Play with friends on the same machine!
模組介紹 作者原文
Goldberg Local Coop
Enables local co-op multiplayer for Risk of Rain 2 using the Goldberg Steam emulator.
What This Does
This mod patches RoR2's networking layer to properly handle P2P connections from Goldberg Steam emulator instances. Without this mod, joining players get disconnected when the host starts the game.
Use Cases
- Local co-op: Run multiple game instances on the same machine
- LAN parties: Play without Steam authentication requirements
- Offline play: No internet connection needed
Requirements
- BepInEx (mod loader)
- Goldberg Steam Emulator (Steam API emulation)
Installation
- Install BepInEx if you haven't already
- Download this mod
- Place RoR2LocalCoop.dll in BepInEx/plugins/
Setup Guide
For Each Game Instance
- Create a separate game folder with Goldberg's steam_api64.dll
- Configure unique Steam IDs in steam_settings/ for each instance
- Launch both instances
In-Game
- Both instances: Settings -> Disable crossplay
- Host: Multiplayer -> Host Game -> Create
- Host: Copy Lobby ID to clipboard (button in lobby)
- Client: Multiplayer -> Join Clipboard Lobby
- Host: Click Start Game
- Both players load in!
How It Works
When RoR2 receives P2P network data, it checks if the sender has a registered connection. Goldberg emulator connections weren't being registered properly, causing data to be rejected.
This mod:
- Force-accepts P2P connections from Goldberg Steam IDs
- Properly registers the connection object so data isn't rejected
Goldberg Steam IDs
The mod automatically allows Goldberg's default ID range:
- 76561198000000001 through 76561198000000010
Compatibility
- Works with most other mods
- Does not affect normal online multiplayer
- Only activates for Goldberg Steam ID ranges
Source Code
GitHub Repository
Credits
Built with BepInEx and Harmony.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: