News: 11 March 2016 - Forum Rules

Author Topic: Font file, need some help  (Read 2332 times)

Joshua

  • Jr. Member
  • **
  • Posts: 9
    • View Profile
Font file, need some help
« on: May 07, 2014, 11:15:05 pm »
I'm attempting to edit the font for a game I've been working on. The issue is that the font is too wide, I'd like to replace it with a narrower font.

At the top of the font file is a value that is related to the tile size (16x16). I've already tried modifying it, but it just results in the letter on the tile getting partly cropped out (for example, lower the height value and letters that hang below the line get cut off).

A little bit further down is a list of all of the characters within the font. You can change the hex value tied to each tile and there is also a value for each character that seems to be tile padding.

Below all of that is the actual graphic data.

If I open the file in Tile Molester, I can get the font to be somewhat displayed. But it isn't good enough to actually edit the tiles.

The settings are:
Codec: 16bpp ABGR (1555)
Mode: 2-Dimensional
and Byte Forward once



That's the best that I've been able to get it. You'll notice that Tile Molester makes it seem like it's a small size, but it's not. I can view what it should actually look like using the GE Debugger in PPSSPP.

By the way, the font is for Fairy Tail - Portable Guild. Here is what it looks like in the game:


I did try using FEIDIAN, but I can't seem to get even a remotely legible font to be spit out.

Here is the font file: https://drive.google.com/file/d/0B1BwabFoUTLRZGxEd2tNSERDbTA/edit?usp=sharing

If anyone can help, it would be much appreciated.

Zoinkity

  • Hero Member
  • *****
  • Posts: 565
    • View Profile
Re: Font file, need some help
« Reply #1 on: May 08, 2014, 01:17:41 pm »
The file at that link is unavailable (or at least pops up a message along those lines).

Just guesswork here, but from the look of the image you posted and how those chars look halfwidth, plus the black+white+alpha of the in-game font, you probably want something more along the lines of 8bit intentisty+alpha.
That's usually encoded as 4bits white (25% increments) and 4bits alpha (25% each level). 

Joshua

  • Jr. Member
  • **
  • Posts: 9
    • View Profile
Re: Font file, need some help
« Reply #2 on: May 08, 2014, 01:20:53 pm »
The file at that link is unavailable (or at least pops up a message along those lines).

If you click the down arrow icon on the toolbar, it'll let you download the file.