Hiradpi-CustomPhotonServer icon

CustomPhotonServer

Custom Photon Server with GUI integration using Menulib and REPOConfig.

Last updated a day ago
Total downloads 61
Total rating 0 
Categories Mods Client-side Server-side
Dependency string Hiradpi-CustomPhotonServer-1.0.5
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
nickklmao-MenuLib-2.5.0 icon
nickklmao-MenuLib

A library for creating UI!

Preferred version: 2.5.0
nickklmao-REPOConfig-1.2.3 icon
nickklmao-REPOConfig

Edit mod configs in-game!

Preferred version: 1.2.3

README

Custom Photon Server

A BepInEx mod for R.E.P.O that allows players to connect to custom or self-hosted Photon servers by overriding the R.E.P.O's default Photon App IDs. It provides an in-game menu to easily configure the server settings.


🖼️ In-Game Menu


✨ Features

  • Custom Photon App IDs: Set your own AppIdRealtime and AppIdVoice to redirect the game's networking to your server.
  • In-Game Configuration: A user-friendly menu integrated with MenuLib and REPOConfig to change settings.
  • Clipboard Import: Quickly import a Photon App ID from your clipboard.
  • Steam App ID Override: Optionally change the Steam App ID, useful for development and testing (e.g., using Steam's Spacewar 480 ID).

⚙️ Dependencies

To use or build this mod, you'll need the following dependencies:

  • BepInEx: The modding framework for Unity games.
  • HarmonyX: For patching game methods at runtime.
  • Unity Modules:
    • UnityEngine.dll
    • UnityEngine.CoreModule.dll
    • UnityEngine.UI.dll
  • Photon Networking:
    • PhotonRealtime.dll
    • PhotonUnityNetworking.dll
  • Steamworks:
    • A compatible Steamworks library (e.g., Steamworks.NET or Facepunch.Steamworks).
  • MenuLib:
    • the MenuLib.dll you can get from here.
  • REPOconfig:
    • The specific REPOconfig.dll you can get from here.
  • TextMeshPro:
    • Unity.TextMeshPro.dll

🛠️ Installation

  1. Make sure you have BepInEx installed.
  2. Make sure you have MenuLib and REPOConfig in your plugins folder.
  3. Download the latest release of CustomPhotonServer.dll from the Releases page.
  4. Place the downloaded .dll file into your game's BepInEx/plugins folder.
  5. Launch the game, and the mod's configuration options should appear in the game's mod settings menu.

🚀 Usage

  1. After installing the mod, run the game and navigate to the mod settings menu.
  2. Find the Custom Photon Server section.
  3. Toggle the Enable option to activate the mod.
  4. Enter your custom AppId Realtime and AppId Voice into the respective input fields.
    • You can also use the Import from clipboard button if you have a valid App ID copied.
  5. Click Save to apply the changes. The game will now attempt to connect using your specified Photon App IDs.
  6. (Optional) If you need to test with a different Steam application context, enable the Change SteamAppId option. This will initialize Steam with the test App ID 480 (Spacewar).

🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page. Please read the contribution guidelines before making a pull request.