Fexty12573 / SharpPluginLoader

A C# plugin loader for Monster Hunter World
MIT License
32 stars 2 forks source link

Refactor native loader config #18

Closed Andoryuuta closed 7 months ago

Andoryuuta commented 7 months ago

This MR extracts the loader-config.json parsing into a singleton class for easier use throughout the native code, while also keeping compatibility with the JSON format in Strackeror's loader. If the config file does not already exist when loading, we generate a default and write it to disk.

This also updates the preloader/native code to actually respect these options where it didn't previously (enable/disable and opening cmd window).