ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu Apr 18, 2019 4:18 pm

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Jan 28, 2019 5:31 pm 

Joined: Sat Dec 22, 2018 10:03 am
Posts: 16
Is there anyone who knows app/script or can made a app to export/import text from this file? CRC doesn't matter, so only extracting english text with changing binary size for import is only what I need.
It looks like that
Code:
>4 bytes of hex count (little endian)
>Text
>1 byte of null
Hex count = Text+1

And there are also this:
Code:
>4 bytes of hex count (little endian, starting from FF FF FF FF downward)
>Text, where every letter is two bytes (every letter is little endian)
>2 bytes of null
Hex count = Text/2
(Text/2 because two bytes are counted as one)

I couldn't find any text with byte count >2.
It can be translated with hex editor, but I will appreciate any help.


Attachments:
GameTextEN.zip [517.62 KiB]
Downloaded 13 times
Top
   
PostPosted: Mon Jan 28, 2019 8:09 pm 
User avatar

Joined: Tue Oct 13, 2015 1:26 pm
Posts: 450
Thats's not so simple... the *.uexp/uasset files are like the *.upk files of the Unreal Engine 3. You need to mount a property table from the *.uasset file, the *.uexp files have Indexes to this table, and each property have his own format, and seems that *.uasset files store some size infos of the *.uexp files, so if you want to change something in the *.uexp file, you need update the *.uasset file too...
About your observations, all texts are null terminator, so that's why the size includes the null byte(s) at the end. When you get some negative value in the size, it means that the text are Unicode, so you need to get the absolut value and multiply be 2, because Unicode strings use 2 bytes for each character.
Short story, it's a boring work and I doubt that anyone will work on this...

_________________
Tribo Gamer Brasil


Top
   
PostPosted: Mon Jan 28, 2019 9:41 pm 

Joined: Sat Dec 22, 2018 10:03 am
Posts: 16
I changed already sizes of some texts and only updated uasset with new filesize of uexp and it works.
So it's not that I didn't checked.
Some chinese guys already worked it out, but I don't know Chinese, so asking them will not work for me.
It works even when I change first type text to Unicode, so importer can import text as Unicode to every line, if it will make this easier (I didn't check if CRC will work with Unicode)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited