You are viewing a potentially older version of this package. View all versions.
MidnightMods-AchievementEnabler-0.2.0 icon

AchievementEnabler

Earn Valheim achievements with mods installed. Cheats still disable them.

Date uploaded 8 hours ago
Version 0.2.0
Download link MidnightMods-AchievementEnabler-0.2.0.zip
Downloads 1141
Dependency string MidnightMods-AchievementEnabler-0.2.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2333

README

AchievementEnabler

Lets a modded Valheim earn achievements — without lying about being modded.

The game's modded flag stays true: the "modded" label still shows on the main menu, the startup log still says so, and any other mod that reads the flag gets the truth. What changes is what the achievement gate sees, and only while it is actually running.

Status

Working on Valheim 1.0.7, the update that added achievements. It is configured for that gate out of the box — install it and it works, nothing to point at anything.

Cheating still costs you achievements. The gate the game uses, Achievements.IsCheatedAtAll(), asks four separate questions: have you used console cheats, are you carrying a spawned item, is the world running cheated modifiers — and, until now, is the game modded. Only the last of those is answered differently. The other three are untouched, so they still disable achievements exactly as Iron Gate shipped them.

Installation

Install with a mod manager, or unzip into your Valheim folder so that:

  • BepInEx/plugins/AchievementEnabler.dll
  • BepInEx/patchers/AchievementEnabler/AchievementEnabler.Preloader.dll

The patcher must be in patchers/, not plugins/. That is what lets it rewrite the game's IL while BepInEx is loading it.

Known issues

None yet.

CHANGELOG

Changelog

0.2.0

Valheim 1.0

  • Running mods no longer disables achievements.
  • Cheating still disables achievements. IsCheatedAtAll also checks console cheats, spawned items and cheated world modifiers; none of those are touched.