Silksong.GameLibs
1.2.0-silksong1.0.29315
dotnet add package Silksong.GameLibs --version 1.2.0-silksong1.0.29315
NuGet\Install-Package Silksong.GameLibs -Version 1.2.0-silksong1.0.29315
<PackageReference Include="Silksong.GameLibs" Version="1.2.0-silksong1.0.29315" />
<PackageVersion Include="Silksong.GameLibs" Version="1.2.0-silksong1.0.29315" />
<PackageReference Include="Silksong.GameLibs" />
paket add Silksong.GameLibs --version 1.2.0-silksong1.0.29315
#r "nuget: Silksong.GameLibs, 1.2.0-silksong1.0.29315"
#:package Silksong.GameLibs@1.2.0-silksong1.0.29315
#addin nuget:?package=Silksong.GameLibs&version=1.2.0-silksong1.0.29315&prerelease
#tool nuget:?package=Silksong.GameLibs&version=1.2.0-silksong1.0.29315&prerelease
Silksong.GameLibs
Bundler Nuget package for silksong game libraries. Strips and publicizes game libraries for local and CI development.
Versioning
This package uses semantic versioning and follows the naming scheme (package version)-silksong(silksong version), for example
1.0.0-silksong1.0.28324. This allows the package to seamlessly support multiple game versions. When a new version of the game
is released, we can simply create a new version on nuget targeting that game version, without impacting existing consumers. When
the content of the package itself is changed (e.g. a new file being added to the publicizer) then the package version is bumped.
Build instructions
This section is for people wanting to generate the package for a new game version; if you are just creating mods this section is not relevant to you.
To build this package, you should have ready:
- The version(s) of the game you want to mod
- The dotnet CLI to build (Visual Studio's build environment will not work because it does not support netstandard2.1)
Building for all supported versions
A build script, build-all.sh, is provided to build the package for all supported Silksong versions. This script will automatically build for each version listed in the script. You can optionally specify the build configuration (e.g. Release or Debug) using the -c or --configuration flag (default is Debug):
./build-all.sh -c Release
This will invoke dotnet build for each version, setting the required TargetSilksongVersion property and the specified configuration.
Building for a single version manually
If you want to build for a specific Silksong version, you must set the TargetSilksongVersion property manually:
dotnet build -c Release -p:TargetSilksongVersion=1.0.28324
Replace 1.0.28324 with the desired version. The build will fail if TargetSilksongVersion is not set.
Preparing game files
- Note down the game version and related Steam depot IDs. Add them in a comment in the csproj so that future builders can retrieve that version to build against it again in the future.
- Copy the contents of the Managed folder to
ref/(game version), for example,ref/1.0.28324
Adding/removing assemblies in the build and/or publicization can be done by adjusting the SystemFiles and GameFiles item groups in the csproj.
Publishing packages
A publish script, publish-all.sh, is provided to automate publishing all generated NuGet packages. It will:
- Check that you are on the main branch and that it is up to date with origin/main
- Check that you have no uncommitted changes
- Clean all
.nupkgfiles from the project'sbin/Releasefolder - Run
build-all.shwith Release configuration - Run
dotnet nuget push --skip-duplicatefor all generated packages using an API key you provide
Note: You must run publish-all.sh from the solution directory so that the relative bin/Release path is correct.
API Key Handling
- You can provide your NuGet API key as a command line argument:
./publish-all.sh <NUGET_API_KEY> - If not provided, the script will look for a
.nuget_api_keyfile in the project directory and use its contents. - If you provide the key as an argument, it will be saved to
.nuget_api_keyfor future use (this file is gitignored).
Usage:
./publish-all.sh [NUGET_API_KEY]
Replace [NUGET_API_KEY] with your NuGet API key, or omit to use the saved key.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Silksong.GameLibs:
| Package | Downloads |
|---|---|
|
WishUtil
This is a library for adding custom Wishes to Hollow Knight: Silksong. |
|
|
org.silksong-modding.fsmutil
This is a library for mods to make FSM edits easier. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Silksong.GameLibs:
| Repository | Stars |
|---|---|
|
MCXGK3/KnightInSilkSong
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.2.0-silksong1.0.29315 | 7,451 | 12/13/2025 |
| 1.2.0-silksong1.0.29242 | 206 | 12/13/2025 |
| 1.2.0-silksong1.0.28891 | 122 | 12/13/2025 |
| 1.2.0-silksong1.0.28714 | 136 | 12/13/2025 |
| 1.2.0-silksong1.0.28650 | 137 | 12/13/2025 |
| 1.2.0-silksong1.0.28561 | 134 | 12/13/2025 |
| 1.2.0-silksong1.0.28497 | 130 | 12/13/2025 |
| 1.2.0-silksong1.0.28324 | 128 | 12/13/2025 |
| 1.1.0-silksong1.0.29315 | 4,699 | 11/15/2025 |
| 1.1.0-silksong1.0.29242 | 2,343 | 11/7/2025 |
| 1.1.0-silksong1.0.28891 | 2,017 | 10/14/2025 |
| 1.1.0-silksong1.0.28714 | 789 | 10/4/2025 |
| 1.1.0-silksong1.0.28650 | 608 | 9/22/2025 |
| 1.1.0-silksong1.0.28561 | 291 | 9/20/2025 |
| 1.1.0-silksong1.0.28497 | 176 | 9/20/2025 |
| 1.1.0-silksong1.0.28324 | 198 | 9/20/2025 |
| 1.0.2-silksong1.0.28561 | 209 | 9/13/2025 |
| 1.0.2-silksong1.0.28497 | 193 | 9/12/2025 |
| 1.0.2-silksong1.0.28324 | 201 | 9/11/2025 |
| 1.0.1-silksong1.0.28324 | 230 | 9/9/2025 |