Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDV 1.6 updates for Pathoschild.Stardew.ModTranslationClassBuilder and TrueSight.cs #419

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

miome
Copy link

@miome miome commented Mar 28, 2024

Updated version of Pathoschild.Stardew.ModTranslationClassBuilder
Corrected method names and access to Object metadata for SDV 1.6 in TrueSight.cs

Correct method names and access to Object metadata for SDV 1.6 in TrueSight.cs
@miome
Copy link
Author

miome commented Mar 28, 2024

FWIW, I wanted to update this to I could try out the Far-Hand ring. It works very smoothly! Using Harmony patches gets around a lot of the difficulties I run into doing the same task in Multitool.
It throws this error at runtime, though, and I have no idea how to fix it, sorry!

[17:41:54 ERROR More Rings] Failed to apply 'MoreRings.Patches.CropPatcher' patcher; some features may not work correctly. Technical details:
System.InvalidProgramException: Common Language Runtime detected an invalid program.
   at System.Runtime.CompilerServices.RuntimeHelpers.PrepareMethod(RuntimeMethodHandle method, RuntimeTypeHandle[] instantiation)
   at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.PrepareMethod(MethodBase method, RuntimeMethodHandle handle)
   at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.<>c__DisplayClass29_0.<Pin>b__0(MethodBase m)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.Pin(MethodBase method)
   at MonoMod.RuntimeDetour.DetourHelper.Pin[T](T method)
   at HarmonyLib.MethodPatcher.CreateReplacement(Dictionary`2& finalInstructions)
   at HarmonyLib.PatchFunctions.UpdateWrapper(MethodBase original, PatchInfo patchInfo)
   at HarmonyLib.PatchProcessor.Patch()
   at MoreRings.Patches.CropPatcher.Apply(Harmony harmony, IMonitor monitor) in C:\Users\Sarah\source\repos\miome\Spacechase0SDVMods\MoreRings\Patches\CropPatcher.cs:line 30
   at Spacechase.Shared.Patching.HarmonyPatcher.Apply(Mod mod, IPatcher[] patchers) in C:\Users\Sarah\source\repos\miome\Spacechase0SDVMods\SpaceSharedPatching\HarmonyPatcher.cs:line 21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant