Please login or register.

Login with username, password and session length
Advanced search  

News:

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

About Blank Formula  (Read 357 times)
Pages: [1]
stardragoon9 [Posts: 48]
  • View Profile
  • share
  • [September 09, 2018, 08:07:20 AM]
About Blank Formula
« on: September 09, 2018, 08:07:20 AM »
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
« Last Edit: September 09, 2018, 02:17:40 PM by stardragoon9 »
    • Modding version: PSX
  • Physics student
    Rfh [Posts: 288]
    • View Profile
    • share
    • [September 09, 2018, 12:16:00 PM]
    Re: About Blank Formula
    « Reply #1 on: September 09, 2018, 12:16:00 PM »
    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.
    stardragoon9 [Posts: 48]
    • View Profile
    • share
    • [September 09, 2018, 02:15:28 PM]
    Re: About Blank Formula
    « Reply #2 on: September 09, 2018, 02:15:28 PM »
    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
    stardragoon9 [Posts: 48]
    • View Profile
    • share
    • [September 12, 2018, 12:27:18 PM]
    Re: About Blank Formula
    « Reply #3 on: September 12, 2018, 12:27:18 PM »
    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?
    Raijinili [Posts: 85]
    • View Profile
    • share
    • [November 22, 2018, 02:06:31 AM]
    Re: About Blank Formula
    « Reply #4 on: November 22, 2018, 02:06:31 AM »
    Simply jump to the other address. If your routine starts at 00abcdef, then do:
    Code: [Select]
    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.
    Pages: [1]