added support to export and import strings from folders
added support of removing duplicated lines
some bug fix
usage:
just drag and drop as many uasset/uexp you want in tool, tool will export them all; or if you want to import texts back to asset, drag and drop txt in tool.
use program in cmd and pass file names to it. ex.: TalesofArise-tt.exe file1 file2 ...
tool also can export and impprt strings from and to all files in a folder just drag the folder into tool, it will create two file, one txt that have all strings in one place! and a blt file. for importing back drop blt file in tool.
notes:
you need to have both uasset and uexp in same folder for export and import.
output files (both export and import) will save where original file is in normal mode. but in folder mode it will be where original path located.
in folder mode program will only give you the unique strings, what it mean is it will remove duplicated lines.
you can use -s option, if you want program to not close after all errors (good when you want to export and import bunch of files and dont want program to close after each error).
I've been using this tool and it's been great for most things, using the folder method. Unfortunately, by skipping duplicates, it means that where the localization has deemed to use the same exact line twice, both instances are modified together, which is undesirable. (For instance, a team Boost move versus battle chatter.)
Then I tried running it against each uasset file individually, and it worked fine until I tried importing back.
All of the "...\Localize\Text\en-US\Release\Arise\String\MessageData\BTL\XYZ" files fail to reimport this way, but will successfully import using the folder method.
"Index out of range, pm me."
I'm forced to go slowly through a uasset editor and search for each line painfully as I retranslate the game and update/fix name/place changes.