Cortes_R asked me to explain modding fonts in more detail. I figured I might as well do it for everyone. I hope it's useful.
Downolad and install AngelCode's Bitmap font gererator which is free
http://www.angelcode.com/products/bmfont/
Open the program and go to "Options->Font Settings" which will look like this:
In font face choose the font you want. For all the other options select the same ones in the screnshot. The only one that you need to change is the size. Choose the biggest size that gives you only one bmp page (see lower in the guide)
Go to "Options->Export options" which will look like this:
Make the options be exactly the ones I have in the screenshot.
Then select the character set in the main screen:
Depending on what font you are modding you may not need all characters. For the map font you only need the ones I have highlighted. Remember to highlight the 'Space character'
EDIT: You also need the hyphen for the text "Île-de-France"
Go to "Options->Visualize" which will look like this
If it doesn't fit in one page on the top will say "Preview 1/n" where n = a number, go to "Options->Font Settings" and reduce the size until you get 1/1.
Go to "Options-Save Bitmap font as..." and save it with the name of the font you want to mod. DON'T SAVE IT OVER THE FONT YOU WANT TO MOD.
Go to photoshop and open the TGA file. Invert the RGB channels so that they look like this:
and change white for gray with rgb values of [201,201,201] in the Alpha1 layer so that it looks like this:
Export as a DXT3 .DDS, if necesary get the nvidia pluggin for photoshop (see utilities post)
Open with a text editor the .fnt file. In the header make the following changes:
- Change the "face" value with the one of the file you want to mod
- Make the size positive
- Add the "italic=0" after the "bold=0" value
- Remove the "unicode = 0" value
- Remove the "outline=1" value
- Remove the " packed=0 alphaChnl=0 redChnl=0 greenChnl=0 blueChnl=0 page id=0 file="Tahoma_60_00.tga"" values
- Remove the "chars count"
Now remove the last column entirely the one that has the value "chnl=15" a simple replace all with 'nothing' will do
This is how it looks before editing:
This is how it looks after
And you are set! Backup the vanilla's .fnt and .dds and overwrite them with your modded version
















Reply With Quote
















































