Goldenrevolver / BetterUI

Subtle UI mod for Valheim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

Project Structure

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

Developing environment

Game Directory

  • If your valheim game directory is not the standard windows location C:\Program Files (x86)\Steam\steamapps\common\Valheim, edit GameDir.targets accordingly
  • Remember to not stage and commit any changes to GameDir.targets

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.

About

Subtle UI mod for Valheim

License:BSD 2-Clause "Simplified" License


Languages

Language:C# 100.0%