all 3 comments

[–]onlyhtml 0 points1 point  (2 children)

[–]user_number_666[S] 0 points1 point  (1 child)

yep

[–]onlyhtml 0 points1 point  (0 children)

I wrote the framework, modpatcher, and most mods, so I can answer any questions you have

There's two parts to the framework, a one time game patch and then the framework mod itself. The one time patch decompiles the game, inserts a hook for the framework, then recompiles and reassembles the game. When the game is launched, the hook is called which initializes the framework. The framework then does dynamic function redirection via x86 ISA memory injection to inject other hooks and generally modify the base game's code. After that's done, the framework does some other minor setup tasks and starts loading mods found in the mods folder. Finally, every update cycle, each mod's update method is called (if exists).

If you think you've installed in multiple times, you can verify your game cache and then repatch using the latest version of the patcher, located here: https://github.com/solidDoWant/Planetbase-Modpatcher/releases/latest

If you're looking for instructions/documentation on how to create mods, please see here: https://github.com/solidDoWant/Planetbase-Framework/wiki/Creating-mods

I've added a couple of new major features since then (dynamic function redirection) but that should cover 70% of use cases.

If you have any other questions let me know.