I have two versions of Patapon 2 (both EUR, UCES01177). One of them was translated to Russian by unknown person. The thing is that the font contains texture which looks weird. It's in GXT format and I can turn it into PNG and backwards but I can't understand how to make it readable for us (other GXTs are working fine). Please, help me to find the algorithm to make it readable and then turn back edited file to how it was in game.
There are two files: first one is the original UK lang font, the second one is edited somehow: Latin letters are replaced with Cyrillic ones.
EN:
RU:
Also, there is "outlinefont" file, which wasn't edited in RU version but I'll get into it after, probably has the same algorithm of making it readable.
I checked other files, this file must contain all the letters inside it because there is nothing left. Any ideas?
This happens if I just mirror the file vertically (tested if all letters are related to this file)
This one is quite big so I'll leave it as a link.
https://cdn.discordapp.com/attachments/ ... nknown.png
Files (remove .txt from gxt ones):
Patapon 2 [PSP] GXT font texture files
-
- Posts: 6
- Joined: Wed Mar 04, 2020 6:51 pm
Patapon 2 [PSP] GXT font texture files
Last edited by VerMishelb on Tue Apr 07, 2020 12:53 pm, edited 4 times in total.
-
- Posts: 190
- Joined: Fri Aug 26, 2016 3:11 pm
Re: Patapon 2 (GXT turned to PNG) font texture files
VerMishelb wrote:I have two versions of Patapon 2 (both EUR, UCES01177). One of them was translated to Russian by unknown person. The thing is that the font contains texture which looks weird. It's in GXT format and I can turn it into PNG and backwards but I can't understand how to make it readable for us (other GXTs are working fine). Please, help me to find the algorithm to make it readable and then turn back edited file to how it was in game.
There are two files: first one is the original UK lang font, the second one is edited somehow: Latin letters are replaced with Cyrillic ones.
EN:
RU:
Also, there is "outlinefont" file, which wasn't edited in RU version but I'll get into it after, probably has the same algorithm of making it readable.
I checked other files, this file must contain all the letters inside it because there is nothing left. Any ideas?
This happens if I just mirror the file vertically (tested if all letters are related to this file)
This one is quite big so I'll leave it as a link.
https://cdn.discordapp.com/attachments/ ... nknown.png
You didn't attach the files.
-
- Posts: 6
- Joined: Wed Mar 04, 2020 6:51 pm
Re: Patapon 2 (GXT turned to PNG) font texture files
Whoops, my bad. Fixed.
-
- Posts: 6
- Joined: Wed Mar 04, 2020 6:51 pm
Re: Patapon 2 (GXT turned to PNG) font texture files
I tried to use net template instead of checkerboard. Now it's more clear but I still have half of it missing somewhere. Added red colour to make it more contrast.
-
- Posts: 6
- Joined: Wed Mar 04, 2020 6:51 pm
Re: Patapon 2 [PSP] GXT font texture files
Somehow made the game show the whole font instead of just one letter. It is indeed made out of two parts and you can see the beginning of both on picture I sent above. Looks like the tool I used to extract GXT can't work with these so I need to find the way to read them again.
-
- Posts: 156
- Joined: Tue Sep 01, 2015 9:44 am
Re: Patapon 2 [PSP] GXT font texture files
They are 3 2BPP images, but they are stored in 8BPP.
1 8BPP = 4 2BPP.
The fourth image is not enabled.
If you know programming, please refer to my code. This script is for viewing only.
1 8BPP = 4 2BPP.
The fourth image is not enabled.
If you know programming, please refer to my code. This script is for viewing only.
-
- Posts: 6
- Joined: Wed Mar 04, 2020 6:51 pm
Re: Patapon 2 [PSP] GXT font texture files
Thank you so much! Works like a charm.