Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.
Zero Tolerance for Disrespect

.xpps File Format & Icon Offsets Issue

Featured Replies

  • Localization

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

  • Supporter
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...
  • Supporter

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.