• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
April 23, 2024, 03:15:08 pm

News:

Please use .png instead of .bmp when uploading unfinished sprites to the forum!


How to resize VWF font?

Started by Arcanus, August 21, 2009, 05:20:04 am

Arcanus

August 21, 2009, 05:20:04 am Last Edit: December 31, 1969, 07:00:00 pm by Arcanus
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)



I do modifications in hexeditor



Run the game and the letter maintained the size



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

Anyone help me?

melonhead

August 21, 2009, 09:38:08 am #1 Last Edit: December 31, 1969, 07:00:00 pm by melonhead
There is a table of widths stored in 2 files (same data in both files):
  • BATTLE.BIN - 0xFF0FC
  • WORLD.BIN - 0x733E0
So find the location and edit the byte at offset 0x3F. The old value is 0x0A and the new value is 0x04.

monicapo

August 21, 2009, 01:58:49 pm #2 Last Edit: December 31, 1969, 07:00:00 pm by monicapo
With FFTpatcher you can change the size in graphic mode. After several test with hex editors, FFTPatcher is the best.

Arcanus

August 22, 2009, 02:33:33 am #3 Last Edit: December 31, 1969, 07:00:00 pm by Arcanus
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!

monicapo

August 22, 2009, 07:41:46 am #4 Last Edit: December 31, 1969, 07:00:00 pm by monicapo
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.