• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
March 29, 2024, 11:59:36 am

About Blank Formula

Started by stardragoon9, September 09, 2018, 04:07:20 am

stardragoon9

September 09, 2018, 04:07:20 am Last Edit: September 09, 2018, 10:17:40 am by stardragoon9
Formula 11,13,18,19,46 are blank formula that could be customized with ASM hack to create new formula(I assume,not sure)

Are formulas after 64(starting with formula 65 which do not have "blank" named) also able to be customized?

PSX version
  • Modding version: PSX

Rfh

Yes, it can be done. You just need to repoint the routine of 11,13,18,19,46 that is only:

jr r31
nop

to some free space and write your formula. Glain made an ASM that makes Formula 11: Damage = MA * (WP+Y). You can check it here: http://ffhacktics.com/smf/index.php?topic=7864.0


IIRC there is no allocated space for formulas >= 65, so it should involve some tricky ASM with formula call routine.
  • Modding version: PSX
  • Discord username: rfh

stardragoon9

Quote from: Rfh on September 09, 2018, 08:16:00 am
Yes, it can be done. You just need to repoint the routine of 11,13,18,19,46 that is only:

jr r31
nop

to some free space and write your formula. Glain made an ASM that makes Formula 11: Damage = MA * (WP+Y). You can check it here: http://ffhacktics.com/smf/index.php?topic=7864.0


IIRC there is no allocated space for formulas >= 65, so it should involve some tricky ASM with formula call routine.


Thank you
  • Modding version: PSX

stardragoon9

Quote from: Rfh on September 09, 2018, 08:16:00 am
Yes, it can be done. You just need to repoint the routine of 11,13,18,19,46 that is only:

jr r31
nop

to some free space and write your formula. Glain made an ASM that makes Formula 11: Damage = MA * (WP+Y). You can check it here: http://ffhacktics.com/smf/index.php?topic=7864.0


IIRC there is no allocated space for formulas >= 65, so it should involve some tricky ASM with formula call routine.


Hi Rfh i have some addtional question to ask.

How to repoint the routine of blank formula to free space?And How to determine where the free space are?
  • Modding version: PSX

Raijinili

Simply jump to the other address. If your routine starts at 00abcdef, then do:
j 00abcdef
nop


If you use jal instead, you'll likely cause an infinite loop, since you modify r31 without first saving its previous value.

I can't tell you how to find free space. There are probably guides. Look for them.
  • Modding version: Other/Unknown