Final Fantasy Hacktics

Modding => Non-FFT Modding => FFTA/FFTA2 Hacking => Topic started by: DeSgeretjin on May 06, 2018, 05:51:09 am

Title: FFTA2 Text Editor, Feedback wanted.
Post by: DeSgeretjin on May 06, 2018, 05:51:09 am
Holler if you guys want a stand alone text translator.
Although the editor makes a backup, rom editing can always wreck things, so don't forget to make your own backups.
Currently this edits: Abilities, Jobs, Commands and equipment so speak up if you want other things to be edited.
If you see #~# and stuff in the descriptions, that is normal because FFTA2 uses weird stuff to end their lines and text blocks and removing those would break stuff.
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: Zeke_Aileron on May 06, 2018, 11:00:45 am
Does this also include Item names and item descriptions?
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: Eternal on May 06, 2018, 11:14:46 am
Don't have the chance to test it just yet, but this is great! One of the things that's taken so long for me is editing all text by hex, so this is a great tool.

@Zeke: Looks like it can edit item names and descriptions.

Thank you for your hard work on this!

EDIT: Looks like it works, but it cuts off the first letter on the second line, as seen here: https://imgur.com/a/TyyBcax

How do I go about fixing that? Thanks again!
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: DeSgeretjin on May 07, 2018, 12:41:17 am
Can't seem to replicate your bug, tested it on your mod as shown:
https://imgur.com/a/KPL7fWU
I added an 'A' to the second line of nosada and seems to work just fine.
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: Zeke_Aileron on May 07, 2018, 10:29:27 am
@Eternal, Yeah i saw, it's pretty good.

@DeSgeretjin : I love the editor even though for my mod i had to start with a completely clean FFTA2 rom since i did a lot of Hex editing and using strings that your Editor doesn't recognize like + and Down Arrow so it just crashes my Mod when i try to load it lol, but it's ok since with the text editor i'm able to just speed through changing all the text first and then i'll go back into hex editing animations and such.

Thank you for the editor.  :D
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: DeSgeretjin on May 07, 2018, 09:33:31 pm
@Zeke Wow i think you used the only two symbols I didn't encode for, i had the → and ↑ and all the weird é stuff done.
If you'd tell me what hex ↓  and + and other symbols that you'd like to use, I'll add those in.
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: Zeke_Aileron on May 07, 2018, 10:21:12 pm
Quote from: DeSgeretjin on May 07, 2018, 09:33:31 pm
@Zeke Wow i think you used the only two symbols I didn't encode for, i had the → and ↑ and all the weird é stuff done.
If you'd tell me what hex ↓  and + and other symbols that you'd like to use, I'll add those in.


I don't know the hex for +, but i do have the hexes for the other's i'll list them here for you:

98 =  ♪ or was it ♫
9D = TM
99 = ↓
9A = ←
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: DeSgeretjin on May 10, 2018, 10:04:00 am
Editor updated with more symbols encoded.
Also now comes with a Command list builder.
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: Zeke_Aileron on May 10, 2018, 10:14:47 am
Quote from: DeSgeretjin on May 10, 2018, 10:04:00 am
Editor updated with more symbols encoded.
Also now comes with a Command list builder.


Nice, this is amazing, also with the updated text editor my previous mod doesn't crash when trying to load it up, so i'll take your advice and go ahead and copy and paste all my text edits from the fresh rom over to my mod.

Thank you.  :D
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: DeSgeretjin on May 16, 2018, 09:34:09 am
Updated for formation bug fix.
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: Zeke_Aileron on May 16, 2018, 10:22:56 am
After testing the editor with the new bugfix installed, i can say the Enemy Formation part of the editor is very good and stable, trying to work through my mod as quick as possible to finish it out, thank you for these editors.  :D

Do you have any plans on what other sections to the editor you might add?
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: DeSgeretjin on May 17, 2018, 03:31:33 am
@Zeke Anything you want? Got nothing planned for now.
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: Zeke_Aileron on May 17, 2018, 04:06:25 am
Quote from: DeSgeretjin on May 17, 2018, 03:31:33 am
@Zeke Anything you want? Got nothing planned for now.


I'm currently interested in a Clan Trials/Clan Privileges Editor, not how it'll work though.

Here's the offsets for them if they're correct i think.

Clan Privilege Pointers (10 bytes)
02AA5374
02AA5607

Clan Privileges (? Bytes):
02AA5608
02AA58DF

Law Bonuses:
02AA5600

Law Bonus Descriptions:
02AE2CF0

Clan Titles:
02A9E2DD

Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: DeSgeretjin on May 17, 2018, 07:17:50 am
Those are just text.
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: Zeke_Aileron on May 18, 2018, 10:12:20 am
Quote from: DeSgeretjin on May 17, 2018, 07:17:50 am
Those are just text.


Ok, what about this chart data from Lennart's notes then, it shows the mission data and rewards like loot, exp gain, ap gain, and job unlocks.

So would this also have the data for the clan privilege(s) unlocks in it to edit?
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: BearPRIME on May 19, 2018, 01:39:28 pm
Wanted to check out the editor but I can't seem to get it to work.  I get "a java exception has occured" error and I dont know how to fix it.  Am I doing something wrong or am I just dumb.

It can be both...
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: DeSgeretjin on May 20, 2018, 05:22:40 am
Quote from: BearPRIME on May 19, 2018, 01:39:28 pm
Wanted to check out the editor but I can't seem to get it to work.  I get "a java exception has occured" error and I dont know how to fix it.  Am I doing something wrong or am I just dumb.

It can be both...


Can you describe exactly what you did?
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: BearPRIME on May 20, 2018, 06:42:46 am
Quote from: DeSgeretjin on May 20, 2018, 05:22:40 am
Can you describe exactly what you did?


UPdated Java. now works. Thanks IQ+1
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: Kuro on October 01, 2018, 06:07:43 am
Hey, your tool is amazing and really useful but in my mod I need about 70 additional slots. Making a total of 793 in Text Editor. Is there a way to get that through hex editor? 

Edit: I found a method so I don't need more slots, also it seems not possible.
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: kowalskiy on November 07, 2018, 10:36:27 am
Hi, i was wondering if you could find your starting party in the formation editor. I have checked plenty of them but to no avail.

Thanks in advance
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: Kairetsu on November 07, 2018, 05:51:09 pm
You can edit your starting party easily with hex editor. You can check the address in the spreadsheet. Keep in mind, there is some limitation though. It seems like the starting Nu Mou and Viera is hardcoded as Black Mage and White Mage. They are both unchangeable. But, the rest of starting members can be changed.
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: Lucaskart on December 21, 2018, 09:43:35 pm
I'm new with modding and I tried to use your tool, but when I change the random people names and save the rom, isn't doesn't really change and when I update the tree again the names are all back to who they were, what should I do to make the changes permanent?  :(
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: Zeke_Aileron on December 22, 2018, 02:29:50 am
Quote from: Lucaskart on December 21, 2018, 09:43:35 pm
I'm new with modding and I tried to use your tool, but when I change the random people names and save the rom, isn't doesn't really change and when I update the tree again the names are all back to who they were, what should I do to make the changes permanent?  :(


If you change current unit names to other random names, it doesn't work that way, once you change their names you have to restart a new game file to have the changed names set; however, if you do change random names it'll only stay as random names regardless of a new game file, mainly only unique units have set names and can have them changed in the middle of a saved file.
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: Lucaskart on December 22, 2018, 01:48:02 pm
Quote from: Zeke_Aileron on December 22, 2018, 02:29:50 am
If you change current unit names to other random names, it doesn't work that way, once you change their names you have to restart a new game file to have the changed names set; however, if you do change random names it'll only stay as random names regardless of a new game file, mainly only unique units have set names and can have them changed in the middle of a saved file.

It's not in game, it's like nearly every change I do stays safe on the rom after I save, like changing the Classes, Weapons names, but when I change a character name and open the room again with the software the change has been undone. Also thanks for the fast reply ^-^
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: Zeke_Aileron on December 22, 2018, 02:36:38 pm
DeSgeretjin, i was wondering if there was a way to have a Bazaar Function with the text editor, for instance the ability to make everything loot traded into one time purchases similar to the accessories/rare equipment so the player would have to invest in keeping the loot to craft more of the same gear over and over to properly equip their units, if it's possible?


Quote from: Lucaskart on December 22, 2018, 01:48:02 pm
It's not in game, it's like nearly every change I do stays safe on the rom after I save, like changing the Classes, Weapons names, but when I change a character name and open the room again with the software the change has been undone. Also thanks for the fast reply ^-^


I know it's not in-game, tbh it depends on what names you're trying to change, like the battle formation unit names, or the names in the database cause if you're doing the latter it won't save it cause those names have 0 size limit but do show you a total size limit though..., so either till DeSgeretjin fixes it to enable changing names, or it's supposed to be like that.
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: DeSgeretjin on December 27, 2018, 04:11:29 am
@Lucaskart
The reason you can't change names is because i didn't need to use it, i only need the names to be displayed and not changed so i didn't bother coding for it.

Guess i'll add it in now, wait for the update.

@Zeke

Couldn't find where it makes the recipes unique,
I could code a recipe editor though.
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: Zeke_Aileron on December 27, 2018, 06:30:41 am
Quote from: DeSgeretjin on December 27, 2018, 04:11:29 am
@Lucaskart
The reason you can't change names is because i didn't need to use it, i only need the names to be displayed and not changed so i didn't bother coding for it.

Guess i'll add it in now, wait for the update.

@Zeke

Couldn't find where it makes the recipes unique,
I could code a recipe editor though.


Oh, both would actually be nice, thank you if you do make that.  :)
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: Baron Samedi on December 27, 2018, 01:37:05 pm
First off, I'd like to thank you for making this tool, this will save massive amounts of time changing text without a hex editor. I do have a few questions as to how some aspects of the editor function however:

1. When editing text, as you said in the OP, the "#xxxx#" lines indicate a line break. Do you know the exact amount of characters that will fit on one line before a line break needs to be added?

2. In the command editor, how exactly does adding abilities work? Obviously you can't add more than the maximum total abilities, but if I were to add say, Blizzaga to the Soldier's Art of War command, how would I be able to actually give the Soldier that ability? By that I mean how would the Soldier learn Blizzaga? Would they learn it by equipping the Chill Rod like a Black Mage would, or is there some other mechanism for them to get the skill?

3. For the formation editor, when I tried to cross reference the Battle IDs in the text editor with the equivalent formation IDs to determine which formation related to which mission, they seem to match perfectly. However, the formation editor only goes up to battle 18F, while the battles themselves go up to 1FF. Is there no way to edit the battles between 18F and 1FF or am I missing something?
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: DeSgeretjin on December 27, 2018, 11:13:21 pm
@Baron Samedi

1. 50 chars i believe, could be wrong.

2. They would have the spell in the list if they learnt it as a black mage, similar to how red mages knows cure from their white mage days. Alternatively you would go use the equipment editor and add it to there.

3.The data sheet for enemy formations I had only went to 18F so ah idk.


Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: TerrageneX on December 28, 2018, 07:29:58 am
@DeSgeretjin

Do you still accept request for other things that can be edited?
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: DeSgeretjin on December 28, 2018, 11:19:42 pm
@TerrageneX

What do you have in mind?
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: TerrageneX on December 29, 2018, 01:33:06 am
@DeSgeretjin

Editing Status Names (Buffs and Debuffs) and their descriptions. Like turning Regen to Salvatus (Latin for Healed), Bulwark to Benedictus (Latin for Blessed), and Magick Up to MGK+ (to shorten space and allow further editing.)
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: DeSgeretjin on December 29, 2018, 03:30:47 am
If you're talking about the animated text that comes up above the characters when they gain those status,
unfortunately those are hard coded and can't be changed easily.
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: Zeke_Aileron on December 29, 2018, 05:10:42 am
Quote from: DeSgeretjin on December 29, 2018, 03:30:47 am
If you're talking about the animated text that comes up above the characters when they gain those status,
unfortunately those are hard coded and can't be changed easily.


I think they're talking about the status name and descriptions similar to the abilities name and descriptions, cause I'm able to change them, the text overhead is what can't be changed to what you're referring to.
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: Chronovore on March 12, 2019, 04:06:58 pm
Hi. I've been using this editor for a while and I've been very happy. I finished going over abilities, equipment, etc. Then I tried to change some of the... less than stellar random name choices. I see that I wasn't the first to discover that this doesn't actually save (only after spending a few hours editing the list, of course). Is there a more recent version of the editor that allows changing of the random name bank?

So I skipped that for now. I started play-testing the above changes and working on enemy formations as I go. The enemy formation editor is great! I've only got one issue so far. Is there a list that corresponds mission name to formation number? For instance, the first few story battles are right up front but I've had to hunt for stuff like Green Dominion.
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: ThermobaricTank on May 07, 2019, 05:50:18 pm
I've also been waiting for an update to change the random name pool since I didn't find how to do it with a hex editor. There are instructions and offsets for FFTA names, but not for FFTA2 from what I've seen. I even tried to make the program work with unit names myself but since I have no idea of java coding I found this rather complicated. Otherwise this text editor was a lifesaver, specially with the included command list editor.
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: nasuma on January 27, 2024, 05:53:37 pm
I'm having trouble with editing AP costs down to single digit Hex values.
Clearly the editor can read values like 100 as "a" but when I type in the text box, it converts it into "A0".
Is there a solution?
Title: Re: FFTA2 Text Editor, Feedback wanted.
Post by: Shrikesnest on January 30, 2024, 12:06:17 am
Quote from: nasuma on January 27, 2024, 05:53:37 pmI'm having trouble with editing AP costs down to single digit Hex values.
Clearly the editor can read values like 100 as "a" but when I type in the text box, it converts it into "A0".
Is there a solution?

That's just a visual bug. As long as you entered the value correctly it should work properly, even though it shows the digits reversed. Just make sure you input a 0 as the first digit, e.g. 0A instead of just A.