• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
June 15, 2024, 08:01:02 pm

WOTL asm?

Started by drbretto, January 30, 2012, 01:18:08 pm



formerdeathcorps

March 23, 2012, 01:55:09 pm #22 Last Edit: March 23, 2012, 02:11:36 pm by formerdeathcorps
For the doubters, you can see the WotL routine at the offset Raven gave yourself: it is indeed that of shell.

lui r2,0x8019
lw r2,0x0d64(r2)
nop
lbu r2,0x005b(r2)
nop
andi r2,r2,0x0010
beq r2,r0,0x0011d478
lui r2,0x5555
lui r4,0x8019
addiu r4,r4,0x189a
lh r3,0x0000(r4)
ori r2,r2,0x5556
sll r3,r3,0x01
mult r3,r2
sra r3,r3,0x1f
mfhi r2
subu r2,r2,r3
sh r2,0x0000(r4)
lui r2,0x8019
lw r2,0x0d64(r2)
nop
lbu r2,0x005a(r2)
nop
andi r2,r2,0x0006
beq r2,r0,0x0011d4c0
nop
lui r4,0x8019
addiu r4,r4,0x189a
lh r3,0x0000(r4)
nop
sll r2,r3,0x01
addu r2,r2,r3
srl r3,r2,0x1f
addu r2,r2,r3
sra r2,r2,0x01
sh r2,0x0000(r4)
jr r31
nop


However, the problem with just C/Ping code from FFT-PSX should be apparent: the unit BATTLE.BIN offset table used for formula hacking in WotL is also in another place.  Thus, for someone to properly transcribe any PSX hack, they need to change every single load and jump command to load the correct offset.  Also, since oil already works in WotL, we only need the part on float.  Thus, the following should be correct:


<Patch name="Float weak against Wind">
    <Location file="BATTLE_BIN" offset="11D430">654B0508</Location>
    <Location file="BATTLE_BIN" offset="0EBD94">
      640D438C
      00000000
      5A006390
      00000000
      40006430
      03008014
      00000000
      CF4D0508
      00000000
      C3184490
      00000000
      10008430
      03008014
      00000000
      CF4D0508
      00000000
      9A184384
      00000000
      40180300
      9A1843A4
      0D110608
      640D428C
    </Location>


Seriously, we need to automate this process and incorporate it into the next orgASM.
The destruction of the will is the rape of the mind.
The dogmas of every era are nothing but the fantasies of those in power; their dreams are our waking nightmares.

drbretto

Just now saw this post. I tested it though. It still doesn't work :(

formerdeathcorps

What attack did you test?  When it didn't work, did the game freeze?
The destruction of the will is the rape of the mind.
The dogmas of every era are nothing but the fantasies of those in power; their dreams are our waking nightmares.

drbretto

an attack I made up that I was testing oil with (which works).

No crash. Just no effect.

formerdeathcorps

This hack I just made has nothing to do with oil.  It doubles wind elemental damage against float.
The destruction of the will is the rape of the mind.
The dogmas of every era are nothing but the fantasies of those in power; their dreams are our waking nightmares.

drbretto

I know...

But it was the same ability that I was using to test oil before, meaning it's magic based and should work with air elemental. Which it does not.

formerdeathcorps

Can you post a screenshot of FFT Patcher with the specified spell?  Also, this may seem absurd, but can you try flagging your spell as earth elemental?
The destruction of the will is the rape of the mind.
The dogmas of every era are nothing but the fantasies of those in power; their dreams are our waking nightmares.