You are viewing a potentially older version of this package. View all versions.
BruhMMods-LethalQuantitiesFixed-1.0.2 icon

LethalQuantitiesFixed

Automatically replaces LethalQuantities 1.2.9 with a current-game compatibility build before BepInEx loads it.

Date uploaded 3 weeks ago
Version 1.0.2
Download link BruhMMods-LethalQuantitiesFixed-1.0.2.zip
Downloads 21
Dependency string BruhMMods-LethalQuantitiesFixed-1.0.2

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
BananaPuncher714-LethalQuantities-1.2.9 icon
BananaPuncher714-LethalQuantities

Customize enemies, items, prices, dungeon flows and traps for all moons. Works with custom content and non-intrusive. Great for modpack balancing! Now with a web UI!!

Preferred version: 1.2.9

README

REAL QUICK WARNING

Yes, this used stinky AI to help with the code, it's just a quick patch to the LethalQuantities mod so it works in the current V80 since like i have a buddy that relies on that mod that makes modpacks so we can still have fun gamenights. This of course could also benefit anybody that relies on this mod too. You are free to do WHATEVER you want with this one i don't care, i didn't rlly make it anyways so yeah. If you want to make a better version of this with actual effort on it then be my guest it would be nice to see.

LethalQuantitiesFixed

Compatibility package for the deprecated LethalQuantities 1.2.9 mod.

The package installs the original mod as a dependency, then a BepInEx 5 preloader component verifies the original DLL by SHA-256 and replaces it with the fixed build before normal plugins are scanned. No manual DLL copying or second launch is required.

The preloader component targets the same .NET 3.5 runtime surface and Mono.Cecil 0.10.4 API used by the Lethal Company BepInEx 5 packs. The fixed LethalQuantities payload itself remains a .NET Standard 2.1 plugin.

Safety behavior

  • Only the exact original 1.2.9 DLL is replaced.
  • The fixed payload is verified before anything is changed.
  • Unknown/custom LethalQuantities.dll builds are left untouched.
  • A backup is kept beside the original as LethalQuantities.dll.deprecated-1.2.9.bak.
  • The original package's config, web editor, and other files remain in place.

Fixed build differences

  • Resolves DunGen types from the separate DunGen.dll assembly used by newer game builds.
  • Checks whether DunGen.RuntimeDungeon exists before applying that Harmony patch, avoiding a hard failure when the game changes the type.

Installation

Install this package normally with Gale, r2modman, or Thunderstore Mod Manager and launch the game. The deprecated package is installed automatically through the dependency list.

For a local Gale test, use Profile > Import > Local mod and select the ZIP. Do not extract the package inside BepInEx/plugins. After installation, LethalQuantitiesReplacer.dll must be somewhere beneath BepInEx/patchers, not beneath BepInEx/plugins.

If installing by manually extracting the ZIP, extract it into the profile root so that the ZIP's BepInEx folder merges with the profile's existing BepInEx folder.

Uninstallation

Removing this package does not deliberately rewrite another package during uninstall. To restore the deprecated DLL, reinstall the original BananaPuncher714-LethalQuantities-1.2.9 package after removing this package.

Troubleshooting

If BepInEx reports multiple plugins with GUID LethalQuantities, search the profile's BepInEx/plugins folder for duplicate LethalQuantities.dll files and keep only the dependency's copy.

CHANGELOG

Changelog

1.0.25

  • i SWEAR when i tested it it was working FINE.. My bad but NOOW it should be good

  • Changed the package layout from patchers/ to the explicit BepInEx/patchers/ route for Gale local-import compatibility.

  • Added exact Gale local-install and path-verification instructions.

1.0.1

  • Rebuilt the preloader component for the .NET 3.5 runtime used by BepInEx's preloader stage. Version 1.0.0 targeted .NET Standard 2.1 and could fail to load before the normal plugin chainloader started.
  • Kept the replacement payload and accepted original/fixed hashes unchanged.

1.0.0

  • Added automatic preloader replacement for the exact deprecated 1.2.9 DLL.
  • Bundled and hash-verified the current-game compatibility build.
  • Preserved the deprecated DLL as a non-loadable backup.