The mod loader currently consists of three projects:
- ModLoader: The core mod loader, outputs SpaarModLoader.dll
- ModLoader Injector: Used to create a patched Assembly-UnityScript.dll file that loads the mod loader
- ModLoader Installer: The Windows GUI installer
- DebugHelper: The debug helper program, allowing reloading of mods without restarting the game
A patched version of Assembly-UnityScript.dll, which is required for building is provided, as Besiege's modding conditions allow distribution of this file. In order for Visual Studio to properly load the references and for the post-build step of installing the mod loader and the Start action to work, you will need to set the BESIEGE_LOCATION environment variable to the path to your Besiege installation, including a \ at the end.
Check the README_enduser.md file for information about installing the mod loader and a list of features.
The mod loader is licensed under the MIT license. It is using the Mono.Cecil and Harmony libraries, which are licensed under a similiar license. The full license text for the mod loader and each library can be found in the LICENSE file.