Migrate to Harmony 2.0
Pathoschild opened this issue ยท 3 comments
Migrate to Harmony 2.0, which was released a few months ago and has improvements useful to SMAPI and modders (e.g. finalizers).
To do
- Document mod migration process.
- Migrate SMAPI code to Harmony 2.0.
- Add rewriters so most Harmony 1.x mods still work.
- BLOCKER: Error loading Data\Movies if any Harmony 2.0 patch is applied to GameLocation.performAction.
- Test all Harmony mods, track compatibility, and improve rewriters as needed.
It's mainly blocked by #722. I'm not planning any big changes like this with Stardew Valley 1.5 releasing soon, but once the dust settles on that I'll take another look to see if the issue still happens with the latest Harmony version.
It looks like this will be required before there's a chance this will work on aarch64/arm64. The older version of the library uses x86 bytes directly.
The newest version uses https://github.com/MonoMod/MonoMod.Common, which at least seems to have aarch64 support