War for the Overworld

War for the Overworld

Statistiken ansehen:
Modding via DLL Hooking / Harmony (runtime patching)
I have been modding in subnautica which also uses unity. Modding isn't supported in that game either, however it is made possible by the use of the harmony library (https://github.com/pardeike/Harmony). I imagine it'd be possible to use harmony to create runtime patches for this game.

If people are interested, I could create a mod manager program that runs c# dll's stored in a specific directory.

As far as mod development, you'd need to create a class library using c# that uses harmony to patch a method (before or after it runs). You can see the game methods with dnspy (look at assembly-csharp.dll and other dll's in the game 'managed' directory).

ie. A simple mod could add additional hotkeys to the game by modding the methods responsible for the options interface and add additional keys to configure.
< >
Beiträge 13 von 3
Ooo. You should also post this on the main discussion page, it'd be very very cool to see something like this. We wont be able to give you access to any of the secret sauce though, you'll have to work with whatever Harmony can do.
Looks super interesting! Love to hear if you make progress on this
Ursprünglich geschrieben von Dr Davient:
Looks super interesting! Love to hear if you make progress on this

Hey,

I haven't put any work into it as I have sort've burned myself out on this game :( If people are interested, I'll look into throwing together a project and maybe a simple api (ie. editing unit stats).

A fun thought however is perhaps hooking into mightyscript and adding custom commands.

If a dev is reading this, do you have any documentation (that can be shared) of your object heirarchy to make modding easier? (ie. scope->game->units->etc)
< >
Beiträge 13 von 3
Pro Seite: 1530 50

Geschrieben am: 22. Juni 2018 um 5:00
Beiträge: 3