Final Fantasy Hacktics

Modding => Non-FFT Modding => FFTA/FFTA2 Hacking => Topic started by: FrozenDragon150 on November 25, 2015, 05:25:53 pm

Title: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: FrozenDragon150 on November 25, 2015, 05:25:53 pm
lolTopic is there enough interest?

Btw, there exists the possibility of Lennart's editors having some bugs, and he's not around anymore to fix them, just saying.
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: bcrobert on November 25, 2015, 11:18:07 pm
I'm not saying it'll never happen, but there doesn't seem to be a whole lot of interest at the moment. It all boils down to luck. Either a programmer will dig the game up and decide they want to work with it, or they won't.

Fans of isometric RPGs have been left starving for a while, so maybe there'll be some more interest in hacking these games as that trend continues.
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: Darthatron on November 30, 2015, 04:44:00 am
Not unlikely in the distant future. I never really played it much so I don't have any interest in hacking it (bar a few minor things that were requested) Plus, DS was never my forte.

But someone could come around at any moment and do something. That's what happened with me and FFTA.
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: FrozenDragon150 on November 30, 2015, 05:54:08 pm
I see, well, I guess we'll wait it out.

...In the meantime however, could someone with patience make me a patch only with all max levels at 99? (Level scaling)

I started but, It's driving me nuts :(
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: nitwit on November 30, 2015, 08:33:25 pm
http://ffhacktics.com/smf/index.php?topic=11168
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: FrozenDragon150 on November 30, 2015, 09:14:22 pm
Excellent!

Luckily most of the important data is already in our hands by now.

Battles would be the important factor here, as most of the other complicated stuff (Jobs, Abilities and Equipment) is already handled decently by other programs.

In the spreadsheet, on the formation data tab, there are the addresses and data of each battle, followed by each of the battle's units specific address and data.

According to the spreadsheet, each unit's specific data goes like this:

00: Sprite/Character (00 = Generic)
01: Job
02: Min Level
03: Max Level
04 05: Name (00 = Random, if the unit has a special sprite = Cid)
06
07
08
09
0A: X Position
0B: Y Position
0C
0D
0E 0F: Ability 1
10 11: Ability 2
12 13: Ability 3
14 15: Ability 4
16 17: Ability 5
18 19: Ability 6
1A 1B : Skillset 2
1C 1D: Ability 1
1E 1F: Ability 1
20 21 : Ability 3
22 23 : Ability 4?
24 25: R-Ability
26 27: P-Ability
28 29 : Equip 1
2A 2B : Equip 2
2C 2D: Equip 3
2E 2F: Equip 4
30 31: Equip 5
32
33
34
35
36
37
38
39
3A 3B: Faction?
(Credit to Rfh for posting this before)
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: nitwit on November 30, 2015, 09:47:26 pm
Could you cross post this to the gamefaqs boards?  Maybe someone knows about it there.
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: FrozenDragon150 on November 30, 2015, 09:49:26 pm
This game's board in gamefaqs? It's mostly dead, posted it on gbatemp, no replies so far.
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: Eternal on November 30, 2015, 09:54:57 pm
Honestly, I would find a text editor most useful right now, as well as an actual battle editor. Most other changes can be made with other editors, but text editing is currently slow and inefficient, and battle editing is very tedious.
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: FrozenDragon150 on November 30, 2015, 09:59:23 pm
Quote from: Eternal on November 30, 2015, 09:54:57 pm
Honestly, I would find a text editor most useful right now, as well as an actual battle editor. Most other changes can be made with other editors, but text editing is currently slow and inefficient, and battle editing is very tedious.


Exactly, though I put a battle editor first in my hacking needs since it is far simpler to make (I think) than a text editor, what with all the text characters, pointers, stuff like that.

Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: nitwit on November 30, 2015, 10:12:49 pm
Post as much information about both as you can, I'll see what I can do.
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: Eternal on November 30, 2015, 10:16:12 pm
Attached to this post is a folder containing spreadsheets for just about everything. Battles, text, all of it. I also have a table for hex -> text conversion if you need that. I've labelled everything, so it should prove useful.
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: FrozenDragon150 on November 30, 2015, 10:17:57 pm
ET, you forgot to attach the folder.

EDIT: done
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: nitwit on November 30, 2015, 11:17:53 pm
I wonder if I should use C# instead of Java?

https://en.wikipedia.org/wiki/SharpDevelop

https://en.wikipedia.org/wiki/MonoDevelop
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: FrozenDragon150 on November 30, 2015, 11:25:07 pm
It depends, there are 2 programs written in java, and both of them work adequately, but you should write on the language you feel most comfortable in.
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: nitwit on November 30, 2015, 11:40:30 pm
I have more experience with Java but you have to fight with Java to get things that should be very simple to work.  I think I'll give C# a try, and Mono to give it at least a chance of being cross platform.
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: FrozenDragon150 on November 30, 2015, 11:52:06 pm
Sure thing, when the end result is similar you should pick the method you find more efficient, good luck :D
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: nitwit on December 11, 2015, 08:53:33 am
Done with finals, probably passed all my classes.  I'll start work on the editor tomorrow/later today.
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: FrozenDragon150 on December 11, 2015, 09:52:23 am
Excellent! Looking forward to it  :D
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: nitwit on December 12, 2015, 08:11:53 am
I can't find the Monodevelop IDE after I installed it, so it looks like you're getting a Java program.

I can't find any strings of characters - is the data in this game compressed?  I found the data that's mentioned in the "Formation Info" tab, but I'd rather have you describe it instead of trying to figure it out myself.  You know it better than I do.

Could you provide the following?

Quote1. Starting and ending addresses for all of the data tables (programmers call these 2D arrays) used in the game?  Both starting and ending address should be the first and last address where data is found for each table.

2. Number of columns that each entry in these data tables have, and the number of entries per data table.

3. What each column means, how these things relate to one another, and which bytes (from 0x00 for byte zero to 0x?? to byte whatever) map to which columns.

4. Lists of digits - item names, ability names, character names, job names, what have you.  You can put them in a spreadsheet if you like, but I prefer them in a plain text file seperated by something (I use commas).  Make them something like this:

[Knight, Fencer, Assassin, ...]

I can format them however I like once I have them all in order and separated by something, even just a comma.  But whatever you use to seperate them, it can't be something that appears in their names.

It is VERY IMPORTANT that all these names be in the same order they are found as entries in each table.  This will be what I use to locate the data for that entry, and it will be what appears in the lists and combo boxes you use to navigate between things.

I use dictionaries (also known as maps) to hold data.  Dictionaries work like this: you input a key, and the dictionary outputs a value.  The key in this case will be a string that uniquely identifies that entry, and the value will be the array of bytes that makes up that entry.

You can nest mutiple dictionaries within one another, which is what I like to do.  But you can't iterate through a dictionary in order.  To do that you need to externally store the keys somewhere else, which is why it's so important they be in order - that's how I'll allow the game to list each item in order, it's what I'll use to read to and write from the *.nds file in order, it's used in making the GUI components work modify the data, it's used everywhere.

5. Get on chat and get all your buddies together from this site and any others where people where care.  Work together collectively to figure out what you want this editor to look like.  Use things like FFTPatcher or any other game editor as a reference.

6. Come up with a good name.  Don't make it lame.


I don't need rips of the actual data, I can get that myself once I have everything set up.  The first thing I'll do is read the data into my Dictionary<String, Integer[]>, print it out, and post it here for you to check.  Then I'll write it to the file and compare with the unmodified file to make sure that I'm writing correctly.

After that I'll start designing the GUI and get it looking exactly how you want it, then I'll make the GUI functional.  Once that's done there's nothing left to do except fix bugs and try to figure out how to deal with ragged arrays and pointers for editing text.

Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: GasT87 on December 13, 2015, 07:47:17 am
There is this: http://ffhacktics.com/wiki/Final_Fantasy_Tactics_A2:_Grimoire_of_the_Rift for addresses.
Also on the files attached to this post is a couple of spreadsheets with all the info http://ffhacktics.com/smf/index.php?topic=9514.msg211097#msg211097
If you still need the info in a plain text file I can compile something later.
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: nitwit on December 13, 2015, 11:00:31 pm
Quote from: GasT87 on December 13, 2015, 07:47:17 am
There is this: http://ffhacktics.com/wiki/Final_Fantasy_Tactics_A2:_Grimoire_of_the_Rift for addresses.
Also on the files attached to this post is a couple of spreadsheets with all the info http://ffhacktics.com/smf/index.php?topic=9514.msg211097#msg211097
If you still need the info in a plain text file I can compile something later.

It would be much easier to have something in plain text, yeah.  I'm only looking at battle data right now.  It's not terribly obvious how it works and what the minimum and maximum values are for each one.  It also looks like it's pointer referenced, which changes how I would do things.

Make a plain text dump.
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: GasT87 on December 14, 2015, 09:01:42 am
Will try to get back to you with it as soon as possible, but I'm currently swamped with work so if anybody else can make the file quicker the better. Sorry
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: Eternal on February 08, 2016, 10:16:58 pm
Has anyone made any further progress on this? I'm at the point in development in FFTA2 GG where I really need to be able to edit actual formations and units, but that's ridiculously tedious at the moment and I'd love to see a battle/formation editor soon! It'd be great to see with all the new FFTA/FFTA2 patches on the horizon!
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: FrozenDragon150 on February 09, 2016, 03:24:27 pm
As far as I know, nitwit needs a text dump with data and stuff, I would have done it, but I lost interest myself (even tho I was the one who requested it in the first place xD)

Dunno if nitwit still comes here, but if he does, someone could properly provide the data he needs.
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: nitwit on February 17, 2016, 05:43:44 am
I'm still around.

I just need someone to take the data in the spreadsheet and put it into a text file with very clear explanations of what every piece does.  I'm not sure what some of the bytes do and I'd like clearer explanations.
Title: Re: What are the chances of something like A.I.O editor happening for FFTA2?
Post by: Zeke_Aileron on July 15, 2017, 06:59:43 pm
Sorry for the necropost, But for me i'm highly more interested in FFTA2, so seeing a A.I.O editor for this game would be amazing, cause i've been trying to mod my own variation of FFTA2 using the various editors and nightmare equipment editor.

So seeing a text editor, Battle formation editor, and possibly a sprite editor would be fantastic.