Modding Tools
0 of 0

File information

Last updated

Original upload

Created by

Nagev

Uploaded by

BigBizkit

Virus scan

Safe to use

85 comments

  1. UlanX
    UlanX
    • premium
    • 43 kudos
    Sticky
    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
    1. Pickysaurus
      Pickysaurus
      • Community Manager
      • 656 kudos
      Thanks for writing these up :) 
    2. Fenmoorz
      Fenmoorz
      • member
      • 0 kudos
      Thanks for this, but exactly which file am I dragging, there are several in the download.  Thanks in advance for your assistance.

      Edit:  For those mentally challenged among us.  Move the downloaded unextracted file as instructed.
    3. PissedWang
      PissedWang
      • member
      • 0 kudos
      THANK YOU!
    4. Redryder117
      Redryder117
      • member
      • 0 kudos
      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>
    5. nexonenvm
      nexonenvm
      • member
      • 0 kudos
      thanks gurly
  2. bigdann777
    bigdann777
    • premium
    • 0 kudos
    [Message:   BepInEx] BepInEx 5.4.22.0 - valheim (12/12/2023 1:47:46 PM)
    [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
    1. tomaka121
      tomaka121
      • member
      • 0 kudos
      i got exactly the same errors in console, mods don't work

      when i install Bepinex and mods manually, it all works
    2. Chimara38
      Chimara38
      • member
      • 0 kudos
      yea untill u deploy again...
  3. VulcanTourist
    VulcanTourist
    • supporter
    • 15 kudos
    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;
    • manually download the latest BepInEx "pack" for Valheim from thunderstore.com:
      https://valheim.thunderstore.io/package/denikson/BepInExPack_Valheim/
      •  the current version as of 2023-10-13 is 5.4.2200;
      •  either download this file directly to, or move it to, the Vortex downloads directory for Valheim:
         %AppData%\Roaming\Vortex\downloads\valheim
      •  doing so will cause it to appear as Never Installed in Valheim's Mods list;
      •  you will actually install it later, but first...
    • navigate to that downloads directory in another Explorer tab or window;
    • open the .zip file with Windows or 7-Zip or whatever compression tool you use;
    • within the Zip file, navigate into the \BepInExPack_Valheim directory;
    • the .sh files are for Linux and won't be useful for Windows systems;
    • into the \BepInExPayload directory, copy and overwrite the following files:

      •  changelog.txt
      •  doorstop_config.ini
      •  winhttp.dll

    • next, copy the \doorstop_libs directory whole; it probably doesn't already exist;
    • to copy BepInEx, in Explorer navigate "down" into the Vortex \BepInExPayload\BepInEx directory;
    • in that directory, first delete the \patchers subdirectory, which is no longer needed;
    • next, navigate further into \plugins and delete the \VortexWorlds subdirectory there;
    • navigate back "up" to \BepInEx; remaining are \config, \core, and \plugins;
    • now, back in the Zip file in its \BepInEx directory, copy and overwrite \config, \core, and \plugins into the Vortex \BepInEx directory;
    • now BepInEx will be current when forcibly copied by the Valheim Vortex extension.
    • You're not quite done yet: time to install the "pack" with Vortex;
    • start Vortex, and click Mods, in the left nav bar;
    • scroll to find the denikson-BepInExPack_Valheim-5.4.2200.zip file in the Never Installed section;
    • click the drop-down menu arrow next to the Never Installed button at the left in the Status column, and from the short menu select Enabled;
    • now the "pack" is staged, ready for deployment, but confirm some details first:

      • double-left-click its entry in the Mod Name column, which opens a detail pane at the right;
      • in this pane, confirm or edit the following:

        • Version: currently 5.4.2200
        • Source: Website
        • Source website: https://valheim.thunderstore.io/package/denikson/BepInExPack_Valheim/
        • 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.
    1. VulcanTourist
      VulcanTourist
      • supporter
      • 15 kudos
      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.
    2. lostmic
      lostmic
      • premium
      • 0 kudos
      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
    3. VulcanTourist
      VulcanTourist
      • supporter
      • 15 kudos
      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!
  4. DarnHyena
    DarnHyena
    • member
    • 26 kudos
    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
    1. DAOWAce
      DAOWAce
      • premium
      • 25 kudos
      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.

      [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)
    2. DarnHyena
      DarnHyena
      • member
      • 26 kudos
      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.
    3. TrustFall
      TrustFall
      • premium
      • 0 kudos
      Hear hear! +1 
    4. Battousai124
      Battousai124
      • supporter
      • 70 kudos
      BuildShare has been funnily enough also been updated to use Bepinex, so at this point, not a single mod uses InSlim...
    5. VulcanTourist
      VulcanTourist
      • supporter
      • 15 kudos
      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.
    6. Arexodius
      Arexodius
      • supporter
      • 0 kudos
      Exactly what VulcanTourist said!

      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...
  5. DerrFloh
    DerrFloh
    • premium
    • 1 kudos
    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.

    Thanks in advance d=====( ̄▽ ̄*)b
  6. Unforgiven13
    Unforgiven13
    • supporter
    • 3 kudos
    Since, two days ago, bepinex was updated to 5.4.21, but running the game through Vortex, will load 5.4.19 instead. How do I fix this damn thing?
    1. yaanicylo
      yaanicylo
      • member
      • 1 kudos
      not sure if you are supposed to do this way, but it seems to be working
      to fix the issue:

      • download BepInExPack Valheim from thunderstore
      • navigate to %appdata%\Vortex\plugins\Vortex Extension Update - Valheim Support v1.0.22\BepInExPayload
      • copy, replace files from downloaded archive, except unstripped_corlib folder - seems to be already added from mod automatically
      • may require to enable disable some mod to, deploy new BepInEx
      • enjoy BepInEx 5.4.21.0 - valheim.
    2. Unforgiven13
      Unforgiven13
      • supporter
      • 3 kudos
      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.
  7. DarnHyena
    DarnHyena
    • member
    • 26 kudos
    I really don't like how bloated this is.

    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.
  8. jamseedjam1
    jamseedjam1
    • premium
    • 0 kudos
    No Mod Install Just support pack why tell this
    [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()
  9. deleted1128051
    deleted1128051
    • account closed
    • 0 kudos
    Will this be updated to support BepInEx 5.4.1502?
    1. yermudr
      yermudr
      • premium
      • 2 kudos
      5.4.16 now...
    2. yermudr
      yermudr
      • premium
      • 2 kudos
      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?
    3. yermudr
      yermudr
      • premium
      • 2 kudos
      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...

      "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.
    4. yermudr
      yermudr
      • premium
      • 2 kudos
      And now through more searching, I find this...

      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."
    5. yermudr
      yermudr
      • premium
      • 2 kudos
      In response to post #99626938. #99933493, #100516293, #100517238, #100519023 are all replies on the same post.


      Spoiler:  
      Show

      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...

      "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!

      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...

      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!
    6. MeDuhMatster
      MeDuhMatster
      • member
      • 0 kudos
      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.
    7. Thanatos370
      Thanatos370
      • supporter
      • 0 kudos
      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)
  10. Barillius
    Barillius
    • supporter
    • 0 kudos
    [solved]
  11. Dreidel19
    Dreidel19
    • member
    • 0 kudos
    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?

    EDIT: Forgot to mention I'm using 1.0.8
    1. gyrofalcon
      gyrofalcon
      • premium
      • 25 kudos
      Have you read the post just before the one you posted?