Final Fantasy Hacktics

Modding => War of the Lions Hacking => Topic started by: Arcanus on August 21, 2009, 05:20:04 am

Title: How to resize VWF font?
Post by: Arcanus on August 21, 2009, 05:20:04 am
Hey guys, I need help to change the size of the letters in the game of psp.

I put in 3F (hiragana 10 width ) the letter "รก" (4 width)

(http://img146.imageshack.us/img146/2268/screen9f.th.jpg) (http://img146.imageshack.us/my.php?image=screen9f.jpg)

I do modifications in hexeditor

(http://img249.imageshack.us/img249/4308/screen8k.th.jpg) (http://img249.imageshack.us/my.php?image=screen8k.jpg)

Run the game and the letter maintained the size

(http://img529.imageshack.us/img529/9263/screen7p.th.jpg) (http://img529.imageshack.us/my.php?image=screen7p.jpg)

I need a clue to leave the font with 4 width and not to be space among the letters.

Anyone help me?
Title:
Post by: melonhead on August 21, 2009, 09:38:08 am
There is a table of widths stored in 2 files (same data in both files):So find the location and edit the byte at offset 0x3F. The old value is 0x0A and the new value is 0x04.
Title:
Post by: monicapo on August 21, 2009, 01:58:49 pm
With FFTpatcher you can change the size in graphic mode. After several test with hex editors, FFTPatcher is the best.
Title:
Post by: Arcanus on August 22, 2009, 02:33:33 am
Quote from: "melonhead"There is a table of widths stored in 2 files (same data in both files):
  • BATTLE.BIN - 0xFF0FC
  • WORLD.BIN - 0x733E0
Thanks melonhead, great help. Now I can begin the translation game. ;)


Quote from: "monicapo"With FFTpatcher you can change the size in graphic mode. After several test with hex editors, FFTPatcher is the best.

Monicapo, Rod traducciones? Is that you? With FFTpatcher I can only edit the letter, but the size is not recognized in PSP, then I have to do manually. Did you get chance size using FFTpatcher?

See ya!
Title:
Post by: monicapo on August 22, 2009, 07:41:46 am
Quote from: "Arcanus"Monicapo, Rod traducciones? Is that you? With FFTpatcher I can only edit the letter, but the size is not recognized in PSP, then I have to do manually. Did you get chance size using FFTpatcher?

Yeah! But the old "ROD Traducciones" dead long time ago.  :)  :)

==============================================

With FFTPatcher you can change a letter and the width. If you go to the FONT tab, p.e. you can go to letter 49 and you will see the width is 10, but a normal vocale is width = 4. Only you need is change this valor.