ProfileSwitcher
Swap Mycopunk save profiles from the main menu without restarting the game.
模組介紹 作者原文
ProfileSwitcher
Swap Mycopunk save profiles from the main menu without restarting the game.
The problem
Vanilla Mycopunk lets you pick a profile on the title screen, but the selection only takes effect after you fully quit
and relaunch. That is slow and annoying when you maintain multiple saves (alters, co-op characters, challenge runs,
etc.).
What this mod does
- Intercepts main-menu profile selection
- Saves the active profile to disk before switching
- Loads the selected profile (primary save, then backups, or a fresh profile if none exists)
- Rebinds gear data and finalizes the loaded save
- Hides the “restart required” prompt and refreshes relevant main-menu UI
- Leaves you on the main menu ready to host/join with the new save
Safety
- Main menu only. Swapping is blocked while you are in the hub, a mission, or joining a lobby.
- Current profile is saved before the switch.
- On failure, the mod attempts to roll back to the previous profile and shows an error popup.
- Blocked swaps show an info popup and fall back to the vanilla restart prompt.
- Does not re-register upgrades/mods (avoids duplicate upgrade definitions).
Dependencies
- Mycopunk
- BepInEx (BepInExPack_Mycopunk 5.4.2403 or compatible)
- HarmonyLib (bundled via BepInEx)
Installing
r2modman (recommended)
Install ProfileSwitcher from the Mycopunk community page.
Manual
Place ProfileSwitcher.dll in /BepInEx/plugins.
Usage
- Launch the game to the main menu.
- Open the profile selector as usual.
- Pick another profile.
- Play — no restart needed.
Building
dotnet build --configuration Release
Output: bin/Release/netstandard2.1/ProfileSwitcher.dll
Known limitations
- Not supported mid-session (hub/mission). Return to the main menu first.
- Other mods that cache PlayerData.Instance at boot may need a menu refresh or relaunch to notice the new profile (
rare).
- Steam stats remain account-wide (same as vanilla).
Changelog
See CHANGELOG.md.
License
MIT — see LICENSE.
Author
Sparroh
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: