[REQ][PC] Tony Hawk's Pro Skater 2 - FNT font files

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
User avatar
ikskoks
Moderator
Posts: 1583
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 625 times
Been thanked: 379 times
Contact:

[REQ][PC] Tony Hawk's Pro Skater 2 - FNT font files

Post by ikskoks »

So I tried to figure out file format of this font. In this case S2FONT1.FNT. But it wasn't so easy as I thought.
Is there anybody here who can help me with this? Font is uncompressed.

You can download font here: http://ikskoks.pl/XENTAX/THPS2_FONT.rar

File format:

Code: Select all

//symbols info
4 bytes - number of symbols in font

number of symbols * 
{
     4 bytes - scale?
     4 bytes - ?
     4 bytes - bitmap height
     4 bytes - bitmap width
}


//palette data
32 bytes - palette data (2 bytes per colour)

//bitmaps
number of symbols * bitmap data
screenshot000146.jpg
You do not have the required permissions to view the files attached to this post.
Last edited by ikskoks on Sun Jan 29, 2017 12:03 am, edited 3 times in total.
User avatar
ikskoks
Moderator
Posts: 1583
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 625 times
Been thanked: 379 times
Contact:

Re: [REQ][PC] Tony Hawk's Pro Skater 2 - FNT font files

Post by ikskoks »

Hey. I have updated file format in the first post. Now I know more about these fonts.
First I thought that every FNT file has only one bitmap, but I was wrong. There is separate bitmap for each symbol.
And successfully I have found palette data, but I don't know what palette type is it.
So I'm close to figure this out, but not close enough. Any help? :p
User avatar
ikskoks
Moderator
Posts: 1583
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 625 times
Been thanked: 379 times
Contact:

Re: [REQ][PC] Tony Hawk's Pro Skater 2 - FNT font files

Post by ikskoks »

I have updated file format again.
I think that these bitmaps are in 4 bytes per pixel format and palette is in 2 bytes per colour format (big endian) and with BGR colour order.

I have also checked for text to translate and unfortunatelly everything is in main exe file. ;/ Too bad.
You do not have the required permissions to view the files attached to this post.
Post Reply