For those needing help to get this up and running:
Manually download the archive file Open Vortex Navigate to "Extensions" on the side bar Drag the file to the designated box (or manually navigate to file location) on the bottom RHS Confirm Vortex restart
Valheim should now show up in your managed games list
Hi! When I drag and drop the folder to the bottom of Extensions, I get an error that says "not an extension, info.json missing". However, that info.json file is clearly in the Valheim Support folder. Can you please help resolve this error?
Log: Error: not an extension, info.json missing at extractFull.then.catch.err (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2491:108) at tryCatcher (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23) at Promise._settlePromiseFromHandler (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:512:31) at Promise._settlePromise (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:569:18) at Promise._settlePromise0 (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:614:10) at Promise._settlePromises (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:689:18) at Async._drainQueue (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:133:16) at Async._drainQueues (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:143:10) at Async.drainQueues (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:17:14) at <anonymous>
If you go to this folder AppData\Roaming\Vortex\plugins\Vortex Extension Update - Valheim Support v1.1.1\BepInExPayload
You can remove the vortex worlds and inslimm dlls that are buried away in the plugins and patcher folders, and then never worry about vortex forcefully reinstalling them again unless someone decided to update this extension.
Unfortunately I don't know how to make it stop adding all those empty folders, there's like 30 mentions of inslim spread all around inside the extension code.
This extension still really needs someone to take over and clean it up of bloat, as well as that recent issue of it grabbing all the thunderstore specific files in the zips now too
Vortex and/or this extension are now copying manifest.json and icon.png files for mods, in addition to the changelog.md files, creating HUNDREDS of irrelevant file conflicts that have to be manually ignored one by one. WTF???
For anyone who experiences problems with Valheim while using Vortex to manage it and happens to check Player.log and notice that the version of BepInEx IS NOT the one that they thought they had downloaded and installed:
The Valheim Vortex extension distrusts users to correctly handle the crucial BepInEx DLL injector, so it keeps its own private copy of it and forcibly installs it, overwriting any attempt you might make to install a different version. At first I assumed that Vortex was downloading it from a hidden NexusMods repository, but instead it's delivered and stored as data with the plugin itself in Vortex. This can be overwritten! Below I have assembled what I believe are complete instructions for how to do this, current as of 2023-10-14 and game version 0.217.24 and BepInEx version 5.4.22. I hope they prove to be useful until this pernicious recurring issue is resolved properly.
Locate the following directory in Windows (File) Explorer: %AppData%\Roaming\Vortex\plugins\Vortex Extension Update - Valheim Support v1.0.24\BepInExPayload
delete the subdirectory InSlimVML; it's no longer valid or necessary;
Category: Utilities (optional, I think, probably empty by default)
Mod Type: Unstripped Assemblies (this directs Vortex where to install hardlinks to staged files)
when finished, you may double-left-click in Mod Name column to close the details pane.
Finally, you should be ready to Deploy; try it.
Assuming all appears well, you can confirm the correct BepInEx version was deployed by checking Properties | Details | File Version (or Product Version) of BepInEx.dll in the \Valheim\BepInEx\core game directory; the version should of course match what you downloaded.
- Profit!
IF the Valheim extension updates without also updating this private copy of BepInEx (or better reworking this whole mechanism), then when it updates it will of course overwrite your handiwork here and you will have to repeat the process! Let's hope that doesn't happen.
Today (October 24, 2023), a v1.1.0 update to this extension was released that makes the above steps unnecessary. It now stores the current version of BepInEx AND adds an extra option to give players agency to manually update it from GitHub directly whenever they feel it necessary. There's even a new Open drop-down menu option for the directory where Vortex stores it, so that it can be overwritten with any other version if needed.
This is a Good Thing. The modal dialog announcement of this was also a very Good Thing.
My good friend you're a God-sent... followed everything you said exactly what you said and it worked the first time... To be honest I thought I did something wrong the whole time I was like what da hell then it dawned on me something was up with the version Vorrx had as I did it manually without any loader and it worked so it has to be!
That was a long read and precise instructions but without you, I would have been lost, thank you so very much for your dedication in coming down from the clouds and helping us mere mortal folks down here! :D
You shouldn't need to follow those instructions now, if your version of the Valheim Support extension is current (1.1.0 or newer), but if your situation is such that those steps are still needed for some reason then I'm glad that I enumerated them. Do be aware that they shouldn't now be necessary and it likely means that you have some files and/or folders amiss that are outside of Vortex's (and the extension's) control. I can't speak for other mod managers, but with Vortex it's crucial that you "give yourself over completely" to it and never meddle directly with game files and folders; doing so makes the function of the Purge button a lie, and that button isn't something you want to lose!
To whoever is still maintaining this, could you make a simple version that adds BepInEx and points to the folders and nothing more?
It would be nice to have a cleaner version that doesn't have so much bloat. It had been awhile since I last used vortex for valheim cause of it, and the poor console was just flooded with errors from all those extra dlls it was forcefully installing
It's not really the bloat causing this, it's the configuration manager being installed (17.1) targeting bepinex 5.4.20, while valheim uses 5.4.19. Manually using 17.0 (or aedenthorn's version) fixes this. Unfortunately, everyone using Vortex to mod Valheim will be suffering this ceaseless error spam until it's resolved.
Vortex Worlds does in fact error on startup, as it looks like it's not been updated to support the new saving system implemented half a year ago.
The extension needs to be updated to resolve these issues. It's extremely aggravating that Vortex forcibly 'prepares' the game for modding every single startup, it might actually make me switch to the thunderstore mod manager instead..
Also yes, debloating it and ONLY installing the support installed mods need would be welcome.
Edit: InSlimVML doesn't even work anymore, according to comments, but Vortex is still installing it. (and no mod I've installed has ever used it)
Yeah, InSlim was someones attempt at making a mod injector plugin thing like BepInEx, but specifically for Valheim. Unfortuntly for them everyone just went for BepInEx and the only noteable mod that really used and stuck to InSlim was that prefab blueprint thing called buildshare.
But yeah if someone wants the blueprints thing or vortex worlds they'll get it, not forced upon everyone just wanting to use a mod installer. They aren't like those unofficial skyrim patches that are a 'must have' they're just another pair of mods like everything else.
I wonder if there's any tools to help make one of these extensions without having to know how to code.
And NOW, after the release of Valheim v0.217.24 and BepInEx 5.4.22, the game extension is again still stuck in the past, unmaintained, and forcibly reinstalling the now obsolete BepInEx 5.4.21 over any attempt to install the new one... and it does so secretly from a hidden repository with no audit trail. This extension is now forcibly breaking the game and modding environment for every player who makes the innocent mistake of trusting Vortex to manage the game. What a wonderful way to reinforce player confidence in NexusMods and Vortex!
The extension SHOULD NOT be made responsible for maintaining the correct version of the critical DLL injector if that is hard-wired into the extension and the extension itself is then left un-maintained.
There's absolutely no point in having the extension managing BepInEx! Modders should NOT have to rely on the Vortex extension to be up-to-date as soon as Valheim and/or BepInEx updates. Making the extension a failing point as a result of game updates is just.......... Every mod needs BepInEx anyway, so any modder would make sure to get it anyway. All the extension needs to do is to point to the correct folders and that's it! Modders will figure out the rest perfectly fine, and if need be BepInEx could be a separate Valheim mod handled like any other Valheim mod that modders can choose to let Vortex manage as an alternative to going off-site to get the latest version.
I'm currently looking into how these Game Extensions are created, and wanted to ask if you used some kind of tool to create this Extension or if you have some Tips or know some kind of documentation of this thats better than this one. Cause i looked and found the api.event.on functions and thought how you would know which events there are.
Thank you kindly, sir. I was searching all over the place to find where the package was installed. Never thought of looking in %appdata%. Much appreciated.
Only thing we'd really need is BepInEx since it's 99.999999999999999% of what valheim mods use. Not everyone is using better continents, or vortex worlds, and there's only like one notable mod that even uses InSlim.
87 comments
Manually download the archive file
Open Vortex
Navigate to "Extensions" on the side bar
Drag the file to the designated box (or manually navigate to file location) on the bottom RHS
Confirm Vortex restart
Valheim should now show up in your managed games list
Edit: For those mentally challenged among us. Move the downloaded unextracted file as instructed.
Log:
Error: not an extension, info.json missing
at extractFull.then.catch.err (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2491:108)
at tryCatcher (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:512:31)
at Promise._settlePromise (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:569:18)
at Promise._settlePromise0 (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:614:10)
at Promise._settlePromises (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:689:18)
at Async._drainQueue (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:133:16)
at Async._drainQueues (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:143:10)
at Async.drainQueues (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:17:14)
at <anonymous>
AppData\Roaming\Vortex\plugins\Vortex Extension Update - Valheim Support v1.1.1\BepInExPayload
You can remove the vortex worlds and inslimm dlls that are buried away in the plugins and patcher folders, and then never worry about vortex forcefully reinstalling them again unless someone decided to update this extension.
Unfortunately I don't know how to make it stop adding all those empty folders, there's like 30 mentions of inslim spread all around inside the extension code.
This extension still really needs someone to take over and clean it up of bloat, as well as that recent issue of it grabbing all the thunderstore specific files in the zips now too
[Info : BepInEx] Running under Unity v2022.3.12.5236448
[Info : BepInEx] CLR runtime version: 4.0.30319.42000
[Info : BepInEx] Supports SRE: True
[Info : BepInEx] System platform: Bits64, Windows
[Message: BepInEx] Preloader started
[Info : BepInEx] Loaded 1 patcher method from [BepInEx.Preloader 5.4.22.0]
[Info : BepInEx] Loaded 1 patcher method from [SlimVML.Loader 1.1.0.0]
[Info : BepInEx] 2 patcher plugins loaded
[Fatal : BepInEx] Could not run preloader!
[Fatal : BepInEx] System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\Steam\steamapps\common\Valheim\unstripped_corlib'.
at System.IO.Enumeration.FileSystemEnumerator`1[TResult].CreateDirectoryHandle (System.String path, System.Boolean ignoreNotFound) [0x0004d] in <834b2ded5dad441e8c7a4287897d63c7>:0
at System.IO.Enumeration.FileSystemEnumerator`1[TResult]..ctor (System.String directory, System.IO.EnumerationOptions options) [0x00050] in <834b2ded5dad441e8c7a4287897d63c7>:0
at System.IO.Enumeration.FileSystemEnumerable`1+DelegateEnumerator[TResult]..ctor (System.IO.Enumeration.FileSystemEnumerable`1[TResult] enumerable) [0x00000] in <834b2ded5dad441e8c7a4287897d63c7>:0
at System.IO.Enumeration.FileSystemEnumerable`1[TResult]..ctor (System.String directory, System.IO.Enumeration.FileSystemEnumerable`1+FindTransform[TResult] transform, System.IO.EnumerationOptions options) [0x00042] in <834b2ded5dad441e8c7a4287897d63c7>:0
at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles (System.String directory, System.String expression, System.IO.EnumerationOptions options) [0x00014] in <834b2ded5dad441e8c7a4287897d63c7>:0
at System.IO.Directory.InternalEnumeratePaths (System.String path, System.String searchPattern, System.IO.SearchTarget searchTarget, System.IO.EnumerationOptions options) [0x0003c] in <834b2ded5dad441e8c7a4287897d63c7>:0
at System.IO.Directory.GetFiles (System.String path, System.String searchPattern, System.IO.EnumerationOptions enumerationOptions) [0x00000] in <834b2ded5dad441e8c7a4287897d63c7>:0
at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) [0x00007] in <834b2ded5dad441e8c7a4287897d63c7>:0
at BepInEx.Utility.GetUniqueFilesInDirectories (System.Collections.Generic.IEnumerable`1[T] directories, System.String pattern) [0x0001a] in <5e471ddbeb974684bff43bc61f1b58cb>:0
at BepInEx.Preloader.Patching.AssemblyPatcher.PatchAndLoad (System.String[] directories) [0x00011] in <a7e3be82e3634ca29e921a65272c4875>:0
at BepInEx.Preloader.Preloader.Run () [0x00216] in <a7e3be82e3634ca29e921a65272c4875>:0
Setting breakpad minidump AppID = 892970
SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561198148469612 [API loaded no]
this is the eroor im getting
when i install Bepinex and mods manually, it all works
The Valheim Vortex extension distrusts users to correctly handle the crucial BepInEx DLL injector, so it keeps its own private copy of it and forcibly installs it, overwriting any attempt you might make to install a different version. At first I assumed that Vortex was downloading it from a hidden NexusMods repository, but instead it's delivered and stored as data with the plugin itself in Vortex. This can be overwritten! Below I have assembled what I believe are complete instructions for how to do this, current as of 2023-10-14 and game version 0.217.24 and BepInEx version 5.4.22. I hope they prove to be useful until this pernicious recurring issue is resolved properly.
%AppData%\Roaming\Vortex\plugins\Vortex Extension Update - Valheim Support v1.0.24\BepInExPayload
https://valheim.thunderstore.io/package/denikson/BepInExPack_Valheim/
%AppData%\Roaming\Vortex\downloads\valheim
Properties | Details | File Version (or Product Version) of BepInEx.dll in the \Valheim\BepInEx\core game directory; the version should of course match what you downloaded.
IF the Valheim extension updates without also updating this private copy of BepInEx (or better reworking this whole mechanism), then when it updates it will of course overwrite your handiwork here and you will have to repeat the process! Let's hope that doesn't happen.
This is a Good Thing. The modal dialog announcement of this was also a very Good Thing.
That was a long read and precise instructions but without you, I would have been lost, thank you so very much for your dedication in coming down from the clouds and helping us mere mortal folks down here! :D
It would be nice to have a cleaner version that doesn't have so much bloat. It had been awhile since I last used vortex for valheim cause of it, and the poor console was just flooded with errors from all those extra dlls it was forcefully installing
Vortex Worlds does in fact error on startup, as it looks like it's not been updated to support the new saving system implemented half a year ago.
[Info:BepInEx] Loading [Vortex Worlds 1.0.1]
[Error : Unity Log] MissingMethodException: string Utils.GetSaveDataPath()
Stack trace:
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.Application:.cctor()
The extension needs to be updated to resolve these issues. It's extremely aggravating that Vortex forcibly 'prepares' the game for modding every single startup, it might actually make me switch to the thunderstore mod manager instead..
Also yes, debloating it and ONLY installing the support installed mods need would be welcome.
Edit: InSlimVML doesn't even work anymore, according to comments, but Vortex is still installing it. (and no mod I've installed has ever used it)
Unfortuntly for them everyone just went for BepInEx and the only noteable mod that really used and stuck to InSlim was that prefab blueprint thing called buildshare.
But yeah if someone wants the blueprints thing or vortex worlds they'll get it, not forced upon everyone just wanting to use a mod installer.
They aren't like those unofficial skyrim patches that are a 'must have' they're just another pair of mods like everything else.
I wonder if there's any tools to help make one of these extensions without having to know how to code.
The extension SHOULD NOT be made responsible for maintaining the correct version of the critical DLL injector if that is hard-wired into the extension and the extension itself is then left un-maintained.
There's absolutely no point in having the extension managing BepInEx!
Modders should NOT have to rely on the Vortex extension to be up-to-date as soon as Valheim and/or BepInEx updates.
Making the extension a failing point as a result of game updates is just..........
Every mod needs BepInEx anyway, so any modder would make sure to get it anyway.
All the extension needs to do is to point to the correct folders and that's it!
Modders will figure out the rest perfectly fine, and if need be BepInEx could be a separate Valheim mod handled like any other Valheim mod that modders can choose to let Vortex manage as an alternative to going off-site to get the latest version.
The current solution is........
not so great...
if you have some Tips or know some kind of documentation of this thats
better than this one. Cause i looked and found the api.event.on functions and thought how you would know which events there are.
Thanks in advance d=====( ̄▽ ̄*)b
to fix the issue:
I was searching all over the place to find where the package was installed.
Never thought of looking in %appdata%.
Much appreciated.
Only thing we'd really need is BepInEx since it's 99.999999999999999% of what valheim mods use.
Not everyone is using better continents, or vortex worlds, and there's only like one notable mod that even uses InSlim.
[Message: BepInEx] Chainloader ready
[Message: BepInEx] Chainloader started
[Info : BepInEx] 1 plugins to load
[Info : BepInEx] Loading [Vortex Worlds 1.0.1]
[Error : Unity Log] MissingMethodException: string Utils.GetSaveDataPath()
Stack trace:
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.Application:.cctor()