Environment setup
What you will need
- A Windows / Linux / Mac device that you can code on
- A Legitimate copy of Hollow Knight on PC (Steam / GoG / HumbleBundle)
- XBox / PS4 / Nintendo Switch versions do not work for our purposes.
- A copy of the Hollow Knight Modding Api binary (dll) files
- Visual Studio Community and .NET Framework 4.7.2
- Any version of Visual Studio or any other C# IDE works.
- .NET Framework 4.7.2 is included in the .NET 4.8 Runtime.
System Setup
To Setup your system for modding, you need to do the following steps. if you prefer, you can refer to the video guides below and follow along as well.
- Download and Install Visual Studio Community.
- Make sure to also install the "C# for desktop development" workflow.
- Download and Install .NET Framework 4.7.2.
- For linux see Install a .NET SDK using Microsoft's packages. Do note that using the .NET 6 SDK or later is preferred.
- Create a folder named
Hollow Knight Mods
as your working directory (you will create your mods here). - Install the Modding Api (skip if already using a modded install of the game.)
- Either by using a modinstaller (auto installs on load)
- Or manually by replacing the files in your
Managed
Folder in the game files with the contents of Hollow Knight Modding Api's latest release for your operating system, this will be your copy of the modding api.
You're now done setting up your system for creating your first Hollow Knight mod.
Windows
Mac
TODO: Add a video here that goes over setting up and installing all of this
Linux
TODO: Add a video here that goes over setting up and installing all of this