Releases: Valheim-Modding/Jotunn
Releases · Valheim-Modding/Jotunn
v2.29.0
Changes
- Added new method in ConsoleCommand to take a Terminal context parameter, so mods can write output to either Console or Chat depending on where the command was executed from. Backwards compatible. For more info on that see https://valheim-modding.github.io/Jotunn/tutorials/console-commands.html
- Added TMPro FontAssets shortcuts to the GUIManager
v2.28.0
Changes:
- Added YAML localization file support (thx warp)
- Added macOS development support and an overridable VALHEIM_MANAGED variable (thx warp)
- Fixed skill names lost in UI after language change (thx warp)
- Fixed errors with read-only properties in mock resolution (thx warp)
v2.27.1
Changes:
- Fixed the Vulkan compile target of internal AssetBundles (thx MidnightsFX)
- Fixed an issue where unloaded SoftReference location assets were still released, causing errors on access (thx warp)
v2.27.0
Changes:
- Added
AssetUtils.LoadImagewrapper to resolve .netstandard 2.1 compile issues - Added
AssetUtils.DuplicateTextureto create a readable copy of a texture - Fixed an error if an AssetLoader loads a null m_asset while resolving mocks. It now logs a waning with the bundle path
- Fixed recent rename of valheim_Data to Valheim_Data in the PrebuildTask and core refs for case-sensitive file systems (e.g. Linux)
v2.26.1
Changes:
- Added gui_framework.dll to PrebuildTask publicize and reference it in the JotunnLibRefsCorlib.props
- Fixed GUI initialization for Valheim 0.221.3, backwards compatible
- Fixed mock names not being sanitized in some cases
v2.26.0
Changes:
- Added CustomLocation loading via the SoftReferenceableAssets system to only load locations when needed. This requires special setup of the assets (thx warp)
- Added AssetManager.GenerateAssetID(string) overload (thx warp)
- Added AssetManager.ResolveMocksOnLoad to resolve all mocks when the SoftReference asset is loaded
- Added AssetManager.OnSoftReferenceableAssetsReady event
- Fixed PrefabManager.RegisterToZNetScene to skip mocks from being registered to the ZNetScene (thx warp)
- Fixed errors when rendering broken prefabs via the RenderManager
v2.25.0
Changes:
- Changed unresolved mocks to log a warning without skipping the associated CustomEntity being added to the game (thanks OrianaVenture)
- Improved mock warnings to be aggregated, showing up to 5 issues per object (thanks OrianaVenture)
- Improved consistency of return values for CustomLocalization.TryTranslate
- Fixed mocks not being resolved on a dedicated server
- Fixed an incompatibility with mods using blaxxun's LocationManager that insert null or duplicate values into AssetBundleLoader.m_assetLoaders
- Fixed custom categories not being created after PieceCategory ID 100 was reached
- Fixed hammer HUD tabs not using full available width with other mods that add custom categories
- Fixed admin list watcher starts every time running a server
- Fixed admin-only config settings being locked by default
- Fixed CustomLocalization.TryTranslate logging warnings for strings that are already localized
- Fixed log spam from localization tokens with invalid characters by logging only the first occurrence
- Fixed log spam if configs are synced to a client that doesn't have the mod installed
v2.24.3
Changes:
- Fixed config sync reset for local worlds and when configs are written to the disk (thx Searica)
- Fixed exposing Windows username in Filewatcher logs (thx Searica)
- Fixed an error with the Microsoft Store version because ZSteamSocket is not available
- Fixed missing assembly references at build time for dependent mods
v2.24.2
Changes:
- Fixed a black screen and error on the server when connecting via crossplay
- Fixed an error if no mods are installed on the server
- Fixed assets being added too early on a dedicated server
v2.24.1
Changes:
- Fixed GUI for Valheim 0.220.3