RimWorld

RimWorld

Harmony
Showing 1-10 of 21 entries
< 1  2  3 >
Update: Apr 10, 2024 @ 6:15am

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: Mar 29, 2024 @ 5:21pm

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: Mar 29, 2024 @ 2:15pm

v2.2 adds support for Harmony 2.3.3 and deduplicates stacktraces

Update: Mar 25, 2024 @ 6:16pm

Now uses Harmony 2.3.2 for RimWorld 1.5 and enhances stacktraces with patch information.

Update: Mar 13, 2024 @ 5:52pm

Due to a regression, v1.7.1 will provide Harmony 2.2.2 for RimWorld 1.4 and provide Harmony 2.3.1.1 for RimWorld 1.5.

Update: Mar 13, 2024 @ 4:04pm

Provides Harmony v2.3.1.1 to all mods

Update: Oct 5, 2022 @ 9:41pm

[Auto-generated text]: Update on 10/5/2022 11:41:31 PM.

Update: Jul 19, 2022 @ 10:34pm

Provides Harmony v2.2.2 to all mods

Update: Apr 18, 2022 @ 3:31pm

[Auto-generated text]: Update on 4/18/2022 5:31:41 PM.

Update: Dec 30, 2021 @ 3:06pm

Provides Harmony v2.2 to all mods:
https://github.com/pardeike/Harmony/releases/tag/v2.2.0.0