frank_da_melon-World_Fixes icon

World Fixes

Targeted world-content compatibility fixes. Repairs Wesley's legacy DunGen references while preserving its Armory and Citadel connection rules.

Last updated 42 minutes ago
Total downloads 0
Total rating 0 
Categories Bug Fixes AI Generated BepInEx Mods Interiors
Dependency string frank_da_melon-World_Fixes-1.0.0
Dependants 0 other packages depend on this package

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
Magic_Wesley-WesleysInteriors-5.0.19 icon
Magic_Wesley-WesleysInteriors

A few new interiors.

Preferred version: 5.0.19

README

World Fixes

Separate from Terminal Fixes, this package is the home for targeted moon, interior and scrap compatibility repairs. Version 1.0.0 contains only the Wesley interior helper repair described below. It does not fix duplicate network identifiers, casino errors or unrelated scrap issues.

Included: Wesley interior helper compatibility

The helper supplied with WesleysInteriors 5.0.19 references dungeon-generation types in the old Assembly-CSharp location. On the tested game these types live in DunGen.dll. The helper consequently fails to instantiate, which can also interrupt LethalModDataLib initialization.

World Fixes applies the validated reference repair before plugins load. It preserves every original method instruction, including the Grand Armory and Atlantean Citadel room-connection rules. Interior selection weights and moon assignments are unchanged; Greenhouse remains available.

Install

Install with Thunderstore Mod Manager. All players should install the same version before launching. Keep WesleysInteriors and its dependencies installed. The package uses BepInEx/patchers, so it may not appear as a normal plugin in in-game configuration lists.

Keep exactly one WesleysInteriorShenanigans.dll in the Wesley mod folder. If you previously moved it out, reinstall WesleysInteriors to restore its original file. Do not put a second manually repaired copy elsewhere in plugins. An already repaired supported copy is detected and left alone.

How it works and backups

The patcher updates the existing Wesley helper on disk; it does not include or load a second Wesley plugin. It accepts only the exact supported original file and verifies that its output is byte-for-byte identical to the repair already tested in-game. Unknown versions are skipped, with a log message. An original backup is saved under BepInEx/cache/WorldFixes. No vanilla game files are edited.

Reinstalling the supported Wesley release is handled automatically on the next launch while World Fixes is enabled. For a newer Wesley release, check the log: an unknown file is deliberately left untouched.

Validation and limitations

The underlying repaired DLL has passed game startup, LethalModDataLib initialization and standard Facility generation. The automatic patcher is tested against the actual original and repaired DLLs, including repeat-run and unknown-version handling. Full Grand Armory, Atlantean Citadel and multiplayer generation testing remains pending; this is not a guarantee for every layout or mod combination.

The original helper deliberately logs "You made a mistake.." and "Maybe not." at Error level. These authored messages are not exceptions. The real old failures were the missing DunGen type and failure to instantiate InteriorModifier.

Uninstall / rollback

Disable or uninstall World Fixes first. Then reinstall WesleysInteriors to restore its original helper, or restore the .bak file from BepInEx/cache/WorldFixes to the original plugin folder under the name WesleysInteriorShenanigans.dll. Disabling World Fixes alone does not undo a repair already written to disk. The original supported helper has the compatibility problem described above.

Credits

Wesley interiors and their original helper belong to Magic_Wesley. This package contains original compatibility-patcher code, not redistributed Wesley binaries or assets. Built with AI assistance. Source code is included under source/.