RimWorld

RimWorld

Harmony
Showing 1-10 of 28 entries
< 1  2  3 >
Update: 3 Sep @ 8:49am

v2.4.2 persists the tweak values that control the enhancement of stacktraces

Update: 23 Aug @ 9:25am

v2.4.1 of this Mod loads the library Harmony 2.4.1 into RimWorld. It will also warn you if something else loaded an older version of Harmony before this mod could. For a full list of changes in Harmony, see https://github.com/pardeike/Harmony/releases/tag/v2.4.1.0

Update: 17 Aug @ 2:34pm

v2.4 of this Mod loads the library Harmony 2.4 into RimWorld. This version support Apple Silicon and has a lot of bug fixes and new features. For a full list, see https://github.com/pardeike/Harmony/releases/tag/v2.4.0.0

Update: 6 Aug @ 11:45am

v2.3.5 loads Harmony 2.3.7-prerelease into RimWorld. This version support Apple Silicon in a prereleased way until the dependency of Harmony is updated officially.

Update: 13 Jun @ 8:22am

v2.3.4 downgrades Harmony for RimWorld 1.5 from 2.3.6 to 2.3.3

Update: 11 Jun @ 3:41pm

v2.3.3 fixes a regression error in 2.3.2 that affected RimWorld 1.5

Update: 11 Jun @ 11:56am

v2.3.2 loads Harmony v2.3.6 into RimWorld

Update: 9 Apr, 2024 @ 11:15pm

v2.3.1 adds two Harmony tweak values in RimWorld that control the stacktrace behaviour so if you don't want caching or even enhanced stacktraces, you can suppress those features in the dev tools tweak dialog.

Update: 29 Mar, 2024 @ 11:21am

v2.3 makes api public for other mods to use:

using static HarmonyLib.AccessTools;

class MyClass
{
delegate string ExtractHarmonyEnhancedStackTraceDelegate(StackTrace trace, bool forceRefresh, out int hashRef);
static readonly MethodInfo m_ExtractHarmonyEnhancedStackTrace = Method("HarmonyMod.ExceptionTools:ExtractHarmonyEnhancedStackTrace", [typeof(StackTrace), typeof(bool), typeof(int).MakeByRefType()]);
static readonly ExtractHarmonyEnhancedStackTraceDelegate ExtractHarmonyEnhancedStackTrace = MethodDelegate<ExtractHarmonyEnhancedStackTraceDelegate>(m_ExtractHarmonyEnhancedStackTrace);

string Test(StackTrace trace)
{
return ExtractHarmonyEnhancedStackTrace(trace, true, out var hash);
}
}

Update: 29 Mar, 2024 @ 8:15am

v2.2 adds support for Harmony 2.3.3 and deduplicates stacktraces