Final Fantasy Hacktics

Modding => PSX FFT Hacking => Topic started by: nates1984 on January 26, 2009, 07:23:50 am

Title: Nate's ASM Hacks
Post by: nates1984 on January 26, 2009, 07:23:50 am
Attack Up bonus becomes 25%
BATTLE.BIN
Offset: 0x11F0BC
Change 5555 to 0050
Offset: 0x11F0CC
Change 5655 to 0100

Attack Up bonus becomes 20%
BATTLE.BIN
Offset: 0x11F0BC
Change 5555 to CC4C
Offset: 0x11F0CC
Change 5655 to CDCC

Magic Attack Up bonus becomes 25%
BATTLE.BIN
Offset: 0x11F220
Change 5555 to 0050
Offset: 0x11F230
Change 5655 to 0100

Magic Attack Up bonus becomes 20%
BATTLE.BIN
Offset: 0x11F220
Change 5555 to CC4C
Offset: 0x11F230
Change 5655 to CDCC

Defense Up bonus becomes 25%
BATTLE.BIN
Offset: 0x11F2E8
Change 5555 to 0050
Offset: 0x11F2F8
Change 5655 to 0100

Defense Up bonus becomes 20%
BATTLE.BIN
Offset: 0x11F2E8
Change 5555 to CC4C
Offset: 0x11F2F8
Change 5655 to CDCC

Magic Defense Up bonus becomes 25%
BATTLE.BIN
Offset: 0x11F338
Change 5555 to 0050
Offset: 0x11F348
Change 5655 to 0100

Magic Defense Up bonus becomes 20%
BATTLE.BIN
Offset: 0x11F338
Change 5555 to CC4C
Offset: 0x11F348
Change 5655 to CDCC

Remove target's faith from spell damage calculations
BATTLE.BIN
Offset: 0x1201F8
64000234
00000000

Longbow, Knife, and Ninja Blade formulas become PA*WP
BATTLE.BIN
Offset: 0x11EBA0
Change 38 to 36

Crossbow formula becomes WP*WP
BATTLE.BIN
Offset: 0x11EB4C
00000000
71520508
Offset: 0xED9C4
0B000234
02006210
D0382290
D5160608
CE3822A0
20170608
00000000

Rod formula becomes MA*WP Updated
BATTLE.BIN
Offset: 0x11EB54
00000000
78520508
Offset: 0xED9EO
07000234
02006210
942D2290
D7160608
37002290
CE3822A0
20170608
00000000

Pole (Stick) formula becomes PA*WP
BATTLE.BIN
Offset: 0x11EC0E
Change 26 to 30

Instrument, Dictionary, and Cloth formulas become MA*WP
BATTLE.BIN
Offset: 0x11EC72
Change 0202 to 4200

Bag formula becomes PA*WP
BATTLE.BIN
Offset: 0x11EC24
00000000
80520508
Offset: 0xEDA00
11000234
03006210
00000000
16170608
F3FF8224
DA160608
00000000

Cloth formula becomes... "axe formula"
Note: Overrides changes done to Cloths in the "Instrument, Dictionary, and Cloth formulas become MA*WP" hack
BATTLE.BIN
Offset: 0x11EC64
00000000
87520508
Offset: 0xEDA1C
12000234
03006210
00000000
20170608
FF00C230
0C170608
00000000
Title:
Post by: Archael on January 26, 2009, 08:30:07 am
Remove target's faith from spell damage calculations


that's pretty damn useful gj
Title:
Post by: Dokurider on January 26, 2009, 11:28:57 am
QuoteAttack Up bonus becomes 25%
BATTLE.BIN
Offset: 0x11F0BC
Change 5555 to 0050
Offset: 0x11F0CC
Change 5655 to 0100

Doesn't Attack Up already do that?
Title:
Post by: Vanya on January 26, 2009, 11:30:42 am
Nice job so far, dude. It's great to have another talented ASM hacker in the community. ^_^

Can I request some weapon formula changes? ^_^
Title:
Post by: Archael on January 26, 2009, 01:53:04 pm
Quote from: "Dokurider"
QuoteAttack Up bonus becomes 25%
BATTLE.BIN
Offset: 0x11F0BC
Change 5555 to 0050
Offset: 0x11F0CC
Change 5655 to 0100

Doesn't Attack Up already do that?

No

Default Attack UP increases physical damage by 33%
Title:
Post by: Dokurider on January 26, 2009, 02:31:32 pm
Whoops, you're right.
Title:
Post by: nates1984 on January 26, 2009, 06:46:15 pm
QuoteCan I request some weapon formula changes? ^_^

Yeah, sure.
Title:
Post by: Vanya on January 26, 2009, 09:20:16 pm
Cool. I'm not sure how difficult these are so I'll just list them all and let you choose what to do.

Katana (PA*(Brave/100))*WP) ---> PA*WP
Note: Zodiac did this for Knight Swords, but I don't know if it affected katana.

Rods (PA*WP) ---> (MA*WP)

Crossbows (PA*WP) ---> (WP*WP)

Instruments & Books (((PA+MA)/2)*WP) ---> (MA*WP)

Poles (MA*WP) ---> (PA*WP)
Note: I mean Poles, not Spears.

Bags (Axe Formula) --->(PA*WP)

Cloths ((((PA+MA)/2)*WP) ---> (Axe Formula)

Thanks! ^_^
Title:
Post by: Xifanie on January 26, 2009, 09:32:59 pm
here you go

nates1984
BATTLE.BIN 0x000ED9C4 - 0x000EE7FB
WORLD.BIN 0x000DA9F8 - 0x000DB82F
Title:
Post by: nates1984 on January 27, 2009, 12:02:55 am
Thanks Zodiac.

QuoteKatana (PA*(Brave/100))*WP) ---> PA*WP
Note: Zodiac did this for Knight Swords, but I don't know if it affected katana.

Yep, it changes Katanas to PA*WP. It also changes Monks bare-handed attacks to PA*PA I think. It does effect bare-handed attacks as well, I'm just guessing it's PA*PA, I didn't do any testing on it since Monks aren't even going to be in my patch.

Nothing you requested should be a problem, but the middle of the week is hectic for me with school and shit, plus it seems teachers like to hand out assignments on Tuesday that are due two days later on Thursdays, so usually Tuesday, Wednesday, and Thursday are school onry, but I'll get them done over the weekend.
Title:
Post by: Vanya on January 27, 2009, 09:25:32 am
That's cool, dude. There's no rush. I usually have programming assignments due on Tuesdays and Fridays so I understand perfectly. Thanks again! ^_^
Title:
Post by: nates1984 on January 29, 2009, 01:43:08 am
QuoteRods (PA*WP) ---> (MA*WP)

Crossbows (PA*WP) ---> (WP*WP)

Poles (MA*WP) ---> (PA*WP)
Note: I mean Poles, not Spears.

Done.

The instruments/books one is pretty much done too, I just want to make sure I can't find a better way to do it first. The rest will come pretty quickly too, while I was tinkering with instruments I came across the areas I'd look for first for bags and cloths, so half the work for those are done.
Title:
Post by: Vanya on January 29, 2009, 10:23:17 am
Sweet! Thanks! ^_^
Title:
Post by: nates1984 on January 29, 2009, 06:05:02 pm
Vanya, I made a mistake with the Rod formula, a rather bad one I think. =X

Old: DA160608

New: D7160608

Change DA to D7, I've updated my first post, but I wanted to make sure Vanya noticed. =P
Title:
Post by: The Damned on January 29, 2009, 07:00:14 pm
Seeing this thread being bumped a lot recently made me think of something regarding the "doesn't take enemy's faith into account" hack: Doesn't that kind of screw over Innocent status?
Title:
Post by: FFMaster on January 29, 2009, 07:38:11 pm
Not exactly. If you aim innocent on the caster, it can still be useful. The caster's faith is still important.
Title:
Post by: The Damned on January 29, 2009, 11:54:37 pm
Well, I thought about that as well, so I know that Innocent isn't like completely useless.

However, for the most part, when I use Innocent, it's on myself when I'm advancing towards a magical enemy since most magical enemies are relatively frail and I would likely have a better chance of killing them outright than disabling (maybe only) their Primary via a 60% chance at Doubt Faith.

That may just be me, though.

(This is the same reason that I didn't complain about Faith not really doing crap to enemies as well since for the most part, people would Faith themselves rather than try to cast it on the enemy.)
Title:
Post by: Vanya on January 30, 2009, 12:00:48 am
I like the idea of messing with faith in this manner. I think it'll make the game more balanced to not be able to use innocent as defense. On the same note would this particular hack not make faith a more solid buff for magic users? ^_^
Title:
Post by: Desocupado on January 30, 2009, 07:15:21 am
May I suggest some evasion changes?
1 - Job's Class Evade affecting both physical and magical evasion.
2 - Job's Class Evade working against side attacks. (i.e. not only frontal)
Title:
Post by: Skip Sandwich on January 30, 2009, 11:56:09 am
I think zodiac already did a global class defense mod, where 100% of the class defense applied against physical attacks from the front, 50% of the class evasion applied to side attacks, and 25% of the class evasion applied to rear attacks.
Title:
Post by: nates1984 on January 30, 2009, 03:51:00 pm
QuoteSeeing this thread being bumped a lot recently made me think of something regarding the "doesn't take enemy's faith into account" hack: Doesn't that kind of screw over Innocent status?

Yea, you can't hide from magical attacks using innocence, you can't roll a bunch of units with low faith and expect it to do some good either. Faith is like brave now, the higher the better. Eventually I'd like to put some time into changing some reactions like Counter Magic to be based on faith rather then brave.

QuoteMay I suggest some evasion changes?
1 - Job's Class Evade affecting both physical and magical evasion.
2 - Job's Class Evade working against side attacks. (i.e. not only frontal)

Like skip said, Zodiac already did 2, but 1 isn't such a bad idea. I'll look into it after I finish up Vanya's and Asmo's requests.
Title:
Post by: Dokurider on January 30, 2009, 04:22:32 pm
QuoteYea, you can't hide from magical attacks using innocence, you can't roll a bunch of units with low faith and expect it to do some good either. Faith is like brave now, the higher the better. Eventually I'd like to put some time into changing some reactions like Counter Magic to be based on faith rather then brave.
Excellent.
Title:
Post by: nates1984 on January 30, 2009, 06:03:27 pm
QuoteInstruments & Books (((PA+MA)/2)*WP) ---> (MA*WP)

Bags (Axe Formula) --->(PA*WP)

Cloths ((((PA+MA)/2)*WP) ---> (Axe Formula)

Done.
Title:
Post by: Vanya on January 31, 2009, 11:41:58 am
Cool! Thanks a lot for your l33t ski11z, dood! ^_^

I have an idea I'd like to run by you. Since you have designated space to put new code, is it possible to add new formulas in the empty spots on the list?

Either way I'd like to request, if you have the time for it, 3 formula changes. ^_^
1E --> Dmg_(PA*Y) #Hit_(Rdm {1,X})
1F --> Dmg_F(MA*Y) #Hit_(Rdm {1,X})
5C or 5D --> 100% Cast spell Indexed As Status NS EDIT

I'm not sure if there's enough room for 5C. That's why I inquired about adding new formulas. I guess it depends on how they're indexed, right? If they use a simple pointer table, it shouldn't be very difficult, I guess.

Anyway, thanks again! ^_^


BTW...
QuoteNote: Overrides changes done to Cloths in the "Instrument, Dictionary, and Cloth formulas become MA*WP" hack

That just affects the cloths?
Title:
Post by: nates1984 on February 01, 2009, 06:16:23 am
QuoteThat just affects the cloths?

Yeah, just cloths.

QuoteSince you have designated space to put new code, is it possible to add new formulas in the empty spots on the list?

Empty spots? You mean like 18, 19, 46, ect? I don't know. I've never set an ability to one of them to see what happens. It's a good question that I don't have an answer to at the moment.

Quote1E --> Dmg_(PA*Y) #Hit_(Rdm {1,X})
1F --> Dmg_F(MA*Y) #Hit_(Rdm {1,X})
5C --> Dmg_[Weapon] 100% Cast spell Indexed As Status NS

The first two shouldn't pose much of a problem. The third, well, if I can piggyback off 02 and find an easy way to change the percentage without altering 02 that should be easy as well, but if I have to write a bunch of new code it'll probably take me awhile.

It'll be awhile until I can get to 'em though, I got a couple other things I have to do (or, well, attempt), and I wouldn't be surprised if one of them ate up two or three days. The first two look pretty easy though, I could probably bang 'em out before Tuesday rolls along.
Title:
Post by: Vanya on February 01, 2009, 09:54:43 am
QuoteThe first two shouldn't pose much of a problem. The third, well, if I can piggyback off 02 and find an easy way to change the percentage without altering 02 that should be easy as well, but if I have to write a bunch of new code it'll probably take me awhile.

It'll be awhile until I can get to 'em though, I got a couple other things I have to do (or, well, attempt), and I wouldn't be surprised if one of them ate up two or three days. The first two look pretty easy though, I could probably bang 'em out before Tuesday rolls along.

Interesting idea. The actual percentage is hard-coded, so maybe you could rearrange 02 to load the value from a memory address instead and then just change it when appropriate for each version of the formula?

There's no hurry at all for these. Take as much time as you need. I'm still in the process of cobbling together a new computer since I think I screwed my BIOS completely. ^_^
Title:
Post by: Zozma on February 03, 2009, 11:34:57 am
Quote from: "Vanya"5C --> Dmg_[Weapon] 100% Cast spell Indexed As Status NS

i second this one, i really really need it...... lol

another id really like to see..

5D --> 100% Cast spell indexed as status NS
(nothing else, not doing any sort of damage or anything on its own. kind of like the elemental guns but giving you the option to choose the ability you want)
Title:
Post by: Vanya on February 03, 2009, 03:05:38 pm
Quote from: "Zozma"another id really like to see..

5D --> 100% Cast spell indexed as status NS
(nothing else, not doing any sort of damage or anything on its own. kind of like the elemental guns but giving you the option to choose the ability you want)

If that formula were used with a weapon wouldn't it do 0 damage? Since weapons have X & Y values of 0 by default...

Maybe something like this would work better?:

Dmg_(MA+Z) 100% Cast spell indexed as status NS

Plus, I don't think formula 5D is big enough to house it.
Title:
Post by: Zozma on February 03, 2009, 03:40:23 pm
Quote from: "Vanya"
Quote from: "Zozma"another id really like to see..

5D --> 100% Cast spell indexed as status NS
(nothing else, not doing any sort of damage or anything on its own. kind of like the elemental guns but giving you the option to choose the ability you want)

If that formula were used with a weapon wouldn't it do 0 damage? Since weapons have X & Y values of 0 by default...

Maybe something like this would work better?:

Dmg_(MA+Z) 100% Cast spell indexed as status NS

Plus, I don't think formula 5D is big enough to house it.

no vanya, it should do exactly what say a glacial gun would do, where the damage is actually just the spell itself.
Title:
Post by: Vanya on February 03, 2009, 08:04:18 pm
OK-ies! If that's the case then I'd rather have it that way. I'll even edit the post I made with my request. ^_^
Title:
Post by: Zozma on February 05, 2009, 09:16:38 am
this one might be easier to do right away than the formula 4C and 4D edits...

could you make Blind status reduce hit rate of everything including spells by 50% ?
Title:
Post by: Dokurider on February 07, 2009, 05:39:03 pm
Question: If Knight Swords are changed from (100*PA)*WP to just a PA*WP formula, will that enable poaching again?
Title:
Post by: Archael on February 07, 2009, 06:57:40 pm
Quote from: "Dokurider"Question: If Knight Swords are changed from (100*PA)*WP to just a PA*WP formula, will that enable poaching again?

yes!

wait..

is the ASM formula treated as a weapon formula?

if so yes

else

no
Title:
Post by: Vanya on February 11, 2009, 12:02:34 pm
It should be, yes. From what I can tell ASM hack was just to redirect Knight Swords to use the sword weapon formula. But I guess only Nate knows for sure.
Title:
Post by: Dokurider on February 11, 2009, 04:08:48 pm
I'd test it myself, but even if I knew how to apply ASM, my computer's broke.
Title:
Post by: Archael on February 11, 2009, 07:16:36 pm
Quote from: "Vanya"It should be, yes. From what I can tell ASM hack was just to redirect Knight Swords to use the sword weapon formula. But I guess only Nate knows for sure.

yeah it makes sense
Title:
Post by: Kokojo on February 13, 2009, 07:23:23 pm
May i ask for a special 100% status hit heal formula ?

I would want to have a add : Death Sentence afther a heal thecnique for a Blood Knight ability.

Any Heal formula but 35 can do, thanks, if possible.
Title:
Post by: Skip Sandwich on February 14, 2009, 12:59:27 pm
doesn't the revive formula already add status at 100%? or do you need one that isn't percentage based?
Title:
Post by: nates1984 on February 18, 2009, 12:19:21 pm
QuoteEither way I'd like to request, if you have the time for it, 3 formula changes. ^_^
1E --> Dmg_(PA*Y) #Hit_(Rdm {1,X})
1F --> Dmg_F(MA*Y) #Hit_(Rdm {1,X})
5C or 5D --> 100% Cast spell Indexed As Status NS EDIT
QuoteMay i ask for a special 100% status hit heal formula ?

I would want to have a add : Death Sentence afther a heal thecnique for a Blood Knight ability.

Any Heal formula but 35 can do, thanks, if possible.

QuoteQuestion: If Knight Swords are changed from (100*PA)*WP to just a PA*WP formula, will that enable poaching again?

I wouldn't be surprised if it was a separate calculation.

I have many hobbies, typically something has to give when I philosophize. There are things due, and philosophy drains a lot of my intellectual capacity.


Thy FFT hobby, you shan't be forgotten; dusky winds will bring thyself here once again in futures time. Light load on thy summer days, the warm summer winds will send me direction if nothing else lends me its platform to travel.
Title:
Post by: Vanya on February 18, 2009, 12:28:03 pm
Yeah, I'm like locked into school work, real work, and 8-bit ASM hacking right now myself. I really haven't touched FFT in like a month or so. ^_^
Title:
Post by: Zozma on February 19, 2009, 06:48:22 pm
also, if there are any more seperate dragon fromulas' or something...

i really need these....

Damage = PA*Y
Heal = PA*Y
Heal = PA(WP+Y) Damage Caster (PA(WP+Y)

Blind sets accuracy to 50% for all skills
Title:
Post by: samuchan on February 19, 2009, 09:07:18 pm
Quote from: "Zozma"Blind sets accuracy to 50% for all skills
What if % was under 50 to begin with?
QuoteBlind cuts accuracy % in half.
Fixed.
Title:
Post by: Zozma on February 19, 2009, 09:15:19 pm
hell, if blind set accuracy to 50% to begin with then it needs to be more like set it to 10%
Title:
Post by: ronan on November 27, 2009, 07:21:18 am
I have added the hacks on the wiki. Feel free to edit them.
Title:
Post by: Xifanie on November 27, 2009, 07:34:24 am
QuoteBlind doubles physical evasion
Fixed.