CustomFont
Replace font with a `.ttf` or `.otf` font. Built for both players and developers.
| Date uploaded | 6 days ago |
| Version | 0.1.1 |
| Download link | CarrieForle-CustomFont-0.1.1.zip |
| Downloads | 87 |
| Dependency string | CarrieForle-CustomFont-0.1.1 |
This mod requires the following mods to function
BepInEx-BepInExPack_Silksong
BepInEx modloader. Preconfigured and ready to use.
Preferred version: 5.4.2304silksong_modding-I18N
A Hollow Knight: Silksong mod that automatically loads localized text for other mods.
Preferred version: 1.0.3README
CustomFont
Replace font with a .ttf or .otf font. Built for both players and developers.
Limitation
Not all fonts are replacable. Specifically those in the game menu and pause menu are not replacable, but everything else should do.
Player Usage
Install the mod (either manual or via a mod manager) and place a font file named font.otf or font.ttf in the same folder as the DLL. Your folder structure should look like this:
.
└── BepinEx/
└── plugins/
└── CarrieForle-CustomFont/
├── icon.png
├── font.otf <- your font
├── manifest.json
├── README.md
├── CustomFont.dll
└── CustomFont.pdb
If you use a mod manager (e.g., r2modman), the above structure should be in a profile folder. If you installed BepinEx manually, it should be in the Silksong installation folder.
Developer Usage
See documentation.
Build
.NET 10 is required.
Create SilksongPath.props under CustomFont. Copy and paste the following text and edit as needed.
<Project>
<PropertyGroup>
<SilksongFolder>SilksongInstallPath</SilksongFolder>
<!-- If you use a mod manager rather than manually installing BepInEx, this should be a profile directory for that mod manager. -->
<SilksongPluginsFolder>$(SilksongFolder)/BepInEx/plugins</SilksongPluginsFolder>
</PropertyGroup>
</Project>
dotnet build -c Release
Build documentation
dotnet tool restore
dotnet docfx docfx.json --serve
CHANGELOG
v0.1.1
Fix I18N
v0.1.0
Mod releases.