

A modding library for Dyson Sphere Program. Provides multiple features to make adding custom content to DSP easier.
Full list of modules and other utilities can be found here. More will come in the future. If want write your own module and add it to the list you can open a Pull Request. Contrubitions are welcome.
Simply open the mod manager (if you don't have it install it here), select CommonAPI by CommonAPI, then Download.
If prompted to download with dependencies, select Yes.
Then just click Start modded, and the game will run with the mod installed.
Install BepInEx from here
Install LDBTool from here
Install DSPModSave from here
Unzip folder patchers into Dyson Sphere Program/BepInEx/patchers/CommonAPI/ (Create folder named CommonAPI)
Unzip folder plugins into Dyson Sphere Program/BepInEx/plugins/CommonAPI/. (Create folder named CommonAPI)
Feel free to contact me via Discord (Kremnev8#3756) for any feedback, bug-reports or suggestions.
All features are written as self-contained modules (Inspired by R2API). By default NO modules are loaded. To use a module at the top of your BepInEx plugin class add an attribute CommonAPISubmoduleDependency. That will ensure that specified modules are loaded. Make sure you don't ask to load modules that you are not using.
DysonSphereProgram.Modding into nuget package search.[BepInPlugin(GUID, NAME, VERSION)]
[BepInDependency(CommonAPIPlugin.GUID)]
[CommonAPISubmoduleDependency(nameof(ProtoRegistry), nameof(CustomDescSystem))]
public class MyPlugin : BaseUnityPlugin
{
public const string MODID = "myplugin";
public const string GUID = "org.myname.plugin." + MODID;
public const string NAME = "My Plugin";
void Awake()
{
//Make use of modules here
}
}
This library is still under development.