HKModding.HKMod.Templates
1.0.8
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet new install HKModding.HKMod.Templates::1.0.8
This package contains a .NET Template Package you can call from the shell/command line.
Hollow Knight Mod Templates
This is a set of .NET templates for creating Hollow Knight mods.
Installation
From NuGet gallery
- From a terminal, run
dotnet new -i HKModding.HKMod.Templates
.
Manual installation
- Go to the Releases page (https://github.com/jngo102/HKModTemplates/releases) and download the latest
HKModTemplates.nupkg
file (not the Source Code!). - From a terminal, run
dotnet new -i {/path/to/downloaded/.nupkg}
.
Creating a new mod
Once the templates have been installed, you can create a new Hollow Knight mod using the command dotnet new {template}
, where {template}
may be:
- hkmod: The default, barebones mod template
- hkpreloads: A mod template with some structuring for preloads.
- hksettings: A mod template that implements basic settings.
There are several parameters you may pass into the dotnet
command:
- --modName: The name of your mod. Should be one word, e.g. "MyMod". Default is "HKMod".
- --modAuthor: The mod's author, i.e. your name. Default is blank.
- --modDescription: A description of the mod. Default is "A Hollow Knight mod."
- --hkRefsPath: The location of your project references. This is the folder that contains the
Assembly-CSharp.dll
file. Default is$(MSBuildProgramFiles32)/Steam/steamapps/common/Hollow Knight/hollow_knight_Data/Managed/
.
e.g: dotnet new hkmod --modName "MyMod" --modAuthor "My Name" --modDescription "Description of my mod." --hkRefsPath "C:\Program Files (x86)\Steam\steamapps\common\Hollow Knight\hollow_knight_Data\Managed\"
Uninstall
- From a terminal, run
dotnet new -u HKModding.HKMod.Templates
.
-
.NETFramework 4.7.2
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.14 | 572 | 7/24/2022 |
1.0.13 | 495 | 4/29/2022 |
1.0.12 | 437 | 4/29/2022 |
1.0.11 | 421 | 4/28/2022 |
1.0.10 | 406 | 4/28/2022 |
1.0.9 | 414 | 4/27/2022 |
1.0.8 | 430 | 4/27/2022 |
1.0.7 | 444 | 4/23/2022 |
1.0.6 | 428 | 4/22/2022 |
1.0.5 | 470 | 4/18/2022 |
1.0.4 | 439 | 4/18/2022 |
1.0.3 | 428 | 4/18/2022 |
1.0.2 | 411 | 4/18/2022 |
1.0.1 | 493 | 1/31/2022 |
1.0.0 | 472 | 1/30/2022 |