Mod and user content loader for "Golden Treasure - The Great Green"
Functions as a run-time patch, based on UnityDoorstop and HarmonyX
See Guide
Reactivates unfinished / disabled game features:
- Loading of user content from directories in
*_Data/Resources/Mods/
- 'Profiles' menu to manage Savegames, select active mods, and manage mod load order
- Ingame dev console
Load user content:
- New plain text format to create Events more easily
- Folder watch + auto-reload to create Backgrounds (I'm not going to claim 'easily')
- Chainload more HarmonyX patches, to allow further changes
Unrelated fixes:
- The brightness slider in the settings menu is now actually center-notched
- Prediction aura on stat checks sometimes not appearing
An example mod is provided, with annotated source files demonstrating several features.
The most valuable source of information during development is the Unity 'Player.log', in
%APPDATA%/LocalLow/Dreaming Door Studios
The base game's "Main as a mod" is legit, all folders go through the same loader, so the files there may also be of value
Requires:
- dotnet
- meson
- mingw32-gcc, targeting x86_64-w64
- Golden Treasure
Copy the required assemblies from the game to originals/
. Then ./mk.sh
Resulting executable in loader/build/
is self-contained, and to be placed in the game's root directory