CustomFont
Replace font with a OpenType or TrueType font file
模組介紹 作者原文
CustomFont
Replace font with a OpenType or TrueType 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 Mods > Custom Font
All Chars Atlas
The created font atlas includes characters that are not seen in the game. If this is off then it only includes characters that are seen in the game. The change will take effect when you load a save file.
[!WARNING]
Enabling this option will cause noticeable load delay if the font file is large (> 1MB), which can take from seconds up to several minutes.
Font Scale
The scale of font size e.g., 1.5 means 150% bigger.
Replace Font Mode
Where to apply custom font:
- Disabled: don't apply custom font
- Effected by language: only apply custom font to texts that are effected by languages e.g., dialogues. Texts such as number of items, button prompt are not applied
- All: apply custom font for all possible texts (experimental)
[!NOTE]
Even when you use "All", texts in the menues and some cutscenes remain unchanged as they use different UI toolkits which this mod does not cover.
Developer Usage
See documentation.
Build.NET 10 is required.
Create SilksongPath.props under CustomFont. Copy and paste the following text and edit as needed.
SilksongInstallPath
$(SilksongFolder)/BepInEx/plugins
dotnet build -c Release
Build documentation
dotnet tool restore
dotnet docfx docfx/docfx.json --serve
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: