|Перейти к загрузке||5.84 MB||Мультиязычный||5.4.1500||1||24/08/2021 в 08:42||Razilator|
This is BepInExPack 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 is preconfigured and usable for Valheim modding.
In particular, the changes from base BepInEx releases are:
BepInEx.cfgwith console enabled.
Installation (game, automated)
Installation (server, automated)
If you are installing this manually, do the following
Follow either Windows or Linux game running instructions below:
No need to configure. Simply run the game. If everything is correct, you will see a console pop up.
Configuration (Linux, game)
start_game_bepinex.sh executable with
chmod u+x start_game_bepinex.sh.
In Steam, go to game's properties and set game's launch arguments to
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.
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.
chmod u+x start_server_bepinex.sh.
start_server_bepinex.shto change the launch parameter like you would with Valheim's own launch script.
start_server_bepinex.shto start the server.
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: