• Welcome to Final Fantasy Hacktics. Please login or sign up.
May 21, 2022, 06:19:33 am


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

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Orkney

PSX FFT Hacking / A hack saving place in SCUS
January 19, 2022, 04:44:12 pm
Hi everyone,

I rewrite the routine setting rotation matrix elements to GTE. Three_Angle_Sine_and_Cosine_Maths
The routine is 9 lines shorter and free 3646 words entries in SCUS. from 0x8002ce6c to 0x8002fee4
PSX FFT Hacking / FFTP Status conditionnal formulas
July 29, 2021, 04:29:05 pm

Here is my first patch attempt : FFTPatcher status conditional formulas.

This hack allow to set conditional statuses for any formula. To do so you'll have to check the box under learn on hit.
Once checked the routine will check Ability X value and will check if the statuses present in the Inflict status table (matching X value) are on the target. If Yes the formula keep going if not, it's a miss.
NB : if the chance to learn end by 01 The hack will take Ability Y as Status ID.

By default one of the statuses is enough, but if you check the bottom box of the status type (value 0x01 while all or nothing is 0x80) all the statuses are necessary.
If The 0x02 box is checked, then the conditional status will be deleted
If the 0x04 box is checked, then the conditional status will be copy on the caster. If both are checked, it'll look like an absorption

The formula that add statuses should work normaly (so this hack is a solution for necromancy - conditional death canceled and then add undead). To do so i had to hack the 0x80184B24 routine (* see notes)

If the formula is absorbed (elemental) reversed (undead) or nullified, the conditional status will not be canceled nor absorbed.
I've hacked the undead reversal formula (** see notes)

This hack use Kanji space (the very same place that in Xif video, because i know nothing about kanji space yet)
I attached the xml (made with Xif sheet) and the sheet (allowing to move the location of the used kanji space if necessary).

I do this very slowly, having few time (like many :) ), and i tried to check everything before releasing it, but i don't check it the hard way (not every status in every situation) just every function (with immortal, mounted innate etc .. units). I hope it will do the job. If you find bugs, i'll try to fix them (but again, slowly).

Thanks for all the people around here , their tutorials and all the wiki infos, for allowing me to do this. It kept me busy in hard times. Special thanks to Xif for it's video tutorial that make me feel i can do this.

NB : this is a milestone. I intend to implement other functions (patcher friendly) and rework the formula system. I hope it'll save enough space to not use kanji space.

*note 1 : i hack the formula to alter the "can't stack on" part, so it'll ignore the conditional statuses that are going to be canceled (and freed 34 lines)
**note 2 : i add some lines so if the formula is undead reversed it'll have the special flags 0x10 in current action special flags 2 (not used or unknowed ... nothing bad happened)
Help! / Modifying FFTPatcher ressources
January 24, 2021, 03:47:51 pm

I've tried to edit an ability name in the ressources folder (generated by FFTPatcher), but it seems it's not working at all...
I 've failed to find a post that explain this in details.

I've found the xml file in the subfolder PSX-US/Ability but what next ? I've to import the file back ? Just zip the ressource folder back ?

Help! / Brainstorming faith and brave revisited
January 23, 2021, 03:36:07 pm
Hi !

There's something I have in mind...

I've always been a bit frustrated to end up with the same team at every FFT run. A bunch of badasses with top brave and either top faith or minimal faith.

I like to imagine a system where having minimal brave could be an advantage (other than finding objects on the maps). It would require a lot of ASM coding, but also find something other than bravery and faith as stats name.

For bravery, I was leaning towards a couple of aggressivity/control.
- Above 50 a character would be aggressive and could receive bonuses for damage and certain offensive techniques. (and defensive maluses)
- Below 50 the character would have more control and would receive bonuses in hits, parry/blocking and certain defensive/monk/thief techniques. (and offensive maluses)

For the faith I imagined a couple of concentration/instinct.
- Above 50 the character would receive bonuses for the classic school of magic (= able to memorise and cast spells in the middle of the battlefield to the detriment of his sense of observation)
- Below 50 the character is instinctive and would gain bonuses in dodging (or even reduce the dodge of others) and would receive bonuses in "shamanic" magic (geomancer?).
This would suit Malak and Rafa quite well.

I'm not very satisfied with the terms I found (mainly concentration/instinct).
If someone has a an idea, I'm curious.
If someone has other ideas on how to change this faith/bravery system I am very curious !

Bugs and Suggestions / Return location in the wiki
January 15, 2021, 03:08:32 pm
Hi !

I'm a bit lost,

I started to complete the wiki while I was consulting its pages. Not very complicated things, putting links and filling in return locations.

I've just noticed that there are several ways of doing things (which may not be a good thing).
Sometimes it is the first line of the formula/routine that is indicated, sometimes it is the exact line of the return that is indicated .

I can understand both ways, but I can't say which one is more appropriate... Is there a place where the writing rules are detailed or do we just have to rely on common sense?

Help! / ASM understanding
January 10, 2021, 04:01:49 pm

I'm trying to write some ASM formulas, and i run into this code (in formula 15)

001891d0: 3402007f ori r2,r0,0x007f
001891d4: 3c038019 lui r3,0x8019
001891d8: 8c632d90 lw r3,0x2d90(r3) r3 = target current action data pointer
001891dc: 00000000 nop
001891e0: a0620013 sb r2,0x0013(r3)  Set target CT to -127.
001891e4: 3c038019 lui r3,0x8019
001891e8: 8c632d90 lw r3,0x2d90(r3)
001891ec: 34020001 ori r2,r0,0x0001
001891f0: a0620025 sb r2,0x0025(r3) 

I understand what it does, but i'm wondering, why there is two sequences ending to lw r3, 0x2d90(r3) ? r3 is not modified by the command sb r2 0x0013(r3) does it ?

Probably a dumb question...
Bugs and Suggestions / Some small problems on the wiki
December 27, 2020, 01:28:08 pm

I spent some time on the wiki exploring the formulas, and I found some small problems.

1/ Some routines are missing from the page Routines location.

001876e4 : https://ffhacktics.com/wiki/Store_Reaction/Proc_ID_and_Target

00185d00 : https://ffhacktics.com/wiki/Store_PA_and_PA_+_Y_/_2

00188888 : https://ffhacktics.com/wiki/00188888_-_00188960 (pointed as Calculate Accuracy as User Faith * (MA + X)%)
from formula 1_4)

2/Some dulicate links

0013b590 :  accessible as https://ffhacktics.com/wiki/Get_Script_Variable from the routine location page, but still accessible from https://ffhacktics.com/wiki/0018e660_-_0018e6b4 as unknown_1. In unknown_1 there is a link that is supposed to go to 13b644 but in the page the code starts again at 13b590)

0018433c - two links accessible from the routine page, one of the links (here) specifies 2 return locations that I have not been able to find. The return location 00184360 is not present.

I hope that these are really anomalies, and not just a lack of competence on my part...

Edited the 29/12/20 : wrong first link for 0013b590
Hacking/Patching Tools / Formula mapping
December 19, 2020, 11:45:11 am
Hi everybody. (and sorry for the poor english)

I'm submitting an excel sheet at an alpha stage, but quite functionnaly. Mostly because i'm losing faith in this project.

At the beginning i want to learn ASM hacking, and i was very pleased by Xifanie videos tutorial. But at a moment in the video, she's looking for a formula that will fit her project (physical damage). At this stage i ask myself how will i pick the good formula for my own project. I start digging in the wiki and a went quite lost.

So i decided to make a sheet with all the formulas in order to quickly know when a formula his affected by zodiac compatibility, elemental modification, physical damage reduction etc...

I've a hard time doing it and i decided to start a map. I went quite mad about it (jal jal jal, then vba vba vba)

Today all the formulas and the routine are on the sheet, they are connected to each other. Even if the very right of the sheet is not clean (because those are the unknown routines, so i was less motivated)
-There is an arrow on each of them that link to the wiki of each of them.
-When you click on a formula/routine, all the non connected routines vanish (if not, the sheet is not usable)
-If you click again on the same routine the sheet return to it base stage (the "what the f...?" stage)
-If you click on another routine (visible so connected to the first) it will either reboot the visible routine (as if you click it at the first time) or either add to the visible routines all those which are connected to the one you just click (i'm quite sure i'm mad at this time). If the word "ADD" is in the cell B1 you'll be in the second case.

I was planning to add another function to color the formulas and routines.
I tried to keep the routine in the order they are called. (that why some link are colored or not). It's probably not totaly acurate at this time.
There are probably some bug too (with connectors to nothing, because missnamed some of the connector (there are a lot of them !!!)
The VBA is probably not ultra efficient (mostly the remaping of the shape) and it could take a few seconds to work - mostly with the first formulas)
And the présence of arrow or not on the links, looks totaly random.

At this stage, i need to know if i'm trying to do something that will help to ASM coding formulas or if i'm (definitively) loosing my time here... Maybe some suggestions will help me to move on this project (or drop it)

Here is an image of what happen when you click on the formula 0C

I was drive to put the routines on different column to avoid multiple link direction, the the jal always go to the right (not true at the very right, but it's understandable i guess)

Help! / ASM : All formulas can inflict status ???
May 26, 2020, 01:54:02 am
Hi !

I'm confused, i'm pretty sure that i saw ,somewhere in the forum,an ASM hack allowing all formulas to inflict status.

I spend a few hours yesterday trying to find it again... It's drive me crazy.

Did i dream this hack ?