****The following piece of knowledge is well-known, but still someone may missed it. Also this works for th3-ug2, so i wasnt sure where to put this topic ****
Font formats are totally same in thps3, thps4 and thug1 (let's say FNT1), though there are minor changes in thug2 (FNT2) and it change a lot in THAW (FNT3?).
they can be named as small.fnt, smallfnt.dat, smallfnt.xbx or anything else but they are actually same files, so all that you have to do is to copy it in fonts folder and replace the existing one.
Here you can find small library of FNT1 fonts: http://devilclanthps3.weebly.com/fonts.html
*the only difference may appear in special symbols*
FNT Tool: viewtopic.php?f=8&t=229
here are some thps4 screens using thug1 and thug2 fonts:
Fonts in Tony Hawk games
Fonts in Tony Hawk games
Last edited by Demo on Sun Aug 13, 2017 4:57 am, edited 2 times in total.
Re: Fonts in Tony Hawk games
Very nice work. My opinion is fonts actually contribute a lot to the whole game style, and if we want to make higher quality mods that change the game a lot, having new fonts/gui/hud appearances can really make the whole mod more memorable and unique.
Would you consider making a TGA2FNT tool?
Would you consider making a TGA2FNT tool?
Re: Fonts in Tony Hawk games
I had such idea, but fnt is not just an image, it's bitmap font, it contains symbols layout - positions, width, height. I tried to just copy bitmap data, but I wasn't successful, since I couldn't find any format that supports 256 color palette (32bit each) and transparency. those few home-made fonts were done in hex actually by copying image and palette from bmp, added transparency editing palette I can share FNT1 (and FNT2 for thug2) file format if anyone is interested.quazz7654 wrote:Would you consider making a TGA2FNT tool?
Code: Select all
//font header
4 bytes - file size
(FNT2 - 4 bytes - unknown)
4 bytes - number of symbols
4 bytes - font height
4 bytes - font vertical shift
//symbols info
number of symbols *
{
2 bytes - letter vertical shift
2 bytes - letter code (FNT2 - 4 bytes)
}
//bitmap header
4 bytes - struct size including this (no effect, can ignore)
2 bytes - width
2 bytes - height
8 bytes always - 08 00 CC CC CC CC CC CC (08 maybe bpp)
//bitmap
{
width*height bytes
}
//palette
256 *
{
1 byte - Red
1 byte - Green
1 byte - Blue
1 byte - Alpha
}
//symbols layout info
4 bytes - number of symbols
number of symbols *
{
2 bytes - x shift
2 bytes - y shift
2 bytes - length
2 bytes - heigth
}
Last edited by Demo on Tue Jun 26, 2012 3:51 pm, edited 1 time in total.
Re: Fonts in Tony Hawk games
Bitmap images using a lookup table are typically 8 bits per pixel.Demo wrote:(08 maybe bpp)
Re: Fonts in Tony Hawk games
Hello. Is there any tool that is able to edit FNT fonts from Tony Hawk's Pro Skater 2?
FNT tool which you mention in the first post don't recognize these fonts.
If you have any valuable informations about font editing, FNT file format or something similar, please share with me.
FNT tool which you mention in the first post don't recognize these fonts.
If you have any valuable informations about font editing, FNT file format or something similar, please share with me.