• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
April 27, 2024, 05:40:34 pm

News:

Please use .png instead of .bmp when uploading unfinished sprites to the forum!


Collection of ASM/Hex

Started by formerdeathcorps, May 18, 2010, 11:30:45 am

formerdeathcorps

January 16, 2011, 06:51:30 pm #20 Last Edit: January 19, 2011, 05:47:55 pm by formerdeathcorps
All the ASM hackers here write stuff to the Kanji table in FFT, which for a US ISO, is a waste of space.  The offset you found, Avenger, is in that section.

Blade Grasp now blocks all sharp weapons (except axes and flails) + fists + poles.
BATTLE.BIN
0x126054 change F6384290 to 564E0508
0x12605C change 0x10 to 0x20
0xEC958
D8384390
40200300
21208300
80200400
0680053C
2128A400
BD2EA490
0600842C
03008014
BD2EA490
F1FF8424
0200842C
03008014
F3384290
17340608
00000224
17340608
00000000

Blind and Confuse overrides concentrate/transparent accuracy bonus and now divides accuracy by 2.
BATTLE.BIN
0x11E328
E8FFBD27
1000BFAF
2E15060C
00000000
59000291

0x11E350
DE386324

0x11E360
32004224
000062A0

0x11E4B8
1980083C
942D088D
E8FFBD27
1000BFAF
5A000291
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.

RavenOfRazgriz

It's good to see the Blind Hack finally updated, it was one of my favorites.

The Blade Grasp blocks all Melee Range 1 weapons still works properly, yes?  I remember you saying there were flaws with at least some of the Blade Grasp hacks and was hoping to use that one, though the fact it blocks Fists does annoy me some.

Zozma

January 18, 2011, 04:26:46 pm #22 Last Edit: January 19, 2011, 04:56:37 am by Zozma
btw, Razele's ASM of making formula 2E (mighty sword) able to hit monsters for damage, but says ' " broken' is still blockable by maintenance. But it was originally supposed to inflict the hp damage on anything and treat maintenance humans like monsters by only hp damaging them.

Okay as I mentioned in chat. a formula for doing damage on multiple targets but with a backlash of a % of the casters hp as the cost for using it would be nice...
  • Modding version: Other/Unknown
Wiegraf: Draw your sword Ramza!
Ramza: But im a monk!!

Vanya

January 19, 2011, 12:28:41 pm #23 Last Edit: January 19, 2011, 12:29:14 pm by Vanya
Quote from: Zozma on January 18, 2011, 04:26:46 pm
btw, Razele's ASM of making formula 2E (mighty sword) able to hit monsters for damage, but says ' " broken' is still blockable by maintenance. But it was originally supposed to inflict the hp damage on anything and treat maintenance humans like monsters by only hp damaging them.

Okay as I mentioned in chat. a formula for doing damage on multiple targets but with a backlash of a % of the casters hp as the cost for using it would be nice...


I second that! *Looking at Cecil's sad 'Dark Wave' skill*
  • Modding version: Other/Unknown
¯\(°_0)/¯

formerdeathcorps

January 31, 2011, 05:11:44 am #24 Last Edit: February 03, 2011, 07:26:33 pm by formerdeathcorps
Some small/easy hacks.  Many of these are ideas for my patch.

Guns take bow accuracy penalty at night.
BATTLE.BIN
0x11E768
F6
0x11E76C
03



Don't Act/Deep Water cancels W/S-EV.  Don't Move cancels C/A-EV.  This is only the physical half for now.
BATTLE.BIN
0x11DFB8
06
0x11DFC0
5C008290
00000000
08004230
28004014
00000000
0x11E070
5C4D0508
0xEC570
C304060C
00000000
05004014
1980043C
982D848C
01000721
1D140608
1D008390
6D140608
00000000
0x11E40C
10



Abandon sets C-EV to 60% instead of 2x.  Intended to work with Xif's global C-EV hack and the above DM hack.
BATTLE.BIN
0x11E394
0E
0x11E3B4
06
0x11E3C0
E1
0x11E3C4
3C000234
000062A0
00000000
00000000
0x1215D0
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.

RavenOfRazgriz

How easy/hard is it to modify the C-Ev hardset of your Abandon hack?  Just change 3C to the % needed, right?  I'm on the fence as to whether I want to use that or the Abandon becomes 1.5x hack, but 60 is too high for me.  Would it be hard to make your Abandon hack go over an existing Support Skill if I tell you which ones I've no need for anymore?  Your version is basically a Support Ability now and I kinda want to use both hacks once I adjust the 60 to something that fits my balance better.

Though, since you mentioned Xif's Global C-Ev hack, could you whip up that one I spoke to you a while back about when you get some time?  It was C-Ev / W-Ev / S-Ev P / S-Ev M applies 100% of total on front, 50% on sides, 0% on back, if you forget. Just toss it over where Xif's Evasion Hack is since you said it'd be shorter.  I'd not bug you about it but it's one I'm in rather high need of and I don't always get to catch you on IRC anymore.

pokeytax

February 02, 2011, 07:11:30 am #26 Last Edit: February 02, 2011, 07:12:41 am by pokeytax
$3C = 60... I'm 90% sure that changing

0x11E3C4
3C000234

will let you set it at will, yeah.

(EDIT: Oh, I see you already know that... nevermind!)
  • Modding version: PSX

philsov

QuoteDon't Act/Deep Water cancels W/S-EV.


I... thought it already did that?
Just another rebel plotting rebellion.

The Damned

Yeah, it's good to see you're back, FDC.

Quote from: philsov on February 02, 2011, 10:13:57 am
I... thought it already did that?


I think he means only, philsov, instead of canceling C-EV and A-EV as well. That certainly would help (some) monsters.
"Sorrow cannot be abolished. It is meaningless to try." - FFX's Yunalesca

"Good and evil are relative, but being a dick cannot be allowed." - Oglaf's Thaumaturge in "The Abyss"

"Well, see, the real magic isn't believing in yourself. The real magic is manipulating people by telling them to believe in themselves. The more you believe, the less you check facts."  - Oglaf's Vanka in "Conviction"

formerdeathcorps

February 03, 2011, 06:47:44 am #29 Last Edit: February 03, 2011, 07:18:55 pm by formerdeathcorps
Oil does 2x against all fire attacks.  Razele's hack didn't include physical fire attacks, weapon attacks, and thrown items.

BATTLE.BIN
0x11FEE4
B74D050C
0xEC6DC
1980023C
982D428C
E8FFBD27
1000BFAF
5A004390
00000000
80006330
04006010
01000334
70004390
00000000
700043A0
9839060C
00000000
1000BF8F
1800BD27
0800E003
00000000



Arrow Guard has Catch's effect.  Has no compatibility problems with my other arrow guard hack.

BATTLE.BIN
0x1213FC
02
0x12145C
C4



Finger Guard can be stacked with other reaction abilities.  Doesn't work.  Better workaround is here: http://ffhacktics.com/smf/index.php?topic=1288.20.
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.

The Damned

February 03, 2011, 07:11:22 am #30 Last Edit: February 03, 2011, 07:12:03 am by The Damned
Can be stacked with other reaction abilities how? Just innately without getting in the way (for humans)? Or they can someone how be stacked on the equipment screen?

Otherwise, interesting....
"Sorrow cannot be abolished. It is meaningless to try." - FFX's Yunalesca

"Good and evil are relative, but being a dick cannot be allowed." - Oglaf's Thaumaturge in "The Abyss"

"Well, see, the real magic isn't believing in yourself. The real magic is manipulating people by telling them to believe in themselves. The more you believe, the less you check facts."  - Oglaf's Vanka in "Conviction"

formerdeathcorps

Before, with abandon, you couldn't have it and counter (as innates) because abandon would take precedence.  This is to remove that problem.

Check this thread http://ffhacktics.com/smf/index.php?topic=1288.20 for more details on the problem.
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.

formerdeathcorps

February 04, 2011, 04:54:21 am #32 Last Edit: February 04, 2011, 03:00:19 pm by formerdeathcorps
Going to double post.

Defend is +25% to A-EV during Battle.  Overrides the -25% physical damage hack because I never really liked making defend simply a weaker version of protect.
NOTE: To make this hack properly work, you should have make any status effect that cancels A-EV override Defend.  In vanilla, this would be Charging, Performing, Don't Act, Sleep, Confuse, and Stop.

BATTLE.BIN
0x11E494
DE
0x11E4A0
19004224

If you applied Razele's hack,
11F378
5B004290


Transparent is -25% to enemy C/W/S/A-EV on physical attacks.  It should properly be called "Focus" now.  It obviously only works on instant attacks, since charged attacks remove transparent before the attack goes off.  This stacks with my blind/confuse hack and hacks that allow the AI to target transparent units.

BATTLE.BIN
0x11E4E0
DC
0x11E4E4
86000234
000082A0


Items can now give negative PA/MA/SP/MV/JP.  Simply put, if you want -1 SP on armor, you type in FF for SP.
NOTE: It also sets the rollover boundary for PA/MA/SP/MV/JP at 127.  Thus, do not try making items with +/-127 PA.

SCUS_9291
0x4CEDB
80
0x4CEDF
80
0x4CEE4
20
0x4CEE8
00000000
00000000
0x4CEF4
00000000
0x4CF0F
80
0x4CF13
82
0x4CF18
20
0x4CF1C
01006228
02004010
0x4CF28
01
0x4CF33
80
0x4CF37
82
0x4CF3C
20
0x4CF40
01006228
02004010
0x4CF4C
01
0x4D07F
80
0x4D083
80
0x4D088
20
0x4D094
01006228
08004010
0x4D0A4
01
0x4D0A8
20106000
01004228
02004010
0x4D0B8
01
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.

The Damned

Rather interesting with that Defend hack. Have you noticed if it affects the AI's use of Defend? For example, will they still whore Defend even if they don't have an accessory (that provides any means of evasion)?

Also, with regards to that hack, does it only boost physical A-EV? Or does it affect magical A-EV as well?

To be honest, I'm not sure the Transparent/"Focus" hack, though that's more because of the AI and the fact that it probably doesn't help that they're still idiots about not wanting to break Transparent. It still has potential, though.
"Sorrow cannot be abolished. It is meaningless to try." - FFX's Yunalesca

"Good and evil are relative, but being a dick cannot be allowed." - Oglaf's Thaumaturge in "The Abyss"

"Well, see, the real magic isn't believing in yourself. The real magic is manipulating people by telling them to believe in themselves. The more you believe, the less you check facts."  - Oglaf's Vanka in "Conviction"

formerdeathcorps

February 04, 2011, 07:07:02 am #34 Last Edit: February 04, 2011, 07:12:57 am by formerdeathcorps
Quote from: The Damned on February 04, 2011, 06:03:06 am
Rather interesting with that Defend hack. Have you noticed if it affects the AI's use of Defend? For example, will they still whore Defend even if they don't have an accessory (that provides any means of evasion)?

It adds A-EV even if you aren't equipping a mantle.  That's the way my blind hack works too.

QuoteAlso, with regards to that hack, does it only boost physical A-EV? Or does it affect magical A-EV as well?

Yes, it does, because defend is in the magic evasion routine as well.

QuoteTo be honest, I'm not sure the Transparent/"Focus" hack, though that's more because of the AI and the fact that it probably doesn't help that they're still idiots about not wanting to break Transparent. It still has potential, though.

If you apply Razele's ASM hack, the AI will target transparent units.  The problem is that the AI puts it at top priority, right under breaking golem.
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.

The Damned

Wow, that Item one will be amazingly useful for those people who wanted to make heavy armor that gave -SP. Outside of the excellent effort beyond it, does it come at any other cost besides us just not having that much Item Attribute space?

Quote from: formerdeathcorps on February 04, 2011, 07:07:02 am
It adds A-EV even if you aren't equipping a mantle.  That's the way my blind hack works too.

Yes, it does, because defend is in the magic evasion routine as well.


I see. Thank you for the clarification.

Quote from: formerdeathcorps on February 04, 2011, 07:07:02 amIf you apply Razele's ASM hack, the AI will target transparent units.  The problem is that the AI puts it at top priority, right under breaking golem.


Oh, that's not what I meant. I apologize for the vagueness of that.

What I meant that I find it problematic that AI apparently finds Transparent so beneficial status, even when it should know that we can still "see" them, that it often refuses to act when it has Transparent. I was wondering if that had changed given that this is technically a "nerf" to Transparent.
"Sorrow cannot be abolished. It is meaningless to try." - FFX's Yunalesca

"Good and evil are relative, but being a dick cannot be allowed." - Oglaf's Thaumaturge in "The Abyss"

"Well, see, the real magic isn't believing in yourself. The real magic is manipulating people by telling them to believe in themselves. The more you believe, the less you check facts."  - Oglaf's Vanka in "Conviction"

formerdeathcorps

Quote from: The Damned on February 04, 2011, 08:02:55 am
Wow, that Item one will be amazingly useful for those people who wanted to make heavy armor that gave -SP. Outside of the excellent effort beyond it, does it come at any other cost besides us just not having that much Item Attribute space?

No.  I simply changed a few bytes.  Besides, SCUS has no free-space for me to branch to.

Quote
What I meant that I find it problematic that AI apparently finds Transparent so beneficial status, even when it should know that we can still "see" them, that it often refuses to act when it has Transparent. I was wondering if that had changed given that this is technically a "nerf" to Transparent.

I didn't know that.  If it's seriously that bad, we should do what Raven was suggesting and force Transparent, Golem, and Berserk to use normal AI code.
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.

RavenOfRazgriz

Wait, 255 is -1 SP?  So it rolls down backward to 128, 254 is -2 SP, etc?, or are your instructions on how to use the ASM just overly vague and it rolls over properly at 128 for +/- 127.

And I'm surprised you didn't do what I said yet, since it should save space and give you room to begin playing with other things in regards to the AI while fixing 3 big problems in what's probably the best possible way.

pokeytax

Quote from: RavenOfRazgriz on February 04, 2011, 02:28:33 pm
Wait, 255 is -1 SP?  So it rolls down backward to 128, 254 is -2 SP, etc?


Yes - this is how negative numbers are handled. You might also have to watch out for negative overflow issues - as long as you can't equip multiple minus-MA items in different slots, though, you should be fine.
  • Modding version: PSX

RavenOfRazgriz

I was verifying because FDC has a habit of grossly underexplaining things on a technical level.

FF is -1 for people who know negative numbers are handled that way works well to say what to do, but for people who don't it can just as easily come across as saying you can give gear -1 in a stat by giving it FF but that's all his hack does because his "-1 is FF" has no context.

Overflow issues seem like something he should test if he hasn't already.  Regardless, it's a rather useful hack since people have been wanting that utility for ages... though I actually have no intent to use it.  Plenty of others here I intend to mug, though.