+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  PlayStation 2 fonts
Pages: [1] 2 3
Author Topic: PlayStation 2 fonts  (Read 2595 times)
Cless
Guest
« on: September 23, 2006, 01:05:52 am »

Okay, apparently Tales of Destiny 2j uses separate fonts for full width and half width characters. I've apparently managed to locate the full width font. Still looking for the half-width one.

I've not a freaking clue how to view it (much less edit it) in any existing tile editor. It uses some strange bitmode or is in another format entirely. I can't even see bits and pieces of it. It's definitely the font though, because I replaced it with a zeroed out file and all the full width text in the game disappeared after trying it.

It seems to be in a raw format of some type.

Although I really only need to edit the half width font, I'd presume they're in the same format. Some help with this would be appreciated.

Here's the file
Cless
Guest
« Reply #1 on: September 23, 2006, 02:08:22 am »

Hmm... of course, then I remembered GGD. This is the best I can get it to appear:



I guess the font is in some 8bpp mode. But I can't get it to align right in the program. a 12 pixel width seems a little strange...
DaMarsMan
Guest
« Reply #2 on: September 23, 2006, 02:12:08 am »

I can see it in hex workshop. Looks like 0x120 bytes per character.

Can't you see the ABC.

Anyways good luck.
By the way, if you get stuck with anything I am willing to take a look. I have at least some experience with ps2 since I'm one of the only ones doing a translation for ps2. 
Cless
Guest
« Reply #3 on: September 23, 2006, 05:27:11 am »

Yeah. I've determined the font is stored in an unusual 12x24 8bpp format.

I just made a simple and nice font with lowercase letters in photoshop. But I have no clue how to put it back into the game...

EDIT:

After spending hours identifying the last of the 9204 files inside the VFS, I think I found the half-width font data... in the main EXE of all places, in an embedded compressed file.

Turns out this is a TIM2, not in the same format as the full width font file. Still not actually sure how to go about editing this, though. Is there a photoshop plugin for TIM2 like there is for PS1 TIM files out there, somewhere?

EDIT 2:

I've attached the file containing the font. I can view it in Tile Molester but I'm having a hell of a time dealing with it. Palette problems and stuff.

[attachment deleted by admin]
« Last Edit: September 23, 2006, 10:05:38 am by Cless »
DaMarsMan
Guest
« Reply #4 on: September 23, 2006, 12:19:16 pm »

This must not be a regular tm2 or it is missing the header or something. It's not opening in my photoshop plugin. Most tim 2 formats do. How are you sure you decompressed it right? You may want to try getting the file from RAM with pcsx2 debugger and comparing with that.

Here is the TIM 2 plugin for photoshop.

[attachment deleted by admin]
« Last Edit: September 23, 2006, 12:29:53 pm by DaMarsMan »
Cless
Guest
« Reply #5 on: September 23, 2006, 05:06:31 pm »

This decompressor has never failed me. I'm positive it's accurate.

Anyway, maybe it's just in a format slightly different, then? I've never had any tim2 experience outside this game and figured the TM2 header in the file meant TIM2. Shrug.

The image is 4bpp and has several 32-bit CLUTs. The font is 12x16 and anti-aliased.



Might not be with the exact CLUT the font uses, but it looks pretty good with it...
« Last Edit: September 23, 2006, 05:34:21 pm by Cless »
DaMarsMan
Guest
« Reply #6 on: September 23, 2006, 05:36:26 pm »

yeah I would just edit it with that one. Anyways, where I can I get a copy of that program. It looks pretty sweet.
Cless
Guest
« Reply #7 on: September 23, 2006, 06:20:21 pm »

It's just a viewer, not an editor. :/

You can get it here though...

Damn this is a pain...
Cless
Guest
« Reply #8 on: September 24, 2006, 05:15:40 am »

Finally! After a bit of thinking i came up with a relatively simple solution to this whole mess. And the result is... the game doesn't scream at you anymore!







Still needs some tweaks, but I need a break.
DaMarsMan
Guest
« Reply #9 on: September 24, 2006, 10:43:15 am »

SWEEEEETNESSS!!!!! Or should I say Sweeeetnesss!

Have you located the script yet?
Kitsune Sniper
Guest
« Reply #10 on: September 24, 2006, 12:07:22 pm »

I don't think Audigy will like you hotlinking files on her server. Tongue
Ryusui
Guest
« Reply #11 on: September 24, 2006, 12:59:37 pm »

Tres awesome. It's gaps in our library like this that makes me pissed at Sony for barring these great games and pissed more at Namco for not bringing them. Now that we've got a merger on our hands, maybe we'll have fewer cases where our collective services to the Tales of series are required...

Until then, it's good to see that patching up the damage is proceeding apace. Damn, I wish I knew how to do PS1/2 hacking.
Cless
Guest
« Reply #12 on: September 24, 2006, 03:10:34 pm »

Quote from: DaMarsMan on September 24, 2006, 10:43:15 am
Have you located the script yet?

99.9% positive I know where it is but I need custom utilities to get at it. Damned archives.
Cless
Guest
« Reply #13 on: September 25, 2006, 12:54:33 am »

Quote from: DaMarsMan on September 23, 2006, 02:12:08 am
By the way, if you get stuck with anything I am willing to take a look. I have at least some experience with ps2 since I'm one of the only ones doing a translation for ps2. 

Oh yeah, would you have any any experience with manipulating font sizes in PS2 games? If possible I'd really like to make this menu look better...



I've been playing with some data hoping to stumble on something promising but haven't had much luck...
Ryusui
Guest
« Reply #14 on: September 25, 2006, 12:57:06 am »

You could always gut the entire font routine and make all the English-text print half-width...
Pages: [1] 2 3  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC