• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
March 28, 2024, 08:06:07 am

News:

Use of ePSXe before 2.0 is highly discouraged. Mednafen, RetroArch, and Duckstation are recommended for playing/testing, pSX is recommended for debugging.


Edit Ramza level...

Started by Dome, October 07, 2009, 04:09:34 pm

Dome

October 07, 2009, 04:09:34 pm Last Edit: December 31, 1969, 07:00:00 pm by Dome
I need to make Ramza join at level 99 in the second battle of the game FFT 1.3: Battle rush! for my patch
I tryed some hex editing with koko as supporter/guide, but I only obtained a lvl 53 Ramza with 50 hp...
Someone can help me?
Thanks a lot

"Be wise today so you don't cry tomorrow"

philsov

October 07, 2009, 04:30:09 pm #1 Last Edit: October 07, 2009, 04:39:10 pm by philsov
From Raz:

QuoteRamza's Pre-RawStat
For more info about raw stats, please read FFT BMG.
I'll explain what I found about Pre-RawStat.

As we already know, Ramza has male raw PA (81920) and female raw MA (81920).
The game doesn't store Ramza's initial raw PA as 81920. They store it as 81920 / 16384 = 5.

So, for example, if you want to raise Ramza's starting level to 10,
you can't just change his level to 10.
If you do that, his raw stat still at level 1, which is horrible.

You must modify his raw stat. Since we can't modify his raw stat, we'll modify his pre-rawstat.

This is Ramza's vanilla stat growth and multiplier

HPC : 11
HPM : 125
MPC : 11
MPM : 105
SpC : 95
SpM : 107
PaC : 49
PaM : 111
MaC : 48
MaM : 102

Ok, so his RawPA is 96662 at level 10. You can calculate pre-rawstat with this formula :

Pre-RawStat = [RawStat / 16384]

His pre-RawPA at level 10 = 96662 / 16384 = 5.8997802734375
Well, now this lead to problem, since we can only enter integer value, it's 5 or 6 not 5.899
Let's see,
5 will lead his rawPA to 5*16384 = 81920
6 will lead his rawPA to 6*16384 = 98304

Since his normal rawPA at level 10 is 96662,
if we enter his pre-rawPA as 5, he will receive 96662 - 81920 = 14742 rawPA nerf.
if we enter his pre-rawPA as 6, he will receive 96662 - 98304 = 1642 rawPA bonus.

Ramza will get 1638 rawPA growth everytime he levels up, so 6 as pre-rawPA is the right value,
since 5 as his pre-rawPA will cause a huge rawPA nerf.

Basically in addition to setting his level you also need to input his raw stats.  As for -where- that's another thing but hopefully kokojo knows more about that part.
Just another rebel plotting rebellion.

Dome

October 07, 2009, 04:36:24 pm #2 Last Edit: December 31, 1969, 07:00:00 pm by Dome
*_* Omg
It seems hard as hell...I dont even know where to start...

"Be wise today so you don't cry tomorrow"

philsov

October 07, 2009, 04:40:36 pm #3 Last Edit: December 31, 1969, 07:00:00 pm by philsov
it actually doesn't sound too hard.

You just need to:
a) know where ramza's pre-raw stats are located
b) know what the raw stats of a level 99 ramza are (see 454's spreadsheets <3)
c) change the pre-raw stats to correct the difference between level 1 and level 99.

If you're able to change his level, the rest of that info shouldn't be too far away.
Just another rebel plotting rebellion.

Kokojo

October 07, 2009, 04:44:48 pm #4 Last Edit: December 31, 1969, 07:00:00 pm by Kokojo
also, remember that the number are in hex, use windows calculator to see the difference (Aka 99 in hex = 153, hence your ramza level)
I keep leaving, I keep coming back. Boomerang boy.