XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sun Mar 26, 2017 11:39 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: [REQ][PC] Tony Hawk's Pro Skater 2 - FNT font files
PostPosted: Mon Nov 21, 2016 6:55 pm 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Thu Jul 26, 2012 5:06 pm
Posts: 170
Location: Poland, Łódź
Has thanked: 227 times
Have thanks: 50 times














You can make the ads go away by registering

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:
//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





Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
http://ikskoks.pl/
https://www.facebook.com/ikskoks
Image


Last edited by ikskoks on Sun Jan 29, 2017 12:03 am, edited 3 times in total.

Top
 Profile  
 
 Post subject: Re: [REQ][PC] Tony Hawk's Pro Skater 2 - FNT font files
PostPosted: Sun Dec 18, 2016 9:12 pm 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Thu Jul 26, 2012 5:06 pm
Posts: 170
Location: Poland, Łódź
Has thanked: 227 times
Have thanks: 50 times
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

_________________
http://ikskoks.pl/
https://www.facebook.com/ikskoks
Image


Top
 Profile  
 
 Post subject: Re: [REQ][PC] Tony Hawk's Pro Skater 2 - FNT font files
PostPosted: Sun Jan 29, 2017 12:26 am 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Thu Jul 26, 2012 5:06 pm
Posts: 170
Location: Poland, Łódź
Has thanked: 227 times
Have thanks: 50 times
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.


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
http://ikskoks.pl/
https://www.facebook.com/ikskoks
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group