Unreal Engine 4 .locres, .uasset (Text)

How to translate the files of a game
MerlinSVK
Posts: 165
Joined: Wed Aug 13, 2014 10:00 am

Re: Unreal Engine 4 .locres, .uasset (Text)

Post by MerlinSVK »

False positives. Almost every tool made in AutoIt is detected as virus. That's why I (and swuforce too) also include source code.
Hexaae
Posts: 61
Joined: Sat Mar 04, 2017 10:37 am

Re: Unreal Engine 4 .locres, .uasset (Text)

Post by Hexaae »

How do I extract/reinsert text from this .uexp?
https://nofile.io/f/SM60HE98ErK/DT_Dialogue_Main.7z (game: Unbox, demo also available on Steam…)
shadow_lonely
Posts: 216
Joined: Mon Oct 06, 2014 3:30 am

Re: Unreal Engine 4 .locres, .uasset (Text)

Post by shadow_lonely »

How can i convert all .uexp to 1 locres file? Thank you very much. My game is Life Is Strange 2, and my example files are below:
LifeIsStrange2.rar
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: Unreal Engine 4 .locres, .uasset (Text)

Post by makc_ar »

@shadow_lonely
This is all text? Here dump .txt to translate.
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: Unreal Engine 4 .locres, .uasset (Text)

Post by makc_ar »

@Hexaae
Try this mod.
shadow_lonely
Posts: 216
Joined: Mon Oct 06, 2014 3:30 am

Re: Unreal Engine 4 .locres, .uasset (Text)

Post by shadow_lonely »

makc_ar wrote:@shadow_lonely
This is all text? Here dump .txt to translate.

Thanks! I found some other text from here:
LIS2-WindowsNoEditor-E1-Localization.rar

And this game have multi eposides. Thank you very much!
akintos
Posts: 88
Joined: Tue May 08, 2018 7:48 pm

Re: Unreal Engine 4 .locres, .uasset (Text)

Post by akintos »

shadow_lonely wrote:Thanks! I found some other text from here: LIS2-WindowsNoEditor-E1-Localization.rar
And this game have multi eposides. Thank you very much!

Those files have all texts for the game. Normally you don't have to deal with uexp files.
SaraKale
Posts: 17
Joined: Tue Oct 02, 2018 11:46 am

Re: Unreal Engine 4 .locres, .uasset (Text)

Post by SaraKale »

Hello, Can you extract text from uasset?
Using umodel does not work
See your post, but I don't have a locres file... :( can you tell me how to extract it?
But it seems to be encrypted, Can you take a look at it?
Thank you! :)
This game is Faith of Danschant.
Shokoniraya
Posts: 416
Joined: Sat Sep 15, 2018 5:22 am

Re: Unreal Engine 4 .locres, .uasset (Text)

Post by Shokoniraya »

SaraKale wrote:Hello, Can you extract text from uasset?
Using umodel does not work
See your post, but I don't have a locres file... :( can you tell me how to extract it?
But it seems to be encrypted, Can you take a look at it?
Thank you! :)
This game is Faith of Danschant.


uasset is just a package, like .upk or .tfc
and some guys made mod for text as a game.locres
need to find out or know how to mod text
i always using hex editor to edit text and texture in uasset
SaraKale
Posts: 17
Joined: Tue Oct 02, 2018 11:46 am

Re: Unreal Engine 4 .locres, .uasset (Text)

Post by SaraKale »

Shokoniraya wrote:
SaraKale wrote:Hello, Can you extract text from uasset?
Using umodel does not work
See your post, but I don't have a locres file... :( can you tell me how to extract it?
But it seems to be encrypted, Can you take a look at it?
Thank you! :)
This game is Faith of Danschant.


uasset is just a package, like .upk or .tfc
and some guys made mod for text as a game.locres
need to find out or know how to mod text
i always using hex editor to edit text and texture in uasset

I see, but I opened it with a hex editor and it shows garbled code...
It seems to be encrypted. What should we do in this case?
Is it necessary to decrypt it?
Thank you for your reply.
Omris
Posts: 4
Joined: Wed Mar 21, 2018 6:02 pm

Re: Unreal Engine 4 .locres, .uasset (Text)

Post by Omris »

I have this error , can anyone help me ?

array variable has incorrect number of subscripts or subscript dimension range exceeded
Shokoniraya
Posts: 416
Joined: Sat Sep 15, 2018 5:22 am

Re: Unreal Engine 4 .locres, .uasset (Text)

Post by Shokoniraya »

SaraKale wrote:I see, but I opened it with a hex editor and it shows garbled code...
It seems to be encrypted. What should we do in this case?
Is it necessary to decrypt it?
Thank you for your reply.

first, those garbled things are unicoded
second, hex is not best option for that
Keeperv85
Posts: 2
Joined: Sun Dec 02, 2018 12:25 pm

Re: Unreal Engine 4 .locres, .uasset (Text)

Post by Keeperv85 »

Hi All!

I have 2 files: .uasset and .uexp. .uexp contain some string (intro movie subtitles), I understand how can i rewrite strings and strings sizes (hex code), but i can't find uexp file size in uasset file... pls help!
GHOST DEAD
Posts: 218
Joined: Wed Jul 19, 2017 5:04 am

Re: Unreal Engine 4 .locres, .uasset (Text)

Post by GHOST DEAD »

you can do anything in uasset with text or texture but you cant add even 1 more byte in template
or you must have Source :)
Keeperv85
Posts: 2
Joined: Sun Dec 02, 2018 12:25 pm

Re: Unreal Engine 4 .locres, .uasset (Text)

Post by Keeperv85 »

I don't think...

I found solution another for 2 smallest files:

This is the strings lenght (uexp):

Image

0x10 offset contain hex 28: this is the string length, as you can see, with string header bytes: 0x19-0x24 + hex 24 string bytes... > hex 28

The full uexp file size is: 59 byte. Uexp header (i think..) is the first 4 byte. It does not count > 55 bytes remain.

..and now:

Image

You can see? This uasset file byte contain uexp size... I tried to change it, it works!

But the other two files contain too much information... I'll never figure it out... :(
GHOST DEAD
Posts: 218
Joined: Wed Jul 19, 2017 5:04 am

Re: Unreal Engine 4 .locres, .uasset (Text)

Post by GHOST DEAD »

Keeperv85 wrote:I don't think...

I found solution another for 2 smallest files:

This is the strings lenght (uexp):


0x10 offset contain hex 28: this is the string length, as you can see, with string header bytes: 0x19-0x24 + hex 24 string bytes... > hex 28

The full uexp file size is: 59 byte. Uexp header (i think..) is the first 4 byte. It does not count > 55 bytes remain.

..and now:

You can see? This uasset file byte contain uexp size... I tried to change it, it works!

But the other two files contain too much information... I'll never figure it out... :(



i said uasset (without uexp)
.uexp is not reading size as a archive mode, i said uasset, not uexp
you can't do it with uasset, but uexp is ok, like ttf fonts or ogg sounds in uexp file (scaning whole file in uexp then a header)
But in uasset without uexp, story is little different, because has real size in data!
Jacob Darka
Posts: 24
Joined: Thu Jan 10, 2019 11:32 am

Re: Unreal Engine 4 .locres, .uasset (Text)

Post by Jacob Darka »

how to edit Game.archive \ .archive files ?
that file was with "Game.locres", and "Game.locres" didn't contain anything "tried with both versions btw"
so I suspect that all the text are in "Game.archive".
akintos
Posts: 88
Joined: Tue May 08, 2018 7:48 pm

Re: Unreal Engine 4 .locres, .uasset (Text)

Post by akintos »

Jacob Darka wrote:how to edit Game.archive \ .archive files ?
that file was with "Game.locres", and "Game.locres" didn't contain anything "tried with both versions btw"
so I suspect that all the text are in "Game.archive".

Both files are empty.
Jacob Darka
Posts: 24
Joined: Thu Jan 10, 2019 11:32 am

Re: Unreal Engine 4 .locres, .uasset (Text)

Post by Jacob Darka »

akintos wrote:
Jacob Darka wrote:how to edit Game.archive \ .archive files ?
that file was with "Game.locres", and "Game.locres" didn't contain anything "tried with both versions btw"
so I suspect that all the text are in "Game.archive".

Both files are empty.


then where are all the text in the game? I checked all .pak files, they're the same.
the game is Jump Force
masagrator
Posts: 82
Joined: Sat Dec 22, 2018 10:03 am

Re: Unreal Engine 4 .locres, .uasset (Text)

Post by masagrator »

It looks like there is new version of locres that is not working with this tool.
Could someone update the tool?