DEADTROL-REPO_Compatibility_Patch icon

REPO Compatibility Patch

Essential performance and compatibility patch for modded R.E.P.O. Accelerates startup and level loading to seconds, prevents 120s timeouts on custom maps, and eliminates game-breaking MissingMethodExceptions.

Last updated a week ago
Total downloads 1627
Total rating 0 
Categories Server-side Tools Client-side AI Generated
Dependency string DEADTROL-REPO_Compatibility_Patch-1.1.2
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

README

REPO Compatibility Patch

REPO Compatibility Patch is an all-in-one performance and compatibility framework designed for modded R.E.P.O. It seamlessly resolves game-breaking engine crashes, eliminates method signature incompatibilities across older mods, accelerates asset loading, and ensures multi-mod harmony without modifying game files on disk.

Whether you run a lightweight quality-of-life setup or a massive 50+ modpack with custom maps, weapons, and enemies, this patch keeps your game fast, stable, and error-free.


What This Mod Does & Key Highlights

⚡ Accelerated Game Boot & Asset Streaming

  • High-Throughput Engine Pipeline: Reconfigures Unity's internal asset loader (Application.backgroundLoadingPriority = High) to give multithreaded AssetBundle decompression priority, drastically shortening the time spent on the initial splash and loading screens.
  • Expanded Async GPU Uploads: Increases Unity's asynchronous GPU texture/mesh upload buffer to 64 MB and extends the upload time budget, eliminating stuttering and long freezes when loading high-resolution custom models.
  • 4x Faster Prefab Instantiation: Optimizes async instantiation timeslices during dungeon preparation, enabling levels to assemble rooms, props, and custom items significantly faster.

🛡️ Map Loading Timeout Protection

  • Bypasses the 120-Second Abort Limit: Vanilla R.E.P.O. enforces a strict 120-second timeout during level preparation (prefab preparation took too long...), which kicks players back to the main menu when loading large custom map bundles (Burpleson Base, Minecraft Stronghold, The Facility, Damp Mine, The Stanley Parable, etc.).
  • Continuous Network Message Refresh: Safely keeps network synchronization alive while allowing complex modded levels to finish generating at their own pace without crashing or dropping connection.

🔧 Complete MissingMethodException Shims

Game updates often change core method signatures, causing older mods to trigger hundreds of game-loop errors (MissingMethodException) per second. This patch injects smart backward-compatibility overloads into memory:

  • PlayerController.OverrideSpeed: Resolves the 700+ error freeze loop caused when sprint buffs, boosters, or enemy slow effects trigger.
  • PlayerHealth.Hurt & PlayerHealth.HurtOther: Seamlessly maps legacy 3- and 4-argument damage calls to current game functions.
  • PostProcessing.VignetteOverride: Restores visual effect overrides for custom flashlights and environmental filters.
  • ParticleScriptExplosion.Spawn: Ensures modded explosives, grenades, and visual effects trigger without error.
  • PhysGrabObjectImpactDetector.DestroyObject: Guarantees legacy grab/destruction calls execute cleanly.
  • PlayerVoiceChat.OverridePitch, ChatManager.PossessChat, and PlayerAvatar.Spawn: Maintains compatibility across custom voice, chat, and avatar accessories.

🤝 Multi-Mod Conflict Resolution

  • Harmony Ambiguous Match Resolution: Automatically resolves reflection ambiguities when multiple mods patch identical methods (such as Illagers and SillyValuables targeting DestroyObject), ensuring totem delay animations and item features both work without registering errors.
  • REPOLib Duplicate Prefab Renaming: Intelligently identifies duplicate item IDs (such as duplicate banana valuables across different packs) and registers them with unique internal IDs so all custom items can coexist peacefully.
  • Null Safeguards: Silently catches null registrations and missing directory exceptions (e.g. SADmodelfix preloader paths) before they can halt game initialization.

💾 Bulletproof Save Loading & Lobby Hosting

  • Safe Save Deserialization: Protects StatsManager.LoadGame with a recovery guard that ensures UI states never hang indefinitely if an old save references retired mod assets.
  • Clean Private Lobby Initialization: Ensures Steam lobby network flags and room pools are properly primed when launching private or hosted sessions.

Why You Can Play With Peace of Mind

  • Seamless Compatibility: Works alongside REPOLib, BepInEx 5, HarmonyX, and all major custom enemy, level, item, and overhaul mods.
  • Zero Configuration Required: Everything is fully automated from the moment the game launches.
  • Non-Invasive: All patches and shims operate strictly in memory via BepInEx and Harmony without permanently altering your game binaries or save files.

Credits

Maintained by DEADTROL for the R.E.P.O. modding community.