Ijwu / PhoenixPointModLoader

Provides an interface for injecting code into the game Phoenix Point. Based on the BattleTech Mod Loader.
Apache License 2.0
3 stars 1 forks source link

Update to Harmony 2.0 #13

Open Ijwu opened 4 years ago

Ijwu commented 4 years ago

PPML is stuck on Harmony 1.2 for the time being. Harmony 1.2 has been deprecates and 2.0 is the suggested route forward.

There is one main issue with this: Harmony patches for 1.2 are not inherently compatible with 2.0. Meaning this could break compat... again. I'm loathe to commit to doing that so another way will have to be made available.

Options:

Sheep-y commented 4 years ago

I've tried it with modnix, from commit df9a60 to commit 1a03c1, and gave up.

The bridge part is independent from other code so you may take that if you want to give it a try. Code: Compat layer (first attempt), coexistance patch (second attempt).

My conclusion is that both Harmony cannot co-exist in same AppDomain, and obviously Harmony won't work if it is loaded into a separate domain. If I am to try again I'd properly clone Harmony 2.0 and mix in my bridge code.

Good luck. If you can solve the problem, you will be the hero for many modders.