Looking for a way to edit uasset,uexp for arcade racing game

How to translate the files of a game
tattoohanz
Posts: 10
Joined: Fri Dec 31, 2021 9:26 am

Looking for a way to edit uasset,uexp for arcade racing game

Post by tattoohanz »

Hello,same as the topic,looking for a way to edit the uexp file,containing some strings in japanese.Encoding is utf-16le.My goal is to translate a jap arcade racing game.I would be happy if someone can help me,thx in advance!
Last edited by tattoohanz on Thu Jan 13, 2022 7:22 am, edited 2 times in total.
gameside
Posts: 66
Joined: Sun Nov 08, 2020 1:07 pm

Re: Looking for a way to edit uasset,uexp for an arcade game

Post by gameside »

Hello, first of all, what is the name of the game (more then a jap arcade game...)
and upload some more example if exist, just to be sure...
tattoohanz
Posts: 10
Joined: Fri Dec 31, 2021 9:26 am

Re: Looking for a way to edit uasset,uexp for an arcade game

Post by tattoohanz »

the game is called initial d,here's another file containing text
gameside
Posts: 66
Joined: Sun Nov 08, 2020 1:07 pm

Re: Looking for a way to edit uasset,uexp for an arcade game

Post by gameside »

initial d Texttool - v1.4
by gameside

changelog:
v1.0
  • first version.
v1.3
  • added support for only exporting texts from 3 new file type.
v1.4
  • added support for importing strings to all file types.

usage: Just drag and drop uasset/uexp file for export and txt file for import. you can also use it in cmd, just pass path to the file to program
InitialD-texttool-v1.4.7z

Note: Based on file samples and not tested ingame (it should be ok).
note:
  • You should have both uasset and uexp file in same folder; both in export and import mode.
  • In both export and import mode the output (txt or new uasset and uexp) will be saved where original files have been.

older version:
v1.0
InitialD-texttool-v1.0.7z

v1.3
InitialD-texttool-v1.3.7z
Last edited by gameside on Mon Jan 03, 2022 4:59 pm, edited 6 times in total.
tattoohanz
Posts: 10
Joined: Fri Dec 31, 2021 9:26 am

Re: Looking for a way to edit uasset,uexp for an arcade game

Post by tattoohanz »

gameside wrote:initial d Texttool - v1.0
by gameside

usage: Just drag and drop uasset/uexp file for export and txt file for import. you can also use it in cmd, just pass path to the file to program
InitialD-texttool-v1.0.7z
Note: Based on file samples and not tested ingame (it should be ok).
note:
  • You should have both uasset and uexp file in same folder; both in export and import mode.
  • In both export and import mode the output (txt or new uasset and uexp) will be saved where original files have been.


woooow,it works.....you're genious,thank you very much,i don't know how to thank you,i really appreciate it.Great work!!!
would it be possible to check those files too,please...thx in advance
gameside
Posts: 66
Joined: Sun Nov 08, 2020 1:07 pm

Re: Looking for a way to edit uasset,uexp for an arcade game

Post by gameside »

curranty I don't have much more spare time to put on these, maybe later
also I checked your files a little, every file you sent kinda have a little different structure...
and also, looks like you edited DT_WidgetSetting_SelectStory_Episode_PanelInfo file before sending it to me, because some part of it don't make sense (at least to me)
tattoohanz
Posts: 10
Joined: Fri Dec 31, 2021 9:26 am

Re: Looking for a way to edit uasset,uexp for an arcade game

Post by tattoohanz »

no worries,you did more than enough,thank you very much.
yes,one of the files i have edited with hex editor,but was not happy with the result....utf-16le gives very limited space for english text.i can attach the original one though,but when you have more free time of course.Also,some of the text in the files have utf-16be,some of it utf-16le encoding.Btw,i was thinking,no offence of course,maybe i can donate something for your work,just let me know.
thanx again.
gameside
Posts: 66
Joined: Sun Nov 08, 2020 1:07 pm

Re: Looking for a way to edit uasset,uexp for an arcade game

Post by gameside »

Well, You have edited the file incorrectly, which has damaged it.
And no thank you, there is no need for donation.
tattoohanz
Posts: 10
Joined: Fri Dec 31, 2021 9:26 am

Re: Looking for a way to edit uasset,uexp for an arcade game

Post by tattoohanz »

I'm gonna attach the clean files in case you wanna take a look at them,thx
gameside
Posts: 66
Joined: Sun Nov 08, 2020 1:07 pm

Re: Looking for a way to edit uasset,uexp for an arcade game

Post by gameside »

tool updated
now it can export strings from from 3 files that you uploaded here, no import for now
tattoohanz
Posts: 10
Joined: Fri Dec 31, 2021 9:26 am

Re: Looking for a way to edit uasset,uexp for an arcade game

Post by tattoohanz »

thank you,you're the best:)
gameside
Posts: 66
Joined: Sun Nov 08, 2020 1:07 pm

Re: Looking for a way to edit uasset,uexp for an arcade game

Post by gameside »

Tool updated, and now it can import other files too.
tattoohanz
Posts: 10
Joined: Fri Dec 31, 2021 9:26 am

Re: Looking for a way to edit uasset,uexp for an arcade game

Post by tattoohanz »

gameside wrote:Tool updated, and now it can import other files too.

thank you,works like charm:)
tattoohanz
Posts: 10
Joined: Fri Dec 31, 2021 9:26 am

Re: Looking for a way to edit uasset,uexp

Post by tattoohanz »

so,most of the text replacement works,even in the widgets,but only when the text is "static",as shown in the pics...
Image
Image

The problem is with some of the japanese text,even if i hex edit it,it's still japanese in game,and it's in the same file...

Image

Image

That's how it looks like in game...

https://media.giphy.com/media/SiSbGdmMQ ... /giphy.gif

I've attached the unedited file,if someone can help me with it i'll be very grateful,thx in advance
tattoohanz
Posts: 10
Joined: Fri Dec 31, 2021 9:26 am

Re: Looking for a way to edit uasset,uexp for arcade racing game

Post by tattoohanz »

i have few more widget files if needed...thx