• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
April 27, 2024, 11:38:09 am

News:

Don't be hasty to start your own mod; all our FFT modding projects are greatly understaffed! Find out how you can help in the Recruitment section or our Discord!


Error with FFTorgASM Patch: Potions restore % of HP.

Started by Koruten, May 24, 2011, 03:06:07 am

Koruten

Hi. I used FFTorgASM to patch the "Potions restore % of HP" to the iso. When I tested it, it crashes as soon as a Potion is used. I need help.
  • Modding version: Other/Unknown

Pickle Girl Fanboy

What emulator are you using?  Did you patch a fresh (otherwise unpatched) ISO or *.CUE/*.BIN or *.CDZ or whatever format your disc image is?  Did you use anything besides that hack?

Koruten

I am playing it on my Wii and on PSX and on PSXEven. No it is not a fresh IMG. I used mostly innate patches. Others were like Equip Sword = Equip Sword/ Knight Sword and such.
  • Modding version: Other/Unknown


Koruten

All Patched ASM's:
-Potion = 1 x X%, 1 x Y%, 1 x Z%
-Equip Sword = Equip sword + knight sword
-Equip Knife = Equip Katana + Ninja Blade
-Secret Hunt Innate all
-Item Innate all
-Don't need 'Secret Hunt' to enter Fur Shop
-Monster Skill Innate all
-Fix HolySword/Dark Sword glitch

  • Modding version: Other/Unknown


formerdeathcorps

May 26, 2011, 03:59:37 am #6 Last Edit: May 26, 2011, 04:05:55 am by formerdeathcorps
Quote from: Koruten on May 24, 2011, 03:06:07 am
Hi. I used FFTorgASM to patch the "Potions restore % of HP" to the iso. When I tested it, it crashes as soon as a Potion is used. I need help.


1) Which version of orgASM did you use?  The one that comes with .478 supposedly has problems.
2) His code doesn't work because he didn't account for load delay.  Let me give you a FIXED version.  Note, this may interfere with some of his hacks assigned further down the list.


BATTLE.BIN
ROM Offset 0xEC774
XXYYZZ00
1580033C
10346334
000064AC
040065AC
080066AC
1980043C
DB388490
00000000
0300852C
1500A010
00000000
1980063C
982DC68C
00000000
2A00C694
1580053C
7437A534
2128A400
0000A590
00000000
1800C500
12280000
64000434
00000000
1A00A400
12280000
00000000
2B204500
02008010
00000000
21100500
0000648C
0400658C
0800668C
1980033C
902D638C
A3280608
00000000
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.

Koruten

1) IDK what version, but it was on the main site.
2: I'll try that code out. Do I have to replace "XXYYZZ00" with my percentage?
  • Modding version: Other/Unknown

Pride

Yes that is correct. XXYYZZ are in hex, so be careful
  • Modding version: PSX
Check out my ASM thread. Who doesn't like hax?

Koruten

  • Modding version: Other/Unknown

Koruten

  • Modding version: Other/Unknown

Koruten

  • Modding version: Other/Unknown

formerdeathcorps

Quote from: Koruten on May 31, 2011, 12:52:25 am
Does anyone know how to open .bin files?


HxD is a nice free hex editor.  Another way is to copy the hex I wrote into Razele.xml (under the Potions heal HP% hack to the same offset as specified) and then repatch your ISO.  However, in any case, you have to check what comes after so you don't accidentally overwrite some other ASM (since Razele's Potion hack was wrong because it was missing blank space, so to speak).
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.


Koruten

June 01, 2011, 01:56:34 am #14 Last Edit: June 01, 2011, 01:57:10 am by Koruten
Ok, I edited the BATTLE.bin file but it still won't work. I did re-insert it into my patch. This is upsetting me alot. Can someone find the exact hex value the default patch gives?
  • Modding version: Other/Unknown

Pride

I've never used that asm but...

I think that asm compares the % of health that could be recovered and compares it to how much the item would heal with Z * 10 and takes the higher amount. If you're testing on low level units this could be a problem?
  • Modding version: PSX
Check out my ASM thread. Who doesn't like hax?

Pickle Girl Fanboy

Modify your testing disc image with FFTPatcher to give Ramza (the first Squire job) 255 HP multiplier and 0 HP growth, and use a potion on him at the battle in Gariland.

Koruten

  • Modding version: Other/Unknown