Bepswitch

版本 v3.1.0·更新於 2022-01-03

Bepswitch: An on-off switch for BepInEx. This is a batch (.bat) file that switches Bepinex on and off so you can play either vanilla or modded easily. Now with profile saving and loading plugins and c

截圖 共 1 張

模組介紹 作者原文

Bepswitch

An on-off switch for Bepinex. Now with profiles!

What's new?

  • 3.1 Added the ability to save and/or load only configs or plugins.

This should make it easier to maintain profiles if you don't need to update configs or plugins.

  • 3.0 Now with profiles to save and load plugin and configs.

What is Bepswitch?

This is a batch (.bat) file that switches Bepinex on and off so you can play either vanilla or modded easily. As of 3.0, it also allows you to save loadouts to a profile and load profiles so you can more easily switch between loadouts. This is useful if you are in different servers or like diferent mods for different worlds.

It is NOT a mod manager in the sense that it does not run in the background while you are playing, so if you have an old potato PC like me, it is very useful!

How do I install it?

Download the mod and put bepswitch.bat in your Valheim folder.

Depending on your install, this should look like:

D:\Steam\steamapps\common\Valheim

The contents of your folder should look something like this:

I suggest creating a shortcut of the file and putting it in a more easy to find location such as your desktop.

How do I use it?

Double click on bepswitch.bat to run. You will see this menu:

What do you want to do?

-

  • Play Vanilla (disable Bepinex)
  • Play Modded (enable Bepinex)
  • Save a Profile (also creates)
  • Load a Profile
  • Create an Empty Profile

Options 1) & 2) allow you to enable or disable mods (BepInEx only).

Press 1 to disable mods, press 2 to enable mods. You can do this each time you want to switch.

Options 3), 4), and 5) let you work with 'profiles' or loadouts.

'Save' copies all your plugins and config files to a profile folder which is saved in BepInEx\Bepswitch-profiles

'Load' clears your current plugins and configs and copies files from a profile folder. You must save a profile first to use 'Load'

'Create' will make an empty profile folder for you to manually copy plugins and config to. Useful if you are making a modpack for example.

NOTE: there are currently 3 profiles available. If you would like me to add more, please message in the comments or create an issue in Github

How do I ask questions / give feedback?

Let me know comments or Github:)

Why did you make it?

I made this because I prefer to manage mods manually rather than using a manager due to my potato pc, and did not want to have to edit files each time I wanted to play vanilla.

I also like learning new code-ish stuff, and figuring this out was fun:)

Credits

The idea for this was from here:

Sample code for first iteration was from here:

Thanks to LuxZg who pointed me to here:

LuxZg also explained to me about replacing strings, so if you like this version 2.0, maybe give them a kudos too:)

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

檔案與校驗

檔案名稱
Bepswitch-3.1.0.zip
檔案大小
69.7 KiB