Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Patapon 2 [PSP] GXT font texture files

Featured Replies

  • Author
  • Localization

VerMishelb, posted Wed Mar 04, 2020 8:58 pm (54417)


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

RU:
Image

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



  • Author
  • Localization

LokiReborn, posted Wed Mar 04, 2020 9:27 pm (54418)


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

RU:
Image

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.
  • Author
  • Localization

VerMishelb, posted Wed Mar 04, 2020 9:36 pm (54419)


Whoops, my bad. Fixed.
  • Author
  • Localization

VerMishelb, posted Tue Apr 07, 2020 9:52 am (55589)


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.
Image
  • Author
  • Localization

VerMishelb, posted Sat Apr 11, 2020 4:39 pm (55757)


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.
pata-font-in-game
  • Author
  • Localization

Allen, posted Sun Apr 12, 2020 1:23 am (55786)


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.


Image
Image
Image

tex_Patapon2_PSP_font_gxt.zip

  • Author
  • Localization

VerMishelb, posted Sun Apr 12, 2020 10:11 am (55807)


Thank you so much! Works like a charm.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.