gabrielgad-GoldbergLocalCoop icon

GoldbergLocalCoop

Enables local co-op multiplayer using Goldberg Steam emulator. Play with friends on the same machine!

Last updated 2 hours ago
Total downloads 6
Total rating 0 
Categories Items Skills
Dependency string gabrielgad-GoldbergLocalCoop-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2108 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2108

README

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

Installation

  1. Install BepInEx if you haven't already
  2. Download this mod
  3. Place RoR2LocalCoop.dll in BepInEx/plugins/

Setup Guide

For Each Game Instance

  1. Create a separate game folder with Goldberg's steam_api64.dll
  2. Configure unique Steam IDs in steam_settings/ for each instance
  3. Launch both instances

In-Game

  1. Both instances: Settings -> Disable crossplay
  2. Host: Multiplayer -> Host Game -> Create
  3. Host: Copy Lobby ID to clipboard (button in lobby)
  4. Client: Multiplayer -> Join Clipboard Lobby
  5. Host: Click Start Game
  6. 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:

  1. Force-accepts P2P connections from Goldberg Steam IDs
  2. 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.