/BetterUI

Subtle UI mod for Valheim

Primary LanguageC#BSD 2-Clause "Simplified" LicenseBSD-2-Clause

Version

BetterUI

The main idea behind BetterUI is to make the interface of Valheim more pleasant and easier to understand.
I'll add slowly new additions to the mod - and fix bugs that users report.

Where to download

Thunderstore *suggesting to use their mod manager for an quick & easy install (r2modman)

NexusMods

Project Structure

/ - Project root
/GameClasses - HarmonyPatches under the original game classes.
/Patches - Supporting functions for specific patches.
/Package - Package for Thunderstore upload.

Developing environment

BepInEx

  • Download and install BepInEx (this is an Valheim specific pack)
  • Follow the information under manual install

BepInEx Publicizer

  • To get access on games private functions, you need the publicized assembly files.
  • Install an assembly publicizer for BepInEx from: https://github.com/MrPurple6411/Bepinex-Tools/releases/tag/1.0.0-Publicizer
  • The Bepinex-Publicizer folder from the .zip should be placed under <ValheimGameDirectory>\BepInEx\plugins
  • Run the game once, BepInEx console should pop-up. At the background, BepInEx Publicizer will create assemblies
    under <ValheimGameDirectory>\valheim_Data\Managed\publicized_assemblies

You should now successfully build this project 🎉

Additional info

To view the actual game code, download dnSpy and open assembly_valheim.dll with it.
The file is located under <ValheimGameDirectory>\valheim_Data\Managed\

This mod is created using HarmonyX, info about their syntax is found here.