ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax
It is currently Tue Aug 09, 2022 1:45 pm

All times are UTC




Post new topic  Reply to topic  [ 35 posts ]  Go to page 1 2 Next
Author Message
PostPosted: Wed Apr 06, 2022 2:27 am 

Joined: Wed Sep 12, 2018 2:22 am
Posts: 359
I would like to convert these to PNGs.


Attachments:
PODRACE.zip [162.6 KiB]
Downloaded 40 times
Top
   
PostPosted: Wed Apr 06, 2022 1:59 pm 

Joined: Sat Sep 28, 2019 7:00 pm
Posts: 646
Here is script for converting TEXTURE and NXG_TEXTURES files into respective dds. Currently only DXT1/5 and BC6/7 textures can be converted.

Update: Script is updated to support BC6 textures. Also some fixes are applied for better handling of already supported formats.
Update 2: Script is updated to support extraction of separate textures from NXG_TEXTURES files. You can modify the script according to included comments to strip full internal paths and leave filenames only or use original extension for textures (they are referenced as "nut", even though they're plain dds).
Update 3: Small fixes for particular texture types added.
Update 4: Script is updated to support ATI1 textures. Also script should now produce proper error for unsupported texture types.
Update 5: Script is updated for proper handling of some NXG_TEXTURES files (now with additional fix).


Attachments:
skywalker_saga_textures_v5.zip [1.23 KiB]
Downloaded 15 times

_________________
You can request AES keys on rin forums (the list with keys is also there)
AES keys finder and latest UE4 bms scripts: in this post


Last edited by spiritovod on Fri Jun 24, 2022 12:37 am, edited 11 times in total.
Top
   
PostPosted: Thu Apr 07, 2022 5:43 pm 

Joined: Wed Sep 12, 2018 2:22 am
Posts: 359
More samples to study:


Attachments:
TEXTURES.zip [3.71 MiB]
Downloaded 45 times
Top
   
PostPosted: Thu Apr 07, 2022 9:41 pm 

Joined: Sat Sep 28, 2019 7:00 pm
Posts: 646
Script is now updated. It should handle existing formats much better.

================================

Script is updated to support extraction from NXG_TEXTURES files.

_________________
You can request AES keys on rin forums (the list with keys is also there)
AES keys finder and latest UE4 bms scripts: in this post


Top
   
PostPosted: Sun Apr 10, 2022 11:51 am 

Joined: Sun Jan 02, 2022 1:19 pm
Posts: 40
spiritovod wrote:
Script is now updated. It should handle existing formats much better.

================================

Script is updated to support extraction from NXG_TEXTURES files.


Hey!

So I tested your script, and it works for some textures, but some give weird results. I added a sample of files with what I got from the script. Maybe it can help.

Thank you for the work.


Attachments:
BODY_AAYLASECURA_NXG.zip [194.24 KiB]
Downloaded 29 times
Top
   
PostPosted: Sun Apr 10, 2022 12:52 pm 

Joined: Sat Sep 28, 2019 7:00 pm
Posts: 646
@KL3W: I've updated the script, it now handle this type of textures as well.

_________________
You can request AES keys on rin forums (the list with keys is also there)
AES keys finder and latest UE4 bms scripts: in this post


Top
   
PostPosted: Sun Apr 10, 2022 1:22 pm 

Joined: Sun Jan 02, 2022 1:19 pm
Posts: 40
spiritovod wrote:
@KL3W: I've updated the script, it now handle this type of textures as well.


Thanks it works for more files, but still some aren't working it seems. Is there a fix for these files too?


Attachments:
NOT_WORKING_BODY.zip [224.59 KiB]
Downloaded 30 times
Top
   
PostPosted: Sun Apr 10, 2022 1:43 pm 

Joined: Sat Sep 28, 2019 7:00 pm
Posts: 646
@KL3W: One more update is rolled out. Also script should now produce proper error for unsupported types.

_________________
You can request AES keys on rin forums (the list with keys is also there)
AES keys finder and latest UE4 bms scripts: in this post


Top
   
PostPosted: Sun Apr 10, 2022 1:51 pm 

Joined: Sun Jan 02, 2022 1:19 pm
Posts: 40
spiritovod wrote:
@KL3W: One more update is rolled out. Also script should now produce proper error for unsupported types.


Very nice work. I guess the goal would be to have a script working for all .TEXTURE and .TSH files, so I have found some files that don't work with the script for now. Can you do magic again?


Attachments:
NOT_WORKING_OTHER.zip [1.54 MiB]
Downloaded 27 times
Top
   
PostPosted: Sun Apr 10, 2022 2:22 pm 

Joined: Sat Sep 28, 2019 7:00 pm
Posts: 646
@KL3W: Script is updated with ATI1 textures support. DXT3 and ATI2 are still missing, but I'm not sure the game is using them at all, as well as any kind of uncompressed textures.

_________________
You can request AES keys on rin forums (the list with keys is also there)
AES keys finder and latest UE4 bms scripts: in this post


Top
   
PostPosted: Sun Apr 10, 2022 2:27 pm 

Joined: Sun Jan 02, 2022 1:19 pm
Posts: 40
spiritovod wrote:
@KL3W: Script is updated with ATI1 textures support. DXT3 and ATI2 are still missing, but I'm not sure the game is using them at all, as well as any kind of uncompressed textures.


Thank you very much. So no support for the .TSH files I sent? I was looking into it with HxD and it looks like there are a lot of .png files in it. Is it really .png files that could be extracted or am I wrong?


Top
   
PostPosted: Sun Apr 10, 2022 2:44 pm 

Joined: Sat Sep 28, 2019 7:00 pm
Posts: 646
@KL3W: TSH are materials, there is no textures data in them. And textures are addressed in materials by their original names (either png or tga). Each TEXTURE file can be either standalone texture, in this case original name will be addressed in the texture itself, or part of material, in this case the material will be addressed instead of original name and respective material contains original names. I suppose the difference is that texture can be addressed directly by an object (like mesh) or only as part of respective material.

_________________
You can request AES keys on rin forums (the list with keys is also there)
AES keys finder and latest UE4 bms scripts: in this post


Top
   
PostPosted: Sun Apr 10, 2022 4:51 pm 

Joined: Sun Jan 02, 2022 1:19 pm
Posts: 40
Alright thx for the explanation! Still, I have found some .TEXTURE files that can't be opened with the script...
Can you do something @spiritovod?


Attachments:
PROCSKY.zip [93.33 KiB]
Downloaded 27 times
Top
   
PostPosted: Sun Apr 10, 2022 4:59 pm 

Joined: Sat Sep 28, 2019 7:00 pm
Posts: 646
@KL3W: Script is updated, it should now work with that texture type as well.

_________________
You can request AES keys on rin forums (the list with keys is also there)
AES keys finder and latest UE4 bms scripts: in this post


Top
   
PostPosted: Sun Apr 10, 2022 5:13 pm 

Joined: Sun Jan 02, 2022 1:19 pm
Posts: 40
spiritovod wrote:
@KL3W: Script is updated, it should now work with that texture type as well.


Thx again! I have found others... Sorry if it feels like a never-ending process for you...


Attachments:
SKIES2.zip [3.21 MiB]
Downloaded 32 times
Top
   
PostPosted: Sun Apr 10, 2022 5:27 pm 

Joined: Sat Sep 28, 2019 7:00 pm
Posts: 646
@KL3W: Those textures are totally fine. I suppose your software doesn't support dds with BC6/7 data properly.

_________________
You can request AES keys on rin forums (the list with keys is also there)
AES keys finder and latest UE4 bms scripts: in this post


Top
   
PostPosted: Sun Apr 10, 2022 5:32 pm 

Joined: Sun Jan 02, 2022 1:19 pm
Posts: 40
@spiritovod I have GIMP 2.10.30, isn't it supposed to open dds files?


Top
   
PostPosted: Sun Apr 10, 2022 6:33 pm 

Joined: Sat Sep 28, 2019 7:00 pm
Posts: 646
@KL3W: Apparently it doesn't support BC7 out of the box. I can only suggest to google for solutions or use other tools, like XnView MP or Paint.NET.

_________________
You can request AES keys on rin forums (the list with keys is also there)
AES keys finder and latest UE4 bms scripts: in this post


Top
   
PostPosted: Mon Apr 11, 2022 11:33 pm 

Joined: Sat Apr 09, 2022 6:10 am
Posts: 5
Hey Spirit,

Any chance you can get that script to unpack all files in the dat files? Like how the usual TTgames.bms script does for all the other lego games?


Top
   
PostPosted: Tue Apr 12, 2022 12:15 am 

Joined: Sat Sep 28, 2019 7:00 pm
Posts: 646
@Tythesly: There is already fixed version of original aluigi's script in this topic.

_________________
You can request AES keys on rin forums (the list with keys is also there)
AES keys finder and latest UE4 bms scripts: in this post


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 35 posts ]  Go to page 1 2 Next

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