• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
May 19, 2024, 09:47:37 am

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

1
Help! / Modifying .ffttext files outside of FFTacttext
November 28, 2021, 11:16:53 pm
Currently I am looking for how to modify .ffttext files using python so they can be loaded up in FFTactext and then applied to an iso.
The files generated by FFTactext appear to be using UTF-8-BOM encryption when I attempt to open them with Notepad++ and can even be opened and edited in python using the same encryption. However any edits made in Notepad++ or via Python don't seem to actually appear when the file is loaded back into FFTactext. Instead the original unedited text is there.
Opening the file in HxD shows the edits I had made to the file without issue. I attempted to edit the file directly using HxD and save but the modifications made still appear to not be reflected in FFTactext.

Would it be possible to provide more information on the .ffttext format or how FFTactext read/writes these files?

The reason I am looking to generate and edit these files via python is so that I can use it in conjunction with with a modified version of fftrctcr (the randomizer created by abyssonym) to genearte a .fftext file that can then be opened in FFTactext and patch text into the help section on items, classes, abilities, etc.
This way the help sections will reflect the changes made by the randomizer. Like clothes providing Always: Haste, dagger using formula 2 to cast a spell and what spell, cure having 7 range, etc. for quality of life while playing.
I'm aware I could modify the randomizer to write this information to a text file or a excel sheet but I'd like to see if I can get it in game so that it can be played without having to have extra documents open on the side.

I checked through the wiki but couldn't seem to find information on how text editing is directly handled outside of using FFTactext. I did attempt to go to Gomtuu's page that is mentioned in FFTactext's about section to see if that could provide some information I could use but it results in a 403 forbidden when trying to access it.

Any information or assistance would be greatly appreciated.