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.

Gameloft Jet Engine (BABL/BABEL, BINARY): *.TEXTS TEXTS.KEYS

Featured Replies

  • Author
  • Localization

LolHacksRule, posted Sun Dec 08, 2019 9:48 pm (51424)


I think the KEYS file has the string IDs while the TEXTS file has the text, my sample is from Minion Rush (Android/iOS), Sonic Runners doesn't use a .KEYS file and has both the IDs and text in the TEXTS files.
  • Author
  • Localization

ducan012456, posted Mon Dec 09, 2019 11:00 am (52478)


It's like what you said. But if you want to translate this game, no need to edit anything in .KEYS file.

Image
  • Author
  • Localization

LolHacksRule, posted Mon Dec 09, 2019 10:26 pm (52482)


I don't have SR's data files RN, I'll send them soon, thanks anyways.
  • Author
  • Localization

LolHacksRule, posted Tue Dec 10, 2019 6:44 pm (52495)


Program/QuickBMS script for exporting/importing to/from TXT soon?
  • Author
  • Localization

ducan012456, posted Wed Dec 11, 2019 2:47 am (52508)


Code:
get NAME basename
string NAME ".txt"

FINDLOC SIGN binary "\x02\x00\x00\x00EN" 0 ""
math SIGN 6
goto SIGN
get SIZE_EN long # edit in hex after use reimport
get CHUNK_KEY long

for i = 0 < CHUNK_KEY
   get KEY long
   get SIZE_TEXT long
   savepos CUR_OFF
   slog NAME CUR_OFF SIZE_TEXT
   math CUR_OFF SIZE_TEXT
   goto CUR_OFF
next i


Use reimport3.
  • Author
  • Localization

LolHacksRule, posted Wed Dec 11, 2019 4:51 pm (52523)


TYSM but could it use the KEYS file or keep looking in the TEXTS files to get the String IDs to save time knowing what String ID belongs to the given string?
  • Author
  • Localization

LolHacksRule, posted Sun Dec 22, 2019 2:52 am (52729)


Doesn't work on the final Win8 version of the game, also no .KEYS file.
  • Author
  • Localization

ducan012456, posted Sun Dec 22, 2019 5:11 am (52734)


LolHacksRule wrote:
Doesn't work on the final Win8 version of the game, also no .KEYS file.

It doesn't work because it's another format. Try this, it will export new text with the KEY.

Code:
get NAME basename
string NAME ".txt"

FINDLOC SIGN binary "\x02\x00\x00\x00EN" 0 ""
math SIGN 6
goto SIGN
get SIZE_EN long # edit in hex after use reimport
get CHUNK_KEY long

for i = 0 < CHUNK_KEY
   # export KEY
   get KEY_SIZE long
   savepos CUR_OFF
   slog NAME CUR_OFF KEY_SIZE
   math CUR_OFF KEY_SIZE
   goto CUR_OFF
   
   # export TEXT
   get SIZE_TEXT long
   savepos CUR_OFF
   slog NAME CUR_OFF SIZE_TEXT
   math CUR_OFF SIZE_TEXT
   goto CUR_OFF
next i
  • Author
  • Localization

LolHacksRule, posted Sun Dec 22, 2019 5:40 am (52736)


Win8 is older version tho, but ok thanks so much, I'll try modifications since the game can read texts defaulted in Android/data/gamesig/texts. The oldest versions use "XX" files with the text data and IDs relating to each language (like .EN for EN/English strings /w IDs).
Guest
This topic is now closed to further replies.

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.