You are viewing a potentially older version of this package. View all versions.
CaptainTeam-CavePrinceCompat-1.0.1 icon

CavePrinceCompat

Compatibility repairs for Underground Cave and BluePrince (Mt Holly) on REPOLib 4: module relink, extraction fix, BluePrince preloader (Workshop crafting works again).

Date uploaded a week ago
Version 1.0.1
Download link CaptainTeam-CavePrinceCompat-1.0.1.zip
Downloads 179
Dependency string CaptainTeam-CavePrinceCompat-1.0.1

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2305
Zehs-REPOLib-4.2.0 icon
Zehs-REPOLib

Library for adding content to R.E.P.O.

Preferred version: 4.2.0

README

Cave Prince Compat

Compatibility repairs for two custom R.E.P.O. levels on REPOLib 4: Underground Cave and BluePrince (Mt Holly).

Underground Cave

  • Relinks the level's start room and modules when they are missing at registration (37 module references).
  • Extraction points: creates the missing extraction-area/gross-up objects so extractions work, with a hidden renderer so the extraction countdown no longer throws.

BluePrince (Mt Holly)

BluePrince 1.3.2 was built for REPOLib 3. A small BepInEx preloader patcher (BepInEx/patchers) repairs BluePrince.dll at game start, before plugins load:

  • Implements the Content.Bundle property that REPOLib 4 added. BluePrince's PrefabContent assets load again, so their network prefabs are registered: Workshop crafting works (Coin Purse + Lucky Rabbit's Foot = Lucky Purse).
  • Repairs files modified by 1.0.0, which had made PrefabContent abstract (the type loaded, but crafting outputs could not spawn).
  • Fixes two calls to changed game methods (cursed idol damage and discovery display).
  • The original file is kept as BluePrince.dll.ctbak. Nothing is changed when the file is already compatible.

Underground Cave and BluePrince are not forced dependencies: install the map(s) you use.

Multiplayer

Every player must have this package and the same map mods.

Requirements

BepInExPack, REPOLib 4.2.0.

AI disclosure

AI tools were used during development and to create the package artwork.

CHANGELOG

Changelog

1.0.1

  • BluePrince patcher rewritten: implements PrefabContent.Bundle instead of making the class abstract. Workshop crafting (Lucky Purse) works again. Files patched by 1.0.0 are repaired automatically.
  • BluePrince: fixed calls to PlayerHealth.Hurt and ValuableDiscover.New (signatures changed in the game).
  • Underground Cave: the replacement extraction area now has a renderer, fixing a NullReferenceException at the extraction countdown.

1.0.0

  • First release: Underground Cave relink + extraction repair, BluePrince preloader patch.