hello qhimm forums and better final fantasy lovers , i will make my post about my self brief i have two main things i want to ask and then ill post the info i have got first is
1.how do you decipher hex codes in the dat file
2.second The most important and i really hope someone answer me on this one "'How do you insert new codes into the AI section without messing the dat file and corrupt it''
ok here is the thing i have send many messages to random_npc and londonRayW and the result is this it might help you into coding AI data Credit goes to them
Random npc wrote
Yeah. How do you find section 7 and 8. I should have told you about offsets.
In fact, those sections are given at the very beginning of the file. If you take bitebug :
0B __ __ __ 34 __ __ __ 54 05 __ __ F0 35 __ __
48 6F __ __ 48 6F __ __ 5C 71 __ __ E4 71 __ __
60 73 __ __ E4 74 __ __ D4 76 __ __ B4 BA __ __
E0 FC __ __
34 __ __ __ is start of first section
E0 FC __ __ is end of file.
E4 71 __ __ is section 7 with stats that Ifrit can edit, and moves
60 73 __ __ is section 8 with ai.
to go to that section : in Translhextion, "Offset", "Jump to", than enter the given offset in reverse order. For example, for bite bug section 8, that would be : x7360.
In general there is an easier way to jump to those sections : activate the text table, then "Search" "Find using table" and then enter part of monster name : monster name is the first thing in section 7.
Now I'd give you an advice : when you need to understand a monster ai code, export it out of translhextion as plain text and analyse it in a text editor. Once you have a clear view of it, and on how you want to change it, only then you can edit the file in translhextion. Well, I personally find it easier that way..
Don't forget that if your new ai code is longer than the original one, you need to update all offsets accordingly, or the file will end up corrupted. Sometimes this can be really tedious.
About adding new enemies to a given battle... for that, you will need to edit scene.out. I haven't written much about that file in this forum, there are a few things in this topic thought : http://forums.qhimm.com/index.php?topic=10480.msg146301#msg146301
. Otherwise, I could provide you some more detailled information, or maybe open a new topic about it.