LCMicRecovery
A BepInEx plugin for Lethal Company that attempts to recover stalled or broken microphone capture without restarting the game.
模組介紹 作者原文
LC Mic Recovery
LC Mic Recovery is a small BepInEx plugin for Lethal Company. It attempts to recover stalled or unavailable in-game microphone capture without requiring a full game restart.
The plugin focuses on conservative recovery behavior. It tries a local Dissonance microphone capture reset first, only invokes the game's own Dissonance reset path when the current game state is safe, and avoids running recovery during menu, lobby, teardown, and scene-transition states.
Features
- Automatic microphone recovery checks while in a valid in-game state.
- Manual recovery hotkey for cases where immediate recovery is needed.
- Local ResetMicrophoneCapture() recovery path.
- Guarded game-side ResetDissonanceCommsComponent() support when safe.
- Local recovery can continue when the game-side reset path is unsafe, while game-side reset remains guarded.
- Cooldown, post-recovery grace period, and failure backoff to reduce repeated reset spam.
- Automatic Chinese/English logs and recovery notifications.
- Short in-game recovery notification text to avoid HUD line overlap.
Localization
The LanguageMode config controls user-facing language:
- Auto uses Chinese when LC-Chinese-Project / V81TestChn is detected, otherwise English.
- English forces English logs and HUD notifications.
- Chinese forces Chinese logs. If Chinese HUD font support is not detected, in-game HUD notifications fall back to English to avoid square-box glyph rendering.
The in-game notification is intentionally brief. The longer recovery completion note is written to the BepInEx log when five-step recovery logs, debug logs, or state logs are enabled.
Installation
- Install BepInExPack for Lethal Company.
- Install this package with a compatible mod manager, or copy the package contents into your game directory.
- The plugin DLL should be located at:
BepInEx/plugins/LCMicRecovery/LCMicRecovery.dll
Usage
The plugin runs automatically after installation. If automatic recovery does not restore voice capture in a specific case, use the configured manual recovery key from the plugin configuration.
Configuration is generated by BepInEx after the first launch. The default behavior keeps local Dissonance microphone recovery available even when the game-side reset path is unavailable or unsafe.
Compatibility Notes
This plugin targets Lethal Company V81-era behavior and relies on BepInEx, Harmony, DissonanceVoip, and the game's managed assemblies.
When the game-side reset path is unavailable, unsafe, already running, or fails to start, the plugin falls back to local microphone capture reset behavior instead of failing hard.
Troubleshooting
- If voice capture fails after joining or leaving sessions, wait for the game to finish loading or transitioning before using manual recovery.
- If recovery appears to be skipped, check the BepInEx console or log file for cooldown, teardown, missing device, no-device, or compatibility messages.
- If Chinese HUD text is not available without a Chinese localization/font mod, use Auto or English; Chinese mode will keep logs in Chinese while falling HUD text back to English when needed.
- If reports a package validation issue, confirm that the package root contains manifest.json, README.md, CHANGELOG.md, LICENSE, icon.png, and BepInEx.
Scope
LC Mic Recovery is intended to recover microphone capture failures. It does not replace Dissonance, change voice chat networking, modify lobby behavior, or provide a general localization/font system.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: