Diesel Font Tool (Now with icons included)
This tool makes it possible to make fonts for PAYDAY 2, PDTH, and RAID WW2.
Usage
- Once extracted, open the program "bmfont.exe"
- Go to
Options
and thenLoad Configuration
- Pick one of the following configurations, "font_large.bmfc", "font_medium.bmfc", or "font_small.bmfc". If you are replacing them all, go one by one, repeating the steps. This time we'll start with font_large.bmfc.
- Let's now set our font, go to
Options
and thenFont Settings
- Then just select the font you wish to mod into the game through the following selector
- Click on the
OK
button on the bottom of the dialog. - Now let's save the font we made before we convert it to diesel format, click
Options
and thenSave bitmap font as...
or CTRL+S. Give the file the name of the font you wish to replace, in this case we'll call it font_large (do not write .font)
- Next is opening the
DieselFontTool.exe
program, there simply click onLoad (BM Font)
- In the dialog that opened, open the file you saved in step 7.
- Click
Save (Diesel Font)
there you finally can save the final font that we'll actually replace in the game. The program should automatically fill the name of the font.
Next you would just replace the fonts you want, most fonts are in the fonts folder so just making a mod in assets/mod_overrides with a 'fonts' folder and then placing your font files there. You have two files, font_[size].font and font_[size].texture both of them must be present there in order for the font to be replaced.
Notes
- The configurations included each have the icons that they are supposed to have, generally if the font size isn't played with (I'm sure you noticed the font size option), the icons should be fine. If you do need to adjust them for any reason, go to
Edit
->Image Manager
, select the icon you need, clickImage
, then clickEdit Image...
, adjust the Y offset (more y = down) click thenOK
to apply it. - The real font sizes are: 44 for large, 25 for medium, and 21 for small.
- If you are replacing a different font and not one of the font_[size] fonts, load other.bmfc.
- There are more options to play around in the Bitmap font generator so feel free to explore it.
- You can add more characters by just ticking the boxes in the font generator program, if you run out of space in the texture (
Options
->Visualize
increase the texture size by going toOptions
->Export Options
and increase the width or height, it should be in powers of 2 so if the default is 512 you may increase it to 1024 or 2048. - There is a limit in PD2 and PDTH since the format is limited to a certain amount of characters. You can solve this with adding fonts via BeardLib (they must be early loaded!) and then injecting that font to the merged font of the font you want with SuperBLT. Since RAID is 64 bit, it doesn't suffer from the same issue.
- Do not change texture type in export options. Only DDS is supported.
- If your font is missing, make sure you installed it from your ttf file, you can also let the program read ttf files (click the
...
button near the fonts selection) - I'm gonna be pretty busy after this is releasd so don't expect too much support for this, sorry.
Source Code
Downloads1,648
Views15,473
Publish Date7 years ago
Last Updated2 years ago
Version2.1.2
Members
LuffyManagementOwner
Tags
Comments