Jump to content

Recommended Posts

  • Members
Posted

I am currently building a localization tool in C# for Ghost of Tsushima and I'm stuck on a specific issue with the binary file structure.

I have managed to translate the texts, but I'm having an issue with button icons or special symbols located inside sentences.

 

• Original Text: "Press □ to shoot"

• Translated Text: "Press and hold □ to shoot"

• Result In-Game: "Press an□d hold to shoot"

 

When the translated text is longer, the icon does not push forward; instead, it stays fixed at its old byte position, cutting into the middle of the new word. These symbols are not controlled by the main pointer table, but rather have a second integrated table (nested table) that holds only the exact index and position of each icon within the text. When I add bytes to the new text, this secondary index does not update automatically.

Please, can anyone help me with locating this table to fix this issue, or any kind of help or advice would be highly appreciated.

File.rar

  • Engineers
Posted
23 hours ago, Gynesh Murati said:

These symbols are not controlled by the main pointer table, but rather have a second integrated table (nested table) that holds only the exact index and position of each icon within the text. When I add bytes to the new text, this secondary index does not update automatically.

What's the structure of that nested table and where is it?

I did a quick check of this .._text.xpps and found the structure very confusing:

0x494 list of 41837 dialog "snippets" like so

    I can't forgive your father,  00
    but as for his son... 00

149C30 .. 17C3E0  12923 x16 bytes
17C3E0 .. 1FB760  10856 x48
1FB760 .. 200240   1198 x16
200240 .. 271160  28914 x16

0x271160 list of 2654 names like
    m_utw_component_walktalk_walktalk_lead_combat_03-01~hero

 

  • 5 weeks later...
  • Engineers
Posted

Hi, usually I don't invest time into problems which have been solved by others already. (Plus I'm not very familiar with localizations.)

@MrIkso: from the thread linked above by you I assumed Rabatini gave a solution already.

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...