Way to disable mods?

I would like to start a new "vanilla" run, I have some mods installed (and which I should update, but I don't want to) but I would like to disable them all in the easiest and fastest way possible. Isn't there for example a "switch" or something to turn them all off quickly?
This is because I would like to create a new character/world without using mods (keeping the old saves with mods).
12:13 pm, December 7, 2022
Dale Cooper 0 comments 0 likes

Wafflesaurus Supreme replied to Way to disable mods? December 6, 2022 @ 6:57:52 am PDT

Rename the plugins folder.
8:13 am, March 30, 2023
0 comments 0 likes

Thandius replied to Way to disable mods? December 6, 2022 @ 8:19:01 am PDT

Using a mod manager with different profiles is the most comfortable way of switching.
8:13 am, March 30, 2023
0 comments 0 likes

AlexSledge replied to Way to disable mods? December 6, 2022 @ 8:26:51 am PDT

Rename:
E:\SteamLibrary\steamapps\common\Valheim\doorstop_config.ini to .bak
(or whever yours is)
Now BepInEx won't get loaded, this no mods loaded.

When you want to go back, rename it back.
8:13 am, March 30, 2023
0 comments 0 likes

Dale Cooper replied to Way to disable mods? December 7, 2022 @ 3:58:59 am PDT

Ok, i tried to rename the plugins folder but when i enter in a new world but the game crashes.
Same thing when i rename the "doorstop_config.ini" to .bak or other else extensions



Originally posted by Thandius:
Using a mod manager with different profiles is the most comfortable way of switching.
if I install a modmanager now will it be able to import the mods already installed?
8:13 am, March 30, 2023
0 comments 0 likes

eclipse replied to Way to disable mods? December 7, 2022 @ 8:56:40 am PDT

all mods (depending on which you use) should be in the plugin folder i think? simply select all and move them elsewhere if a rename did not work?
8:13 am, March 30, 2023
0 comments 0 likes

Hiryukaen replied to Way to disable mods? December 7, 2022 @ 9:18:09 am PDT

Originally posted by Dale Cooper:
Ok, i tried to rename the plugins folder but when i enter in a new world but the game crashes.
Same thing when i rename the "doorstop_config.ini" to .bak or other else extensions

if I install a modmanager now will it be able to import the mods already installed?

If you use a mod manager you're limited to only the mods for that platform (as far as I know)
Nexus Mods with Vortex or Thunderstore.io with Thunderstore mod manager. Thats the down side.
The upside is, at least with Thunderstore MM, it allows you choose how you launch the game. Modded or Vanilla, which should also keep the launching from steam Vanilla too.

If you're looking to "vanillafy" your install to remove all mods the following image is the unmodified folders and contents of whatever you named your Valheim installation folder, "Valheim" by default. https://prnt.sc/S6HP7rtZu0Y5 Also verify your steam installation as well to make sure none of the mods changed any of the files.

If you're looking to just disable your mods AND ALL the mods run off BepInEx, you can just rename the BepInEx folder. For example I just rename it to "Disabled BepInEx" and the mods no longer load. https://prnt.sc/4w_Lrj8AdEBj Highlighted files are the fresh install only files.
8:13 am, March 30, 2023
0 comments 0 likes

L1m3r replied to Way to disable mods? March 9, 2023 @ 3:55:13 pm PDT

My method for disabling all mods is renaming
...\Steam\SteamApps\common\Valheim\winhttp.dll -> winhttp.dll_
This stops BepInEx cold in its tracks because it doesn't even get injected into the valheim.exe process anymore => completely disables BepInEx.

(in Linux - just don't use BepInEx's start script...)


Originally posted by Wafflesaurus Supreme:
Rename the plugins folder.
This leaves one mod running - BepInEx!


Originally posted by AlexSledge:
Rename: E:\SteamLibrary\steamapps\common\Valheim\doorstop_config.ini to .bak
Now BepInEx won't get loaded, this no mods loaded.
I think this has the same problem as above - BepInEx still gets injected at runtime and if your BepInEx itself is too old / not compatible anymore it still might interfere with VH.
8:13 am, March 30, 2023
0 comments 0 likes

IvyLeagueZombie replied to Way to disable mods? March 29, 2023 @ 11:05:44 pm PDT

I simply renamed the BepInEx folder to BepInEx.disabled. BepInEx doesn't load at all and neither do any of my mods,
8:13 am, March 30, 2023
0 comments 0 likes

Renlish replied to Way to disable mods? March 30, 2023 @ 12:13:29 am PDT

Originally posted by Wafflesaurus Supreme:
Rename the plugins folder.

This. Or just delete the plugins folder. Done and dusted.
8:13 am, March 30, 2023
0 comments 0 likes

L1m3r replied to Way to disable mods? March 30, 2023 @ 12:45:54 am PDT

Originally posted by IvyLeagueZombie:
I simply renamed the BepInEx folder to BepInEx.disabled. BepInEx doesn't load at all and neither do any of my mods,

yep, but BepInEx's "winhttp.dll" in VH's root folder still injects itself into VH and tries to load BepInEx (thou it can't because you renamed its folder).
-> If there's any new incompatibility between VH and the injector "winhttp.dll" - while highly unlikely - you'd still get errors.


Originally posted by Renlish:
Originally posted by Wafflesaurus Supreme:
Rename the plugins folder.
This. Or just delete the plugins folder. Done and dusted.
Nope, not done and definitively not dusted at all!
Originally posted by L1m3r:
This leaves one mod running - BepInEx!
And BepInEx is THE mod! Practically all mods do nothing without BepInEx actually loading them into Valheim.
And even if there are no mods to load for BepInEx it itself still gets loaded and as recent updates/incompatibilities/crashes have shown that alone can be enough.
8:13 am, March 30, 2023
0 comments 0 likes

L1m3r replied to Way to disable mods? March 9, 2023 @ 3:55:13 pm PST

My method for disabling all mods is renaming
...\Steam\SteamApps\common\Valheim\winhttp.dll -> winhttp.dll_
This stops BepInEx cold in its tracks because it doesn't even get injected into the valheim.exe process anymore => completely disables BepInEx.

(in Linux - just don't use BepInEx's start script...)


Originally posted by Wafflesaurus Supreme:
Rename the plugins folder.
This leaves one mod running - BepInEx!


Originally posted by AlexSledge:
Rename: E:\SteamLibrary\steamapps\common\Valheim\doorstop_config.ini to .bak
Now BepInEx won't get loaded, this no mods loaded.
I think this has the same problem as above - BepInEx still gets injected at runtime and if your BepInEx itself is too old / not compatible anymore it still might interfere with VH.
12:13 am, March 10, 2023
0 comments 0 likes

eclipse replied to Way to disable mods? December 7, 2022 @ 8:56:40 am PST

all mods (depending on which you use) should be in the plugin folder i think? simply select all and move them elsewhere if a rename did not work?
6:13 pm, December 7, 2022
0 comments 0 likes

Hiryukaen replied to Way to disable mods? December 7, 2022 @ 9:18:09 am PST

Originally posted by Dale Cooper:
Ok, i tried to rename the plugins folder but when i enter in a new world but the game crashes.
Same thing when i rename the "doorstop_config.ini" to .bak or other else extensions

if I install a modmanager now will it be able to import the mods already installed?

If you use a mod manager you're limited to only the mods for that platform (as far as I know)
Nexus Mods with Vortex or Thunderstore.io with Thunderstore mod manager. Thats the down side.
The upside is, at least with Thunderstore MM, it allows you choose how you launch the game. Modded or Vanilla, which should also keep the launching from steam Vanilla too.

If you're looking to "vanillafy" your install to remove all mods the following image is the unmodified folders and contents of whatever you named your Valheim installation folder, "Valheim" by default. https://prnt.sc/S6HP7rtZu0Y5 Also verify your steam installation as well to make sure none of the mods changed any of the files.

If you're looking to just disable your mods AND ALL the mods run off BepInEx, you can just rename the BepInEx folder. For example I just rename it to "Disabled BepInEx" and the mods no longer load. https://prnt.sc/4w_Lrj8AdEBj Highlighted files are the fresh install only files.
6:13 pm, December 7, 2022
0 comments 0 likes

Wafflesaurus Supreme replied to Way to disable mods? December 6, 2022 @ 6:57:52 am PST

Rename the plugins folder.
12:13 pm, December 7, 2022
0 comments 0 likes

Thandius replied to Way to disable mods? December 6, 2022 @ 8:19:01 am PST

Using a mod manager with different profiles is the most comfortable way of switching.
12:13 pm, December 7, 2022
0 comments 0 likes

AlexSledge replied to Way to disable mods? December 6, 2022 @ 8:26:51 am PST

Rename:
E:\SteamLibrary\steamapps\common\Valheim\doorstop_config.ini to .bak
(or whever yours is)
Now BepInEx won't get loaded, this no mods loaded.

When you want to go back, rename it back.
12:13 pm, December 7, 2022
0 comments 0 likes

Dale Cooper replied to Way to disable mods? December 7, 2022 @ 3:58:59 am PST

Ok, i tried to rename the plugins folder but when i enter in a new world but the game crashes.
Same thing when i rename the "doorstop_config.ini" to .bak or other else extensions



Originally posted by Thandius:
Using a mod manager with different profiles is the most comfortable way of switching.
if I install a modmanager now will it be able to import the mods already installed?
12:13 pm, December 7, 2022
0 comments 0 likes