Export/Import translation Octopath Traveler

How to translate the files of a game
masagrator
Posts: 82
Joined: Sat Dec 22, 2018 10:03 am

Export/Import translation Octopath Traveler

Post by masagrator »

Is there anyone who knows app/script or can made a app to export/import text from this file? CRC doesn't matter, so only extracting english text with changing binary size for import is only what I need.
It looks like that

Code: Select all

>4 bytes of hex count (little endian)
>Text
>1 byte of null
Hex count = Text+1

And there are also this:

Code: Select all

>4 bytes of hex count (little endian, starting from FF FF FF FF downward)
>Text, where every letter is two bytes (every letter is little endian)
>2 bytes of null
Hex count = Text/2
(Text/2 because two bytes are counted as one)

I couldn't find any text with byte count >2.
It can be translated with hex editor, but I will appreciate any help.
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Export/Import translation Octopath Traveler

Post by Delutto »

Thats's not so simple... the *.uexp/uasset files are like the *.upk files of the Unreal Engine 3. You need to mount a property table from the *.uasset file, the *.uexp files have Indexes to this table, and each property have his own format, and seems that *.uasset files store some size infos of the *.uexp files, so if you want to change something in the *.uexp file, you need update the *.uasset file too...
About your observations, all texts are null terminator, so that's why the size includes the null byte(s) at the end. When you get some negative value in the size, it means that the text are Unicode, so you need to get the absolut value and multiply be 2, because Unicode strings use 2 bytes for each character.
Short story, it's a boring work and I doubt that anyone will work on this...
masagrator
Posts: 82
Joined: Sat Dec 22, 2018 10:03 am

Re: Export/Import translation Octopath Traveler

Post by masagrator »

I changed already sizes of some texts and only updated uasset with new filesize of uexp and it works.
So it's not that I didn't checked.
Some chinese guys already worked it out, but I don't know Chinese, so asking them will not work for me.
It works even when I change first type text to Unicode, so importer can import text as Unicode to every line, if it will make this easier (I didn't check if CRC will work with Unicode)
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Export/Import translation Octopath Traveler

Post by Delutto »

Octopath Traveler UEXP Text Tool [PC]
By Delutto
See Readme.txt for instructions.
Octopath_Traveler_UEXP_Text_Tool_By_Delutto.7z
Last edited by Delutto on Thu Dec 05, 2019 10:47 pm, edited 1 time in total.
Gyurmi91
Posts: 11
Joined: Tue Jan 02, 2018 7:20 am

Re: Export/Import translation Octopath Traveler

Post by Gyurmi91 »

Delutto wrote:Octopath Traveler UEXP Text Tool [PC]
By Delutto
See Readme.txt for instructions.Octopath_Traveler_UEXP_Text_Tool_By_Delutto.7z

Tool updated! DON'T use the first one!


Hi!

Thank you for your work, but the program says "error".

https://drive.google.com/open?id=1VesxF ... FXxj127xV6
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Export/Import translation Octopath Traveler

Post by Delutto »

Gyurmi91 wrote:Thank you for your work, but the program says "error".
https://drive.google.com/open?id=1VesxF ... FXxj127xV6
This file is from the last game version?
Upload your GameTextEN.uexp and TalkData_EN.uexp files for analysis.
Gyurmi91
Posts: 11
Joined: Tue Jan 02, 2018 7:20 am

Re: Export/Import translation Octopath Traveler

Post by Gyurmi91 »

I just wanted to try the program, so I downloaded this.

download/file.php?id=6211

But that didn't work.
Shokoniraya
Posts: 416
Joined: Sat Sep 15, 2018 5:22 am

Re: Export/Import translation Octopath Traveler

Post by Shokoniraya »

you should upload .uasset too
Gyurmi91
Posts: 11
Joined: Tue Jan 02, 2018 7:20 am

Re: Export/Import translation Octopath Traveler

Post by Gyurmi91 »

Delutto wrote:
Gyurmi91 wrote:Thank you for your work, but the program says "error".
https://drive.google.com/open?id=1VesxF ... FXxj127xV6
This file is from the last game version?
Upload your GameTextEN.uexp and TalkData_EN.uexp files for analysis.


I solved a problem. Thank you for your help.
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: Export/Import translation Octopath Traveler

Post by Delutto »

Gyurmi91 wrote:I just wanted to try the program, so I downloaded this.
download/file.php?id=6211
But that didn't work.
I figured that was the case. Only files from the last game version is supported by the tool.
DICKYTRPKG
Posts: 3
Joined: Tue Dec 03, 2019 12:15 am

Re: Export/Import translation Octopath Traveler

Post by DICKYTRPKG »

Delutto wrote:Octopath Traveler UEXP Text Tool [PC]
By Delutto
See Readme.txt for instructions.Octopath_Traveler_UEXP_Text_Tool_By_Delutto.7z

Tool updated! DON'T use the first one!



UPDATE TOOL DELUTO /NX

Deluto, here are the members of TRADUÇÕESPKG, we would launch our nintendo tool and by analyzing its tool it already works with older versions yes and with the nx versions also make an addendum so that your tool is complete for versions and files, Nintendo just changes 0x26 to 0x27 offset for your tool to work after extracting and modifying text back to the original ofesset and PC files from Nintendo and previous versions recognize, this game works with ENGLISH unicode 8, where it does not accept characters, their (ES) (IT) variants a new uexp has been created with several 2 unicode codes 8 in some parts and UTF 16 little endian, small details that it accepts special characters; therefore, creating a unicode font is a bit complex because even developers had to create uexp and ufonte and assets,ufont which is nothing more than a .ttf, in short, you change the font and characters not because it is merged with a font family and, as I mentioned before, in all the languages ​​that were put into the game ter works with a mix of unicode 8 and 16 little endie, which means that even developers had problems following the standard of uexp native and these text derivatives because they did not follow the common pattern.
DICKYTRPKG
Posts: 3
Joined: Tue Dec 03, 2019 12:15 am

Re: Export/Import translation Octopath Traveler

Post by DICKYTRPKG »

tool now works with these variables on nintendo and older pc files , (Octopath Traveler UEXP Text Tool [PC])

Deluto hug brother DICKYTRPKG
ametalslimedrewnear
Posts: 1
Joined: Sat Jun 13, 2020 6:37 pm

Re: Export/Import translation Octopath Traveler

Post by ametalslimedrewnear »

I know this is an old thread, but can this tool be used to export and the import the text from DT_TextPackCommon.uexp in Dragon Quest 11?

That file contains all the names (characters, bosses, monsters, etc.) and some of the spell information as well. I would like to edit the monster names.
masagrator
Posts: 82
Joined: Sat Dec 22, 2018 10:03 am

Re: Export/Import translation Octopath Traveler

Post by masagrator »

ametalslimedrewnear wrote:I know this is an old thread, but can this tool be used to export and the import the text from DT_TextPackCommon.uexp in Dragon Quest 11?

That file contains all the names (characters, bosses, monsters, etc.) and some of the spell information as well. I would like to edit the monster names.

No. Each game is different.
artdekdok
Posts: 1
Joined: Sat Oct 12, 2019 4:14 pm

Re: Export/Import translation Octopath Traveler

Post by artdekdok »

..
Last edited by artdekdok on Sun Jun 06, 2021 5:54 am, edited 1 time in total.
RacsoBlank
Posts: 9
Joined: Fri Jun 04, 2021 9:04 am

Re: Export/Import translation Octopath Traveler

Post by RacsoBlank »

I know it's an old forum, but here I made a tutorial on how to import .DATA
https://zenhax.com/viewtopic.php?f=4&t=15369