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

Unreal Engine 4 .locres, .uasset (Text)

Featured Replies

  • Author
  • Localization

Taiyoshinz, posted Thu Jun 24, 2021 9:26 am (64878)


masagrator wrote:
I don't like current locres tools that are only extracting texts.

I'm creating Python script that can dump all locres data correctly and sort them to JSON.
Converting it back will come at later date.

If anybody is interested, you can send me locres files.

AliGMods wrote:
Hello today I extracted the game to UE 4.26 and the program from swuforce for extracting text from locres to txt does not work correctly. Could someone look at it, please. I am attaching locres files. Thanks
https://mega.nz/file/vFlBUQIZ#01gunzI_c ... rhJZmTBbIM


I'm attaching dump for it as an example.

For now it was tested only on this game and Scarlet Nexus Demo.

Hi masagrator, now i'm working with a 4.26 .locres file, i used your tool to export the locres to .txt and it's converted to special characters, the game is not encrypted and i think your tool is old, could you check tool please? Thank you.
here is the .locres file https://drive.google.com/file/d/1KXQeOq ... sp=sharing
  • Replies 264
  • Views 82
  • Created
  • Last Reply

Top Posters In This Topic

  • Author
  • Localization

masagrator, posted Thu Jun 24, 2021 11:19 am (64881)


Taiyoshinz wrote:
masagrator wrote:
I don't like current locres tools that are only extracting texts.

I'm creating Python script that can dump all locres data correctly and sort them to JSON.
Converting it back will come at later date.

If anybody is interested, you can send me locres files.

AliGMods wrote:
Hello today I extracted the game to UE 4.26 and the program from swuforce for extracting text from locres to txt does not work correctly. Could someone look at it, please. I am attaching locres files. Thanks
https://mega.nz/file/vFlBUQIZ#01gunzI_c ... rhJZmTBbIM


I'm attaching dump for it as an example.

For now it was tested only on this game and Scarlet Nexus Demo.

Hi masagrator, now i'm working with a 4.26 .locres file, i used your tool to export the locres to .txt and it's converted to special characters, the game is not encrypted and i think your tool is old, could you check tool please? Thank you.
here is the .locres file https://drive.google.com/file/d/1KXQeOq ... sp=sharing

You didn't use my locres tool, because I didn't share it anywhere. :mrgreen:
I will check it tomorrow.
  • Author
  • Localization

Taiyoshinz, posted Thu Jun 24, 2021 11:40 am (64882)


masagrator wrote:
Taiyoshinz wrote:
masagrator wrote:
I don't like current locres tools that are only extracting texts.

I'm creating Python script that can dump all locres data correctly and sort them to JSON.
Converting it back will come at later date.

If anybody is interested, you can send me locres files.



I'm attaching dump for it as an example.

For now it was tested only on this game and Scarlet Nexus Demo.

Hi masagrator, now i'm working with a 4.26 .locres file, i used your tool to export the locres to .txt and it's converted to special characters, the game is not encrypted and i think your tool is old, could you check tool please? Thank you.
here is the .locres file https://drive.google.com/file/d/1KXQeOq ... sp=sharing

You didn't use my locres tool, because I didn't share it anywhere. :mrgreen:
I will check it tomorrow.

Sorry, my mistake, i was thought the tool is belong to you. Thank you anyway, i will wait.
  • Author
  • Localization

masagrator, posted Fri Jun 25, 2021 7:19 pm (64910)


Taiyoshinz wrote:
masagrator wrote:
Taiyoshinz wrote:
Hi masagrator, now i'm working with a 4.26 .locres file, i used your tool to export the locres to .txt and it's converted to special characters, the game is not encrypted and i think your tool is old, could you check tool please? Thank you.
here is the .locres file https://drive.google.com/file/d/1KXQeOq ... sp=sharing

You didn't use my locres tool, because I didn't share it anywhere. :mrgreen:
I will check it tomorrow.

Sorry, my mistake, i was thought the tool is belong to you. Thank you anyway, i will wait.

Thanks, it was helpful to understand some things at the beginning of locres.

Here is dump.

Edit: Uploaded dump again, because I have found a bug in parsing categories.
  • Author
  • Localization

lokakam, posted Sat Jun 26, 2021 6:50 pm (64925)


Can someone help me to extract this correctly?
  • Author
  • Localization

masagrator, posted Sat Jun 26, 2021 7:51 pm (64927)


lokakam wrote:
Can someone help me to extract this correctly?
  • Author
  • Localization

bruhmoment, posted Tue Jun 29, 2021 3:20 pm (64974)


masagrator wrote:
lokakam wrote:
Can someone help me to extract this correctly?


scarlet nexus help plx
  • Author
  • Localization

masagrator, posted Sat Jul 03, 2021 8:57 am (65011)


bruhmoment wrote:
masagrator wrote:
lokakam wrote:
Can someone help me to extract this correctly?


scarlet nexus help plx

Game.locres is empty

You sure those are correct files? Engine.locres seems to be related to debugging, mytarget seems like file which is used to load correct texts from different file.

Whatever. Dumps in attachments.
  • Author
  • Localization

masagrator, posted Sun Jul 04, 2021 6:37 pm (65045)


Well, it seems now it's working correctly with all English newer locres file.

Python 3 script dumping locres is here:
https://pastebin.com/QVL7QXLL

Code:
python script.py file.locres


New locres files have the same magic at first 16 bytes. Older don't have any magic, thus they are easy to detect.
  • Author
  • Localization

lokakam, posted Tue Jul 06, 2021 8:05 am (65065)


masagrator wrote:
Well, it seems now it's working correctly with all English newer locres file.

Python 3 script dumping locres is here:
https://pastebin.com/QVL7QXLL

Code:
python script.py file.locres


New locres files have the same magic at first 16 bytes. Older don't have any magic, thus they are easy to detect.


Thank you, it worked for extraction.
How can i import now :)
  • Author
  • Localization

jonastraducoes, posted Thu Jul 08, 2021 7:21 pm (65106)


akintos wrote:


Thank you very much!
Export and Import working, but I need to add lines!
I'm translating the game Partisans and the locres file in english is missing 4 lines!
In the Spanish file there are 4 lines in English no! Can you help me with this?

lines add

Key=A54CC5414B02B127EDA949B651C506AA=Obtain the intelligence data
Key=35C835324D21ADB455AAFA9CEAC25324=Investigate the crash site
Key=495586644EAE2896FFE42E885FB794D8=Story
Key=D4B4AB7849FBD04843660787FE16C5BA=Story

Link example files:
https://drive.google.com/file/d/1IP5rHW ... sp=sharing
  • Author
  • Localization

akintos, posted Mon Jul 12, 2021 12:10 pm (65155)


lokakam wrote:
akintos wrote:

Exporting part is amazing good but when i importing translation it says " 0 translation imported"
Something is wrong.


Can you upload your locres file and translation file?
  • Author
  • Localization

lokakam, posted Mon Jul 12, 2021 12:37 pm (65158)


akintos wrote:
lokakam wrote:
akintos wrote:

Exporting part is amazing good but when i importing translation it says " 0 translation imported"
Something is wrong.


Can you upload your locres file and translation file?

Here is the locres and translation.
  • Author
  • Localization

akintos, posted Mon Jul 12, 2021 1:27 pm (65159)


lokakam wrote:
Here is the locres and translation.

I think you edited the source text column.

Image

You should translate the text in "target" column like below image:

Image

I recommend using Google spreadsheet to translate the csv file.
  • Author
  • Localization

jonastraducoes, posted Mon Jul 12, 2021 8:02 pm (65161)


lokakam wrote:
akintos wrote:
lokakam wrote:
Exporting part is amazing good but when i importing translation it says " 0 translation imported"
Something is wrong.


Can you upload your locres file and translation file?

Here is the locres and translation.


Hello, you are translating in the wrong place!
I recommend using the export pot!

Example:

csv:
translator after the last ,
example photos:
https://cdn.discordapp.com/attachments/ ... nknown.png

pot:
msgstr translator
example photos:
https://cdn.discordapp.com/attachments/ ... nknown.png
  • Author
  • Localization

jonastraducoes, posted Mon Jul 12, 2021 8:04 pm (65162)


akintos wrote:
lokakam wrote:
Here is the locres and translation.

I think you edited the source text column.

Image

You should translate the text in "target" column like below image:

Image

I recommend using Google spreadsheet to translate the csv file.


What program do you use to edit the files in this image?
  • Author
  • Localization

akintos, posted Tue Jul 13, 2021 4:20 am (65170)


jonastraducoes wrote:
What program do you use to edit the files in this image?

It is VSCode with csv viewer extension. Not very convenient for editing csv files.
  • Author
  • Localization

lokakam, posted Thu Jul 15, 2021 9:33 am (65207)


akintos wrote:
lokakam wrote:
Here is the locres and translation.

I think you edited the source text column.

Image

You should translate the text in "target" column like below image:

Image

I recommend using Google spreadsheet to translate the csv file.

Thank you, it worked!
  • Author
  • Localization

MuslimCyberGames, posted Fri Sep 10, 2021 9:58 am (66239)


Can you make for Uexp & Uasset (Text files) for game Life is Strange True Colors.

Here Example.
  • Author
  • Localization

haku0011, posted Sat Sep 11, 2021 8:29 am (66270)


Anyone know how to edit text on uasset of Tales of Arise?

Here for example
  • Author
  • Localization

ekiby4, posted Mon Sep 13, 2021 3:44 am (66317)


MuslimCyberGames wrote:
Can you make for Uexp & Uasset (Text files) for game Life is Strange True Colors.

Here Example.



1 UP PLEASE
  • Author
  • Localization

NoobInCoding, posted Mon Sep 13, 2021 8:02 am (66320)


ekiby4 wrote:
MuslimCyberGames wrote:
Can you make for Uexp & Uasset (Text files) for game Life is Strange True Colors.

Here Example.



1 UP PLEASE

viewtopic.php?f=17&t=15803
  • Author
  • Localization

ekiby4, posted Mon Sep 13, 2021 10:00 pm (66348)


NoobInCoding wrote:

that not working but nevermind i edited Global_Localization.uasset but now how can i that edited file import to original pak file?

Someone can help me :/ thanks...

Game : Life is Strange True Colors
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.