Valheim Steam



Valheim on Steam A brutal exploration and survival game for 1-10 players, set in a procedurally-generated purgatory inspired by viking culture. Battle, build, and conquer your way to a saga worthy of Odin’s patronage! Discover all Valheim commands with its developer console, activate it and create a world to your measure, with the fiercest enemies and more summoned bosses. This guide is still under construction, it will be updated with images soon.

This is BepInEx 5.4.10 pack for Valheim.

  1. Edit Steam parameters. The game’s launch parameters can be edited to provide an FPS boost. Go to “Valheim” in the Steam Library and right-click on it, then click on the “Properties” button.
  2. Valheim is one of the biggest games on Steam right now. It’s a survival game that drops you into an otherworldly realm based on Norse mythology, and you’ll have to survive the dangers of a.

BepInEx is a general purpose framework for Unity modding.
BepInEx includes tools and libraries to

  • load custom code (hereafter plugins) into the game on launch;
  • patch in-game methods, classes and even entire assemblies without touching original game files;
  • configure plugins and log game to desired outputs like console or file;
  • manage plugin dependencies.

BepInEx is currently one of the most popular modding tools for Unity on GitHub.

This pack's contents

This pack is preconfigured and usable for Valheim modding.
In particular, the changes from base BepInEx releases are:

  • Added preconfigured BepInEx.cfg with console enabled.
  • Added unstripped Unity + Mono BCL DLLs for current versions of the game. See this issue comment for more info.
  • Updated Doorstop configuration and BepInEx to allow to load unstripped DLLs without having to overwrite game DLLs.
  • Added scripts necessary to run both game and dedicated server on Linux machines

Installation (game, automated)

This is the recommended way to install BepInEx on the game.

  1. Download and install Thunderstore Mod Manager or r2modman
  2. Click Install with Mod Manager button on top of the page
  3. Run the game via the mod manager

Installation (server, automated)

There are some managed dedicated server that support simple and automatic BepInEx installation.
Here is a list of known ones (list updated as more is known).
Note: Some of the links may be affiliate links

Installation (manual)

If you are installing this manually, do the following

Valheim Steam Key

  1. Extract the archive into a folder. Do not extract into the game folder.
  2. Move the contents of BepInExPack_Valheim folder into <Steam Location>steamappscommonValheim.
  3. Check that you have installed it correctly.
    If done correctly, your folder will look as follows


    4. Follow either Windows or Linux game running instructions below:

Configuration (Windows)

No need to configure. Simply run the game. If everything is correct, you will see a console pop up.

Configuration (Linux, game)

  1. Make start_game_bepinex.sh executable with chmod u+x start_game_bepinex.sh.
  2. In Steam, go to game's properties and set game's launch arguments to

    ./start_game_bepinex.sh %command%

    Note to advanced users: You can change ./start_game_bepinex.sh to full path to the script. This way you can install this pack entirely outside of game folder.
    3. Run the game via Steam.

At this moment you will not see any clear indication if BepInEx works.
It is suggested to test by installing a simple plugin such as MessageCenter from BepInEx.Utility.

Configuration (Linux, server)

This guide assumes you have enough knowledge working with Linux.
If not, it is suggested you use ValheimPlus instead and server hosts that support it out of the box.

  1. Make start_server_bepinex.sh executable with chmod u+x start_server_bepinex.sh.
  2. Edit start_server_bepinex.sh to change the launch parameter like you would with Valheim's own launch script.
  3. Run start_server_bepinex.sh to start the server.

If done correctly, you will see BepInEx bootstrap messages in the terminal.

Checking BepInEx version and load status

Valheim Steam

If BepInEx was loaded successfully into the game, you should see BepInEx version info in top left corner of the main menu:

Useful links

Issues, questions, etc.

At this moment, you can use the following channels to ask for help

  • BepInEx Discord -- Only technical support for THIS PACKAGE. No support for plugins.

Changelog

5.4.1000

  • Updated to BepInEx 5.4.10 (changelog)
  • Updated Valheim.DisplayBepInExInfo to 1.1.0 (changelog)

5.4.901

  • Updated README with some dedicated servers that support BepInEx by default

5.4.900

  • Updated to BepInEx 5.4.9 (changelog)
  • Updated Valheim.DisplayBepInExInfo to 1.0.1 (changelog)
  • Set PreventClose to true by default. This prevents console from being closed (and thus unsaved game being closed by accident)

5.4.800

  • Updated to BepInEx 5.4.8
  • Added Valheim.DisplayBepInExInfo plugin

5.4.701

  • Updated screenshot of example installation

5.4.700

  • Updated to BepInEx 5.4.7

5.4.603

  • Updated BepInEx 5.4.6 to a newer build
  • Added --enable-console true|false command-line option to enable or disable BepInEx console
  • Added --doorstop-dll-search-override command-line option to behave the same way as config's dllSearchPathOverride option

5.4.602

  • Updated BepInEx 5.4.6 to a newer build
  • Update config to write Unity logs to LogOutput.log by default
  • Added preconfigured scripts and files to run the game under Linux

5.4.601

  • Updated unstripped DLLs for Unity 2019.4.20

5.4.600

  • Adjusted README
  • Adjusted versioning to account for inter-version changes

5.4.6

  • Initial release with BepInEx 5.4.6

This is BepInEx 5.4.10 pack for Valheim.

BepInEx is a general purpose framework for Unity modding.
BepInEx includes tools and libraries to

  • load custom code (hereafter plugins) into the game on launch;
  • patch in-game methods, classes and even entire assemblies without touching original game files;
  • configure plugins and log game to desired outputs like console or file;
  • manage plugin dependencies.

BepInEx is currently one of the most popular modding tools for Unity on GitHub.

This pack's contents

This pack is preconfigured and usable for Valheim modding.
In particular, the changes from base BepInEx releases are:

  • Added preconfigured BepInEx.cfg with console enabled.
  • Added unstripped Unity + Mono BCL DLLs for current versions of the game. See this issue comment for more info.
  • Updated Doorstop configuration and BepInEx to allow to load unstripped DLLs without having to overwrite game DLLs.
  • Added scripts necessary to run both game and dedicated server on Linux machines

Installation (game, automated)

This is the recommended way to install BepInEx on the game.

  1. Download and install Thunderstore Mod Manager or r2modman
  2. Click Install with Mod Manager button on top of the page
  3. Run the game via the mod manager

Installation (server, automated)

There are some managed dedicated server that support simple and automatic BepInEx installation.
Here is a list of known ones (list updated as more is known).
Note: Some of the links may be affiliate links

Installation (manual)

Valheim Steam Stats

If you are installing this manually, do the following

  1. Extract the archive into a folder. Do not extract into the game folder.
  2. Move the contents of BepInExPack_Valheim folder into <Steam Location>steamappscommonValheim.
  3. Check that you have installed it correctly.
    If done correctly, your folder will look as follows


    4. Follow either Windows or Linux game running instructions below:

Configuration (Windows)

No need to configure. Simply run the game. If everything is correct, you will see a console pop up.

Valheim Steam Workshop

Configuration (Linux, game)

Valheim Steamid

  1. Make start_game_bepinex.sh executable with chmod u+x start_game_bepinex.sh.
  2. In Steam, go to game's properties and set game's launch arguments to

    ./start_game_bepinex.sh %command%

    Note to advanced users: You can change ./start_game_bepinex.sh to full path to the script. This way you can install this pack entirely outside of game folder.
    3. Run the game via Steam.

Steam

At this moment you will not see any clear indication if BepInEx works.
It is suggested to test by installing a simple plugin such as MessageCenter from BepInEx.Utility.

Configuration (Linux, server)

This guide assumes you have enough knowledge working with Linux.
If not, it is suggested you use ValheimPlus instead and server hosts that support it out of the box.

Valheim steam unlocked
  1. Make start_server_bepinex.sh executable with chmod u+x start_server_bepinex.sh.
  2. Edit start_server_bepinex.sh to change the launch parameter like you would with Valheim's own launch script.
  3. Run start_server_bepinex.sh to start the server.
Valheim

If done correctly, you will see BepInEx bootstrap messages in the terminal.

Checking BepInEx version and load status

If BepInEx was loaded successfully into the game, you should see BepInEx version info in top left corner of the main menu:

Useful links

Issues, questions, etc.

At this moment, you can use the following channels to ask for help

Valheim steam stats
  • BepInEx Discord -- Only technical support for THIS PACKAGE. No support for plugins.

Changelog

5.4.1000

  • Updated to BepInEx 5.4.10 (changelog)
  • Updated Valheim.DisplayBepInExInfo to 1.1.0 (changelog)

5.4.901

Valheim Game

  • Updated README with some dedicated servers that support BepInEx by default

5.4.900

  • Updated to BepInEx 5.4.9 (changelog)
  • Updated Valheim.DisplayBepInExInfo to 1.0.1 (changelog)
  • Set PreventClose to true by default. This prevents console from being closed (and thus unsaved game being closed by accident)

Valheim Steamunlocked

5.4.800

  • Updated to BepInEx 5.4.8
  • Added Valheim.DisplayBepInExInfo plugin

5.4.701

  • Updated screenshot of example installation

5.4.700

  • Updated to BepInEx 5.4.7

5.4.603

  • Updated BepInEx 5.4.6 to a newer build
  • Added --enable-console true|false command-line option to enable or disable BepInEx console
  • Added --doorstop-dll-search-override command-line option to behave the same way as config's dllSearchPathOverride option

5.4.602

  • Updated BepInEx 5.4.6 to a newer build
  • Update config to write Unity logs to LogOutput.log by default
  • Added preconfigured scripts and files to run the game under Linux

5.4.601

  • Updated unstripped DLLs for Unity 2019.4.20

5.4.600

  • Adjusted README
  • Adjusted versioning to account for inter-version changes

5.4.6

  • Initial release with BepInEx 5.4.6