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>
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.
Okay. So 5.4.16. I go into that D:\Vortex Mods\valheim dir and find a directory named, denikson-BepInExPack_Valheim-5.4.1600".
Okay, so it should be loading 5.4.16. And Thank You for keeping this package updated! [EDIT: Nevermind, I take that back.}
But... The Valheim "player.log" says this...
[Message: BepInEx] BepInEx 5.4.11.0 - valheim
And... [Warning: BepInEx] Plugin [PlantEverything 1.8.4] targets a wrong version of BepInEx (5.4.15.0) and might not work until you update [Warning: BepInEx] Plugin [Build Camera 1.6.1] targets a wrong version of BepInEx (5.4.15.0) and might not work until you update [Warning: BepInEx] Plugin [Equipment and Quick Slots 2.0.14] targets a wrong version of BepInEx (5.4.15.0) and might not work until you update [Warning: BepInEx] Plugin [SailingMapReveal 1.0] targets a wrong version of BepInEx (5.4.16.0) and might not work until you update [Warning: BepInEx] Plugin [Useful Trophies Mod 1.0.1] targets a wrong version of BepInEx (5.4.15.0) and might not work until you update
At this point, I'm still digging in to it. Will update if I figure it out.
So...um... I guess this is no longer needed? It was originally created by Nagev but has been uploaded by BigBizKit. Maybe because peeps were asking for it?
RickF7666 wrote: Will this be updated to support BepInEx 5.4.1502?
yermudr wrote: 5.4.16 now...
yermudr wrote: 5.4.17 now...
Which I manually installed, but then Vortex somehow magically reset it to 5.4.11.
Is there a trick to manually updating in such a way that Vortex won't blow it up?
yermudr wrote: Hrmm. Well, I'm trying to dig into this some more. I find in the Valheim dir a file, "vortex.deployment.unstripped-assemblies.json", which says...
Okay. So 5.4.16. I go into that D:\Vortex Mods\valheim dir and find a directory named, denikson-BepInExPack_Valheim-5.4.1600".
Okay, so it should be loading 5.4.16. And Thank You for keeping this package updated!
But... The Valheim "player.log" says this...
[Message: BepInEx] BepInEx 5.4.11.0 - valheim
And... [Warning: BepInEx] Plugin [PlantEverything 1.8.4] targets a wrong version of BepInEx (5.4.15.0) and might not work until you update [Warning: BepInEx] Plugin [Build Camera 1.6.1] targets a wrong version of BepInEx (5.4.15.0) and might not work until you update [Warning: BepInEx] Plugin [Equipment and Quick Slots 2.0.14] targets a wrong version of BepInEx (5.4.15.0) and might not work until you update [Warning: BepInEx] Plugin [SailingMapReveal 1.0] targets a wrong version of BepInEx (5.4.16.0) and might not work until you update [Warning: BepInEx] Plugin [Useful Trophies Mod 1.0.1] targets a wrong version of BepInEx (5.4.15.0) and might not work until you update
At this point, I'm still digging in to it. Will update if I figure it out.
yermudr wrote: And now through more searching, I find this...
So...um... I guess this is no longer needed? It was originally created by Nagev but has been uploaded by BigBizKit. Maybe because peeps were asking for it?
To quote The Critical Drinker: "Don't know."
No, it's needed. If I uninstall it in Vortex, then run Vortex, it doesn't show the game. If I select Games and search for Val, it shows Valheim. If I select the game Valheim, Vortex tells me it needs the extension and downloads/installs/restarts and there is Valheim with all the mods I had already installed.
BUT - it's still running BepInEx 5.4.11. Even though I have manually updated my BepInEx to 5.4.17 and even though denikson's BepInEx Pack for Valheim is up to 5.4.16.
Here is HowTo fix it: (BE ADVISED: Vortex's Valheim Extension (this mod on this page) WILL OVERWRITE your Valheim/BepInEx/core directory if you run Vortex. DO NOT RUN VORTEX while doing this fix until you reach that step in the HowTo.)
1. Exit the game. 2. Close Vortex.
3. Install the latest BepInEx in your Valheim game dir. I use aedenthorn's BepInExUnityInstaller which is just a little .exe that you place IN YOUR VALHEIM GAME DIR and then double-click to run it. It will grab the latest BepInEx and install it. https://www.nexusmods.com/site/mods/287
4. Manually (NOT the "Mod Manager Download" button - the "Manual Download" button) download the .7z file of the Valheim Extension for Vortex (this mod on this page). 5. Unpack the .7z to a directory of the same name as the file ("Valheim Support-210-1-0-12-1622456568"). 6. Go into the directory "Valheim Support-210-1-0-12-1622456568/BepInExPayload/BepInEx" and delete the "core" subdirectory. 7. Goto your gamedir "Valheim/BepInEx" and right-click and copy the "core" dir. 8. Go back to the "Valheim Support-210-1-0-12-1622456568/BepInExPayload/BepInEx" directory and paste. You should now have a new "core" subdir with the latest files. 9. Move back up to the "Valheim Support-210-1-0-12-1622456568" top level directory. 10. Hit CNTL+A to select All Files. 11. Right click on any file and select "7-Zip" then select "Add to Valheim Support-210-1-0-12-1622456568.7z".
You now have a Valheim Support-210-1-0-12-1622456568.7z with the latest BepInEx core files in your "Valheim Support-210-1-0-12-1622456568" directory.
12. Run Vortex. (This will overwrite the newly installed latest version files in "Valheim/BepInEx/core" with the old 5.4.11 files - but that DOESN'T MATTER.) 13. Go into Extensions and delete the Valheim Extension. Vortex will prompt you to restart. Okay that and restart Vortex. 14. Go into Extensions. Find your new "Valheim Support-210-1-0-12-1622456568.7z" in File Manager, drag and drop it into the box in Extensions. It will install and prompt to restart. Restart Vortex.
Viola! Now when you run Valheim, you should see this in the log: [Message: BepInEx] BepInEx 5.4.17.0 - valheim (5/14/2021 12:42:05 PM) (or whatever the latest version is that you just installed)
KEEP IN MIND - Vortex WILL overwrite "Valheim/BepInEx/core" EVERY TIME you run Vortex. So if you now go into that dir and check the files, you will have the latest core files. BUT - You'll have to do this Step by Step every freakin time you update your BepInEx to the latest version or else Vortex will overwrite your core files with whatever version was in the extension that you just packed.
yermudr, thank you so much for pointing me in the right direction. I've been trying to update to BepInEx 5.4.19, but—as you're familiar— Vortex would donwgrade it to 5.4.16 at least every time I redeployed my mods. You pointed me in the right direction, and I got it working how I wanted.
For anyone wondering, Vortex stores extensions by default at: "C:\Users\<User>\AppData\Roaming\Vortex\plugins". This is where your "Valheim Support" or "Game: Valheim" extension ends up. They're stored as loose folders and files (not archives), so you can update BepInEx by driectly dragging the new files into the "BepInExPayload" folder there.
I get this error when trying to import the extension as shown, OR when trying to use Vortex's default extension for Valheim.
Error: Cannot find module 'bluebird' Require stack: - Y:\_AppData\Roaming\Vortex\plugins\Valheim Support-210-1-0-19-1653306704\index.js - E:\Vortex\resources\app.asar\node_modules\vortex-run\lib\index.js - E:\Vortex\resources\app.asar\renderer.js - E:\Vortex\resources\app.asar\index.html at Module._resolveFilename (node:internal/modules/cjs/loader:940:15) at Function.o._resolveFilename (node:electron/js2c/renderer_init:33:1118) at Module._load (node:internal/modules/cjs/loader:785:27) at Function.c._load (node:electron/js2c/asar_bundle:5:13331) at Function.o._load (node:electron/js2c/renderer_init:33:379) at Function._load (E:\Vortex\resources\app.asar\renderer.js:9033:187) at Module.require (node:internal/modules/cjs/loader:1012:19) at Module.require (E:\Vortex\resources\app.asar\renderer.js:8616:13) at require (node:internal/modules/cjs/helpers:94:18) at Object.<anonymous> (Y:\_AppData\Roaming\Vortex\plugins\Valheim Support-210-1-0-19-1653306704\index.js:34:36) at Object.<anonymous> (Y:\_AppData\Roaming\Vortex\plugins\Valheim Support-210-1-0-19-1653306704\index.js:484:3) at Module._compile (node:internal/modules/cjs/loader:1116:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) at Module.load (node:internal/modules/cjs/loader:988:32) at Module._load (node:internal/modules/cjs/loader:829:12) at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
When I try to deploy my mods, I'm getting errors generated but Valheim Support that certain files (Usually doorstop_config.ini, changelog.txt and LICENSE) are missing even though I'm looking at them in my directory. Any ideas?
85 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>
[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()
Which I manually installed, but then Vortex somehow magically reset it to 5.4.11.
Is there a trick to manually updating in such a way that Vortex won't blow it up?
I find in the Valheim dir a file, "vortex.deployment.unstripped-assemblies.json", which says...
"instance": "c37b977d-9197-48de-bdec-8dfcb870630a",
"version": 1,
"deploymentMethod": "symlink_activator",
"gameId": "valheim",
"deploymentTime": 1634244875518,
"stagingPath": "D:\\Vortex Mods\\valheim",
"targetPath": "D:\\SteamLibrary\\steamapps\\common\\Valheim",
"files": [
{
"relPath": "unstripped_corlib\\Mono.Security.dll",
"source": "denikson-BepInExPack_Valheim-5.4.1600",
"target": "",
"time": 1612478936000
Okay. So 5.4.16. I go into that D:\Vortex Mods\valheim dir and find a directory named, denikson-BepInExPack_Valheim-5.4.1600".
Okay, so it should be loading 5.4.16.
And Thank You for keeping this package updated! [EDIT: Nevermind, I take that back.}
But...
The Valheim "player.log" says this...
[Message: BepInEx] BepInEx 5.4.11.0 - valheim
And...
[Warning: BepInEx] Plugin [PlantEverything 1.8.4] targets a wrong version of BepInEx (5.4.15.0) and might not work until you update
[Warning: BepInEx] Plugin [Build Camera 1.6.1] targets a wrong version of BepInEx (5.4.15.0) and might not work until you update
[Warning: BepInEx] Plugin [Equipment and Quick Slots 2.0.14] targets a wrong version of BepInEx (5.4.15.0) and might not work until you update
[Warning: BepInEx] Plugin [SailingMapReveal 1.0] targets a wrong version of BepInEx (5.4.16.0) and might not work until you update
[Warning: BepInEx] Plugin [Useful Trophies Mod 1.0.1] targets a wrong version of BepInEx (5.4.15.0) and might not work until you update
At this point, I'm still digging in to it. Will update if I figure it out.
https://forums.nexusmods.com/index.php?/topic/10036523-republish-valheim-unstripped-assemblies-on-nexus-thunderstoreio-has-trojans/
So...um...
I guess this is no longer needed? It was originally created by Nagev but has been uploaded by BigBizKit. Maybe because peeps were asking for it?
To quote The Critical Drinker: "Don't know."
No, it's needed.
If I uninstall it in Vortex, then run Vortex, it doesn't show the game. If I select Games and search for Val, it shows Valheim. If I select the game Valheim, Vortex tells me it needs the extension and downloads/installs/restarts and there is Valheim with all the mods I had already installed.
BUT - it's still running BepInEx 5.4.11.
Even though I have manually updated my BepInEx to 5.4.17 and even though denikson's BepInEx Pack for Valheim is up to 5.4.16.
Here is HowTo fix it:
(BE ADVISED: Vortex's Valheim Extension (this mod on this page) WILL OVERWRITE your Valheim/BepInEx/core directory if you run Vortex. DO NOT RUN VORTEX while doing this fix until you reach that step in the HowTo.)
1. Exit the game.
2. Close Vortex.
3. Install the latest BepInEx in your Valheim game dir. I use aedenthorn's BepInExUnityInstaller which is just a little .exe that you place IN YOUR VALHEIM GAME DIR and then double-click to run it. It will grab the latest BepInEx and install it. https://www.nexusmods.com/site/mods/287
4. Manually (NOT the "Mod Manager Download" button - the "Manual Download" button) download the .7z file of the Valheim Extension for Vortex (this mod on this page).
5. Unpack the .7z to a directory of the same name as the file ("Valheim Support-210-1-0-12-1622456568").
6. Go into the directory "Valheim Support-210-1-0-12-1622456568/BepInExPayload/BepInEx" and delete the "core" subdirectory.
7. Goto your gamedir "Valheim/BepInEx" and right-click and copy the "core" dir.
8. Go back to the "Valheim Support-210-1-0-12-1622456568/BepInExPayload/BepInEx" directory and paste. You should now have a new "core" subdir with the latest files.
9. Move back up to the "Valheim Support-210-1-0-12-1622456568" top level directory.
10. Hit CNTL+A to select All Files.
11. Right click on any file and select "7-Zip" then select "Add to Valheim Support-210-1-0-12-1622456568.7z".
You now have a Valheim Support-210-1-0-12-1622456568.7z with the latest BepInEx core files in your "Valheim Support-210-1-0-12-1622456568" directory.
12. Run Vortex. (This will overwrite the newly installed latest version files in "Valheim/BepInEx/core" with the old 5.4.11 files - but that DOESN'T MATTER.)
13. Go into Extensions and delete the Valheim Extension. Vortex will prompt you to restart. Okay that and restart Vortex.
14. Go into Extensions. Find your new "Valheim Support-210-1-0-12-1622456568.7z" in File Manager, drag and drop it into the box in Extensions. It will install and prompt to restart. Restart Vortex.
Viola!
Now when you run Valheim, you should see this in the log:
[Message: BepInEx] BepInEx 5.4.17.0 - valheim (5/14/2021 12:42:05 PM)
(or whatever the latest version is that you just installed)
KEEP IN MIND - Vortex WILL overwrite "Valheim/BepInEx/core" EVERY TIME you run Vortex.
So if you now go into that dir and check the files, you will have the latest core files.
BUT - You'll have to do this Step by Step every freakin time you update your BepInEx to the latest version or else Vortex will overwrite your core files with whatever version was in the extension that you just packed.
Cheers Mates!
For anyone wondering, Vortex stores extensions by default at:
"C:\Users\<User>\AppData\Roaming\Vortex\plugins".
This is where your "Valheim Support" or "Game: Valheim" extension ends up. They're stored as loose folders and files (not archives), so you can update BepInEx by driectly dragging the new files into the "BepInExPayload" folder there.
Error: Cannot find module 'bluebird'
Require stack:
- Y:\_AppData\Roaming\Vortex\plugins\Valheim Support-210-1-0-19-1653306704\index.js
- E:\Vortex\resources\app.asar\node_modules\vortex-run\lib\index.js
- E:\Vortex\resources\app.asar\renderer.js
- E:\Vortex\resources\app.asar\index.html
at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
at Function.o._resolveFilename (node:electron/js2c/renderer_init:33:1118)
at Module._load (node:internal/modules/cjs/loader:785:27)
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
at Function.o._load (node:electron/js2c/renderer_init:33:379)
at Function._load (E:\Vortex\resources\app.asar\renderer.js:9033:187)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at Module.require (E:\Vortex\resources\app.asar\renderer.js:8616:13)
at require (node:internal/modules/cjs/helpers:94:18)
at Object.<anonymous> (Y:\_AppData\Roaming\Vortex\plugins\Valheim Support-210-1-0-19-1653306704\index.js:34:36)
at Object.<anonymous> (Y:\_AppData\Roaming\Vortex\plugins\Valheim Support-210-1-0-19-1653306704\index.js:484:3)
at Module._compile (node:internal/modules/cjs/loader:1116:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:829:12)
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
EDIT: Forgot to mention I'm using 1.0.8