• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
April 26, 2024, 08:43:55 pm

News:

Use of ePSXe before 2.0 is highly discouraged. Mednafen, RetroArch, and Duckstation are recommended for playing/testing, pSX is recommended for debugging.


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 - DeLec

1
FFTA/FFTA2 Hacking / [FFTA2] Mission Reward Hex Coding
December 05, 2020, 05:24:28 am
After looking at the data tables for the missions, I saw that the place to change the mission reward was found, but I did not find on the site how it worked. So after some experimentations I found how the reward is coded.
Each reward is strored on 4 bytes.

The last two bytes give which category is the item in, and the quantity looted :
The remainder of the euclidean division by 4 gives which part of the loot is concerned, if we follow the index of the names beginning at the address 02AA26CC (under the Text tab in the Data Tables)
- 0 are objects from 0000 to 00FF
- 1 are objects from 0100 to 01FF
- 2 are objects from 0200 to 027A with the rest filled with wyvern wings
- 3 are wyvern wings (last loot on the list) with bugged sprite and text.
The quotient of the euclidean division by 4 gives the quantity looted, from 0 to 63.

The first two bytes give the position within each category.

For example the reward coded 2F6E
6E is the hexadecimal for 110 = 27*4 + 2
Therefore, the mission will reward 27 items with the position 022F in the index, ie 27 Suspect Mushrooms.

The same apply for Missions requirement (offset 0x14 and 0x15)
2
Hello! First time here.
I was looking at the unknown flag in the ability editor below the "learnable by blue magick" flag, and by parsing through all the abilities, I found that it is unticked if the ability :
- resurects someone else
- gives the player loot (not items)
- is a skill specific to a boss (Neukhia, Demon Wall, Rafflesia, Yowie, Upsilon, Klesta and Keeper)
- is a suicide move (the user dies)
- gives charm without doing damage (except for Ljda and Cupid)
- KOes without doing damage
- Summon Allies (like Summon Pack or Wake the Dead)
- is a Beastmaster, Mirrored Item, Tomberry, Magick Pot, Esper or placeholder skill
- is one of the following skills (no patterns found) :
Cornered (blue mage)
Matra Magick (blue mage)
Transmute (Alchemist) 
Awareness (Ranger)
Limit Glove (Great Tortoise) the blue mage's Cornered (but not the tortoise's Matra Magick)
Munch (Adamantitan, Toughskin)
Purify (Malboro)
Brute Strength (Headless, Wendigo, Golem)
Helmsplitter (Wendigo, Golem)

Any ideas on what the global theme, coding logic could be ?