ZenHAX
https://zenhax.com/

Unreal Engine 4 .locres, .uasset (Text)
https://zenhax.com/viewtopic.php?f=12&t=1022
Page 3 of 4

Author:  akintos [ Fri Apr 12, 2019 5:13 pm ]
Post subject:  Re: Unreal Engine 4 .locres, .uasset (Text)

https://drive.google.com/open?id=1-ftM3 ... YLA4b6omgJ

This is cli version of my locres tool. Supports all version including LocResVersion Optimized (= 2)

Drag and drop locres file to exe or use it in command line.


Unreal Engine is full open source. try writing your own tool.

https://github.com/EpicGames/UnrealEngi ... source.cpp

Author:  ghylard [ Sat Apr 13, 2019 1:09 pm ]
Post subject:  Re: Unreal Engine 4 .locres, .uasset (Text)

Thank you for this tool but how do we reintegrate the modified text into the locres file?

Author:  raulpuro [ Sun Apr 14, 2019 2:34 pm ]
Post subject:  Re: Unreal Engine 4 .locres, .uasset (Text)

Hi,

I have the file *.locres edited and prepared, but now I have a problem, the file *.locres is in a *.pak, if I try to reimport the file locres, it does not let me the file *.pak has a size larger than 4 gb. Is there another way to integrate the *.locres file? Is it possible to add a mod with only the *.locres file?

Greeting and thanks for your time.

Author:  ghylard [ Mon Apr 15, 2019 4:59 pm ]
Post subject:  Re: Unreal Engine 4 .locres, .uasset (Text)

You don't have to re-insert the locres file into the pak file for the new subtitles to be taken into account.
The game can work while being uncompressed (you must however delete the pak file)
But if you want to put back the locres file in the pak file you have to use quickbms_4gb_files.exe because of the file size.

Author:  raulpuro [ Tue Apr 16, 2019 12:28 am ]
Post subject:  Re: Unreal Engine 4 .locres, .uasset (Text)

ghylard wrote:
You don't have to re-insert the locres file into the pak file for the new subtitles to be taken into account.
The game can work while being uncompressed (you must however delete the pak file)
But if you want to put back the locres file in the pak file you have to use quickbms_4gb_files.exe because of the file size.

Hi,

Thanks for replying, I can not delete the * .pak file because it has a size of 7 gigs and contains other files. I have used reimport2_4gb_files.bat but the file is larger than the original and does not allow me to reimport it.
Is it possible to add the file in another way? Something like a mod?

Greetings.

Author:  swuforce [ Wed Apr 17, 2019 5:13 am ]
Post subject:  Re: Unreal Engine 4 .locres, .uasset (Text)

Try: https://github.com/panzi/u4pak

Author:  raulpuro [ Wed Apr 17, 2019 9:43 pm ]
Post subject:  Re: Unreal Engine 4 .locres, .uasset (Text)

swuforce wrote:

Hi,

Thanks swuforce but it seems that it does not support this version.

Image

I have managed to re-insert the file with unreal_tournament_4.bms but it shows this error:

Image



Greetings.

Author:  raulpuro [ Thu Apr 18, 2019 4:31 pm ]
Post subject:  Re: Unreal Engine 4 .locres, .uasset (Text)

Hi,

These are the archives

https://drive.google.com/drive/folders/ ... Ku03ioKyZ3

Greetings.

Author:  shadow_lonely [ Wed Apr 24, 2019 7:43 am ]
Post subject:  Re: Unreal Engine 4 .locres, .uasset (Text)

akintos wrote:
https://drive.google.com/open?id=1-ftM3xAukoogkU5SmNKmsXYLA4b6omgJ

This is cli version of my locres tool. Supports all version including LocResVersion Optimized (= 2)

Drag and drop locres file to exe or use it in command line.


Unreal Engine is full open source. try writing your own tool.

https://github.com/EpicGames/UnrealEngi ... source.cpp

Could you add repack feature in this locres tool? Thanks!

Author:  Shokoniraya [ Wed Apr 24, 2019 2:31 pm ]
Post subject:  Re: Unreal Engine 4 .locres, .uasset (Text)

shadow_lonely
can you give me a sample file?

Author:  Shokoniraya [ Wed Apr 24, 2019 2:32 pm ]
Post subject:  Re: Unreal Engine 4 .locres, .uasset (Text)

raulpuro wrote:
Hi,

These are the archives

https://drive.google.com/drive/folders/ ... Ku03ioKyZ3

Greetings.


try this script to export: http://aluigi.altervista.org/bms/unreal ... ment_4.bms

Author:  shadow_lonely [ Wed Apr 24, 2019 11:38 pm ]
Post subject:  Re: Unreal Engine 4 .locres, .uasset (Text)

Shokoniraya wrote:
shadow_lonely
can you give me a sample file?

My example file: https://drive.google.com/file/d/1MMldYp ... sp=sharing

Thanks!

Author:  raulpuro [ Thu Apr 25, 2019 4:25 am ]
Post subject:  Re: Unreal Engine 4 .locres, .uasset (Text)

Shokoniraya wrote:


Hi,

Unfortunately it does not work:

Image

I am using the key
"0x84C3295EDA0DDF5DE05575CB817414E0A3357598AFD5C68DECD684812EAFC9B5" is for the game Eternity The Last Unicorn and seems to export the * .pak correctly, I think the problem arises when importing the * .pak again.

Greetings.

Author:  BANDIT [ Wed May 29, 2019 12:14 pm ]
Post subject:  Re: Unreal Engine 4 .locres, .uasset (Text)

Please, help me with Layers of Fear 2 .locres

Attachments:
LoF2_GameCore.rar [23.28 KiB]
Downloaded 37 times

Author:  swuforce [ Fri May 31, 2019 3:27 pm ]
Post subject:  Re: Unreal Engine 4 .locres, .uasset (Text)

Try my unreal locres script.

Author:  BANDIT [ Wed Jun 05, 2019 10:49 am ]
Post subject:  Re: Unreal Engine 4 .locres, .uasset (Text)

Please, help me with .uasset .uexp files

Attachments:
LoF2_uexp.rar [1.43 KiB]
Downloaded 47 times

Author:  masagrator [ Sun Jun 09, 2019 7:23 pm ]
Post subject:  Re: Unreal Engine 4 .locres, .uasset (Text)

BANDIT wrote:
Please, help me with .uasset .uexp files

It can be done with hex editor.
Quote:
Однажды наступает пора одному
сыграть множество ролей.

Он наблюдает за другими,
а другие — за ним.

Он должен соответствовать,

с достоинством пройти
сквозь несуществующие миры.

Он надевает маски и приспосабливается к ним.

Каждая маска — отдельный персонаж.
Каждый персонаж — новый слой.

Один слой накладывается на другой, и вместе они зовут его.

Он должен создать персонаж,
который суждено сыграть.

Или окончательно потерять себя.

Он погружен в пучину.

Загнан в угол жизнями,
которые не проживал.

Но он не сломлен.

И стоит на сцене,
где каждый должен сыграть свою роль.

Его роль печальна.


They are UTF-16 LE with prefix which is length
Code:
FFFFFFFF - *how many bytes text takes*\2


For example this
Quote:
Его роль печальна.

is
Code:
ED FF FF FF 15 04 33 04 3E 04 20 00 40 04 3E 04 3B 04 4C 04 20 00 3F 04 35 04 47 04 30 04 3B 04 4C 04 3D 04 30 04 2E 00

First 4 bytes is length, rest is a text.

in uasset there is size of uexp in little endian, but -4
Quote:
Offset: 0x2D1
Value: 5A100000
Converted value: 4186

Size of uexp = 4190 bytes

And this is all you need to translate it.

Octopath Traveler is using similar stuff and I made text converter (from translated to hex) in Excel. ;)

Author:  Release [ Tue Jun 18, 2019 3:52 pm ]
Post subject:  Re: Unreal Engine 4 .locres, .uasset (Text)

Please help me with Game.locres from "Citadel: Forged with Fire":

1. "UE4_.locres_export.exe" does not extract text from it.
2. "new_UE4_.locres_export.exe" build corrupted txt file.
3. "locres2csv.exe" work fine, but how i can reintegrate text?

Maybe there is another tool that works well in both directions?

Attachments:
Game.locres.7z [178.58 KiB]
Downloaded 21 times

Author:  ghylard [ Thu Jun 20, 2019 7:39 am ]
Post subject:  Re: Unreal Engine 4 .locres, .uasset (Text)

@ Release
The latest version of the tool made by swuforce works perfectly with this locres file.

Attachments:
Game.locres.txt [305.64 KiB]
Downloaded 36 times
Unreal locres tool.7z [63.32 KiB]
Downloaded 82 times

Author:  Release [ Thu Jun 20, 2019 2:51 pm ]
Post subject:  Re: Unreal Engine 4 .locres, .uasset (Text)

@ghylard
My great thanks for helping. It's working very fine.
Can i ask for a link, where i can look for latest version this tool, so no longer bother you about this?
Anyway, thanks again.

Page 3 of 4 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/