This is a mod for Hollow Knight that randomizes Charms and Abilities.
This mod depends on the Modding API by Seanpr and Firzen, which is a modified Assembly-CSharp.dll
.
There is currently no public download link for the Modding API.
For now, check the pinned messages in the #modding channel in the Hollow Knight discord.
After installing the Modding API, open this solution in Visual Studio. You will get many errors for missing assembly references. Here's how to resolve them:
- Right click the RandomizerMod project in the Solution Explorer.
- Properties
- Referenced Paths
- Folder:
C:\Program Files (x86)\Steam\steamapps\common\Hollow Knight\hollow_knight_Data\Managed\
- Add Folder
Now if you open up RandomizerMod.cs, you should see no errors.
Printf-style debugging is done through calls to Modding.ModHooks.ModLog()
,
which outputs text to %APPDATA%\..\LocalLow\Team Cherry\Hollow Knight\ModLog.txt
.
There is currently no easy way to use the Visual Studio debugger while Hollow Knight is running. Please let someone know if you manage to get this working, and we'll update these instructions.