Author Topic: changing default font  (Read 18683 times)

Hellbringer616

  • *
  • Posts: 1913
    • View Profile
changing default font
« on: 2009-06-16 19:10:04 »
I was just thinking while installing a new font on my computer, Is there a way to change the font of FF7? or is that pretty much hard coded on there?

Covarr

  • Covarr-Let
  • Administrator
  • *
  • Posts: 3941
  • Just Covarr. No "n".
    • View Profile
Re: changing default font
« Reply #1 on: 2009-06-16 22:09:36 »
Can textures be replaced with higher-res textures? That might be worth looking into, since the default font doesn't look all that great when running the game at higher resolutions.

Hellbringer616

  • *
  • Posts: 1913
    • View Profile
Re: changing default font
« Reply #2 on: 2009-06-16 23:29:35 »
Exactly what i was thinking  :-D

Covarr

  • Covarr-Let
  • Administrator
  • *
  • Posts: 3941
  • Just Covarr. No "n".
    • View Profile
Re: changing default font
« Reply #3 on: 2009-06-17 04:58:19 »
Well, if it is a single texture with all the fonts on it, and it's fetching part of the image for each character, then you couldn't really replace the font with anything except a higher resolution of the same thing, or at the very least a new font with the same proportions.

If each letter is its own texture, that might not be as much of an issue, but you'd still want to keep sizing intact to prevent text from overflowing the window (or does the engine determine the necessary size of the window on the spot rather than having pre-sized windows per textbox?)

Since I've never actually done any modding or looked at any of the game's data files or even read any tech documents, the best I can do is make educated guesses and deductions. Would somebody who actually knows something care to comment?

Hellbringer616

  • *
  • Posts: 1913
    • View Profile
Re: changing default font
« Reply #4 on: 2009-06-17 05:00:02 »
Same issue. Never modded anything :oops:

Anyone who has the FF7 file formats and structures?

nfitc1

  • *
  • Posts: 3011
  • I just don't know what went wrong.
    • View Profile
    • WM/PrC Blog
Re: changing default font
« Reply #5 on: 2009-06-17 06:12:11 »
It's been a while, but:

http://forums.qhimm.com/index.php?topic=7928.msg98936#msg98936

should have some idea of how to do it.

JordieBo

  • *
  • Posts: 215
    • View Profile
Re: changing default font
« Reply #6 on: 2009-06-23 10:47:25 »
I'm sure that if you just extract all the texture files from something_us...? It is just a texture file, which is easily replaced. I think it's world_us? Or I could be completely wrong.  :-)

Prince Lex

  • *
  • Posts: 882
  • Opinionfact is Redundancy
    • View Profile
Re: changing default font
« Reply #7 on: 2009-07-28 06:11:14 »
Sorry for the necroposting, I was going to create a new thread but thought it better to post here, since it's completely related and not that old.

Has anyone had any luck with this?

I unpacked the menu_us using lgp tools and found the font textures. Using biturn I converted the usfont files to bmp, then opened in Photoshop, converted to RGB and applied a blur filter. Then converted back to grayscale and saved in 8-bit.bmp. Then converted the .bmp's to .TEX's using biturn again. Created a new menu_us archive using lgptools and started the game.

- WTF!?

What did I do wrong?

Hellbringer616

  • *
  • Posts: 1913
    • View Profile
Re: changing default font
« Reply #8 on: 2009-07-28 06:12:14 »
I had the EXACT same issue...

So i can't be much help

Aali

  • *
  • Posts: 1196
    • View Profile
Re: changing default font
« Reply #9 on: 2009-07-28 06:17:49 »
Well, first of all, don't use biturn, it's very good at creating broken tex files.
Also make sure you preserve all the palettes.

Hellbringer616

  • *
  • Posts: 1913
    • View Profile
Re: changing default font
« Reply #10 on: 2009-07-28 06:18:20 »
What other program is there? Also how would we do that?

Prince Lex

  • *
  • Posts: 882
  • Opinionfact is Redundancy
    • View Profile
Re: changing default font
« Reply #11 on: 2009-07-28 06:21:39 »
I tried using img2tex aswell, but for some reason it just gave me a bmp file as output. Confused.

Aali

  • *
  • Posts: 1196
    • View Profile
Re: changing default font
« Reply #12 on: 2009-07-28 06:23:20 »
Try Omega, and never convert the image to RGB.

Hellbringer616

  • *
  • Posts: 1913
    • View Profile
Re: changing default font
« Reply #13 on: 2009-07-28 06:34:47 »
I can't find a link to it :(

But thats my issue, i thought it HAD to be RGB XD

Prince Lex

  • *
  • Posts: 882
  • Opinionfact is Redundancy
    • View Profile
Re: changing default font
« Reply #14 on: 2009-07-28 06:45:17 »
I know it has to be grayscale, but you can't edit much in grayscale with photoshop. I also can't find a link to omega. Tried using Ficedula's textool but I get an access violation.

Hellbringer, if you have any luck, will you post screenshots? I need to get this font fixed, it grates me so much.

Aali

  • *
  • Posts: 1196
    • View Profile
Re: changing default font
« Reply #15 on: 2009-07-28 06:47:43 »
It's not just that it has to be greyscale. The palette has to be the same, you can't replace it with an image with a different palette or it will look like crap. (Unless you edit all of the 16 palettes)

Phun

  • Guest
Re: changing default font
« Reply #16 on: 2009-07-28 09:41:10 »
Correct me if I'm wrong, but I believe the game uses DirectDraw to draw font.

Aali

  • *
  • Posts: 1196
    • View Profile
Re: changing default font
« Reply #17 on: 2009-07-28 10:05:54 »
Allow me to correct you, the game uses textured quads to draw font.

Phun

  • Guest
Re: changing default font
« Reply #18 on: 2009-07-28 10:29:59 »
Allow me to correct you, the game uses textured quads to draw font.

I thought this was only necessary in games using Direct3D.
« Last Edit: 2009-07-28 10:32:52 by Phun »

Aali

  • *
  • Posts: 1196
    • View Profile
Re: changing default font
« Reply #19 on: 2009-07-28 10:37:38 »
What does that have to do with anything? Modern games are even more likely to use textured quads.
Everything in the PC versions of FF7/FF8 is done using 3D graphics, sprites/backgrounds etc are just textured quads.
Even the software driver emulates 3D graphics when it is drawing the fonts (And no, this is not as wasteful as it sounds)

Phun

  • Guest
Re: changing default font
« Reply #20 on: 2009-07-28 10:49:09 »
What does that have to do with anything? Modern games are even more likely to use textured quads.
Everything in the PC versions of FF7/FF8 is done using 3D graphics, sprites/backgrounds etc are just textured quads.
Even the software driver emulates 3D graphics when it is drawing the fonts (And no, this is not as wasteful as it sounds)

Allow me to correct myself: GDI.

Hellbringer616

  • *
  • Posts: 1913
    • View Profile
Re: changing default font
« Reply #21 on: 2009-07-28 17:16:52 »
I know it has to be grayscale, but you can't edit much in grayscale with photoshop. I also can't find a link to omega. Tried using Ficedula's textool but I get an access violation.

Hellbringer, if you have any luck, will you post screenshots? I need to get this font fixed, it grates me so much.

Yeah i'll post screens if i can ever figure it out haha, I'll release it if i can ever figure it out :-D

Aali

  • *
  • Posts: 1196
    • View Profile
Re: changing default font
« Reply #22 on: 2009-07-28 17:39:49 »
Allow me to correct myself: GDI.

Say what?

Borde

  • *
  • Posts: 891
    • View Profile
Re: changing default font
« Reply #23 on: 2009-07-28 18:56:50 »
Errr... Img2Tex cannot write BMP files. It could have written a file with .bmp extension, though. If that's the case, just rename it. By the way, Img2Tex SHOULD respect the original pallete. It would be nice to see if it actually does so. :-P

Hellbringer616

  • *
  • Posts: 1913
    • View Profile
Re: changing default font
« Reply #24 on: 2009-07-28 21:47:16 »
Well with any luck i'll be putting your program to the test.

Quick question, since i will probably scale to 512x512 and then make a new layer semi transparent and make redraw all the text (think it will look better that way, feel free to say otherwise) do i HAVE to match the colors perfectly? Or no?