This folder contains the icons used in the mod.
To access the icons in-game, they are packed and loaded as a font.
Here is a step-by-step guide on how to generate the font using Windows:
-
Create the
font.fnt
andfont.png
filesMake sure you have python installed with the packages: pyyaml and pillow.
Get the font-maker tool: https://github.com/Legend-Master/DST-Nitro-Font-Maker
Run the tool on this folder:
python <path-to-font-maker>/main.py .
This will generate a folder called
output
containing the files. -
Convert PNG to TEX
Get Handsome Matt's tools: https://github.com/handsomematt/dont-starve-tools
Run
TEXCreator.exe
.Click
Add
and select thefont.png
atlas generated in step 1.Choose a destination folder.
Click
Convert
. -
Zip the files
Grab
font.fnt
(from step 1) andfont.tex
(from step 2) and zip them intoicons.zip
. -
Move the zip
Move the
icons.zip
file to the fonts folder