A patch for Cultist Simulator enabling additional features for modding.
frangiclave-patch is a C# solution for building a patch for the Cultist Simulator Assembly-CSharp DLL. It uses MonoMod as a basis for patching it.
You shouldn't need to directly patch the game yourself, as this is something frangiclave-mod-manager can handle.
In order to build this patch, you will need to copy over the required dependencies first:
- Copy every DLL file from your
Cultist Simulator/cultistsimulator_Data/Managed/
directory into theCultistSimulator
directory of the solution. - Copy MonoMod and all its DLL dependencies into the
MonoMod
directory of the solution.- You will need to build or acquire MonoMod separately. Follow the instructions on its repository to build it. It should produce an executable with several DLLs.
Normally you will not need to apply the patch manually, as frangiclave-mod-manager is capable of applying it by itself. If you are developing the patch, however, you may find it useful to be able to do it yourself. To do so, follow these instructions:
- Copy all the DLLs from
CultistSimulator
andMonoMod
into the build directory, where your built DLL is. - Run
MonoMod Assembly-CSharp.dll
and wait for the program to finish. - Copy the resultant
MONOMODDED_Assembly-CSharp.dll
toCultist Simulator/cultistsimulator_Data/Managed/
, along with MonoMod and its DLLs. - Remove the old
Assembly-CSharp.dll
(or rename it as a backup) and renameMONOMODDED_Assembly-CSharp.dll
toAssembly-CSharp.dll
.
Your game should now be correctly patched!