lc memsaver
A BepInEx plugin that reduces Lethal Company's RAM consumption through multiple optimization systems. Works with vanilla and modded installs.
About this mod Author’s original text
lc-memsaver — Optimiseur mémoire (Lethal Company)
Plugin BepInEx client-side qui réduit l’usage RAM/VRAM via des optimisations progressives (non-bloquantes) et des protections pour éviter de casser l’UI, les meshes ou l’audio.
Ce que ça fait
- Optimisation continue à intervalle (travail étalé sur plusieurs frames)
- Textures: mipmap streaming + mip bias (VRAM ↓), avec protections UI/icons/fonts/sprites
- Audio: décharge des clips non nécessaires (RAM ↓) + protections micro/voice chat
- Assets: dédup matériaux instanciés + nettoyage de RenderTextures inutiles
- Nettoyage mémoire: passes light + full cleanup pendant les transitions
Sécurité / compatibilité
- Évite les optimisations runtime irréversibles qui génèrent souvent des erreurs Unity
- Patches de compatibilité pour réduire les erreurs venant d’autres mods (mesh non-readable, triangles sur lines/points, compress textures unsafe, unload audio micro)
Réglages
Le fichier de config est généré au lancement: BepInEx/config/RuntimeCollective.lc-memsaver.cfg
Installation
- Installer BepInEx 5
- Mettre RuntimeCollective.lc-memsaver.dll dans BepInEx/plugins/
- Lancer le jeu
Compatibilité
- Client-side only (LobbyCompatibility soft dependency)
- Détecte certains mods perf et évite les features qui se chevauchent (ex: LethalSponge)
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Dependencies
Install these first, or the mod will not work:
BepInEx-BepInExPackBMX-LobbyCompatibility