Qhimm.com Forums

Miscellaneous Forums => Troubleshooting => Topic started by: spy__dragon on 2015-03-26 16:25:44

Title: the widths of the narrow font
Post by: spy__dragon on 2015-03-26 16:25:44
Hello,

I don't find where exactly stored the widths of the narrow font on Final Fantasy VII PC Steam.

I know one are stored in window.bin and the other ff7.exe, but I don't know where are exactly on the exe.
Besides, I was looking documents of Reunion mod.


Regards.
Title: Re: the widths of the narrow font
Post by: DLPB_ on 2015-03-26 21:39:51
I am not sure I documented it in my files, but I removed the value that makes the font thinner and used the same font size for both menu and battle. 

FF7 original uses window.bin for both.  There is a value that it uses to scale the texture for battle and menu.  There isn't 2 sets of width values.

Also see hex documentation in Reunion... it may be there.
Actually here:

{Set menu font scaling value to be 2.0 via value
007B7CF8 = 00 00 00 40
Title: Re: the widths of the narrow font
Post by: spy__dragon on 2015-03-26 22:14:51
Hi, DLPB,

Thanks for your answer. Could you say me the value that makes which removes the font thinner or it is documented in the Hex documentation in Reunion?

This direction: 007B7CF8 = 00 00 00 40

is from english steam version?
Title: Re: the widths of the narrow font
Post by: DLPB_ on 2015-03-26 22:30:00
That is the memory address for both English 1.02 and Steam English. Making that 2.0 will make the battle menu font 2x thicker (hence 2.0) which is what you want. That's the exact change I make.

-401400

{Set menu font scaling value to be 2.0 via value
007B7CF8 = 00 00 00 40

Deduct 401400 hex to get to the exe address.

I can't remember if further changes are needed.  If so, I don't think they are documented.
Title: Re: the widths of the narrow font
Post by: spy__dragon on 2015-03-26 23:34:26
Hi, DLPB,

Thanks for your answer again. I made the changes but you said the changes make menu font 2x thicker,
but really I want the changes making menu font more thin.

Other question, what do you mean with "401400 hex to get to the exe address"?
Title: Re: the widths of the narrow font
Post by: DLPB_ on 2015-03-27 01:16:05
Use a calc to deduct 401400 from 007B7CF8  to get the exe address, and not the memory address (if you need it).

To make the font thinner, change the value from 2.0 to 1.0 or whatever.  Use an online calculator to show you the value in 4 byte hex (a SINGLE / 4 byte float).

00 00 00 40  is 2.0.
Title: Re: the widths of the narrow font
Post by: spy__dragon on 2015-03-28 16:10:10
Thanks, DLPB

We did it. ;) I have other doubt but is not concerd about the font.
Where is located values of alphabetical order items?

Regards.
Title: Re: the widths of the narrow font
Post by: DLPB_ on 2015-03-29 22:23:42
Thanks, DLPB

We did it. ;) I have other doubt but is not concerd about the font.
Where is located values of alphabetical order items?

Regards.

I don't recall, but Luksy does because ts automatically updates the table. 
Title: Re: the widths of the narrow font
Post by: spy__dragon on 2015-03-31 23:57:17
Thanks again, DLPB.

It is solvented.