XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Thu Nov 15, 2018 1:55 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 36 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Raw texture previewer/converter
PostPosted: Tue Jun 27, 2017 6:22 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1703
Has thanked: 38 times
Have thanks: 1128 times














You can make the ads go away by registering

Since I was finally tired of making DDS headers manually every time I need to check images from researched games, I made this tool. It needs microsoft's texconv to work.

Unlike texturefinder, it supports all image types and immediately converts to working DDS and PNG.
Supports PS3, PS4 and Nintendo Switch swizzle types.

UI version usage:
- drag&drop raw image onto ANY place on a window. This will try and detect image dimensions based on file size, make DDS header, convert to PNG and show it.
- If you don't like the result, change some settings then press SPACE (or click big button).

Command line version usage:
RawtexCmd <filename> [format] [offset] [width] [height]
<format> = BC1...BC7,BC5U,BC5S,DXT1,DXT3,DXT5 or decimal DX10 code
if no format specified, supposed DXT1
<width>, <height> - decimal
if no size specified, its guessed, like in UI tool
<offset> - hex

Examples:
RawtexCmd tex1.raw
RawtexCmd tex1.raw bc7
RawtexCmd tex1.raw bc7 10CF0
RawtexCmd tex1.raw bc7 10CF0 1024 1024

Image


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Last edited by daemon1 on Thu Jun 07, 2018 12:04 pm, edited 4 times in total.

Top
 Profile  
 
 Post subject: Re: Raw texture previewer/converter
PostPosted: Sun Dec 17, 2017 6:25 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1703
Has thanked: 38 times
Have thanks: 1128 times
All new command line version! You can use it to run batches on thousands of files.


Top
 Profile  
 
 Post subject: Re: Raw texture previewer/converter
PostPosted: Tue May 22, 2018 3:07 am 
Offline
ultra-n00b
User avatar

Joined: Mon May 21, 2018 12:13 am
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
This may sound dumb, but when previewing a file with this tool, does it change the DXT selection on the left to show what format the image itself is using? Or do you have to manually adjust that yourself? I'm actually trying to possibly use this tool to read what type of DXT file some images I already have are, so I know what to convert modified versions back into.


Top
 Profile  
 
 Post subject: Re: Raw texture previewer/converter
PostPosted: Tue May 22, 2018 4:17 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1703
Has thanked: 38 times
Have thanks: 1128 times
there is NO WAY to detect DXT format, so you have to choose yourself


Top
 Profile  
 
 Post subject: Re: Raw texture previewer/converter
PostPosted: Thu Jun 07, 2018 12:05 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1703
Has thanked: 38 times
Have thanks: 1128 times
New version!
Now supports PS3, PS4 and Nintendo Switch swizzle types.


Top
 Profile  
 
 Post subject: Re: Raw texture previewer/converter
PostPosted: Thu Jul 05, 2018 12:51 pm 
Offline
ultra-n00b

Joined: Sat Mar 24, 2018 4:33 pm
Posts: 6
Has thanked: 3 times
Have thanks: 0 time
This is incredibly useful! Any chance that the swizzling options can be added to the command line version too?


Top
 Profile  
 
 Post subject: Re: Raw texture previewer/converter
PostPosted: Mon Jul 09, 2018 12:32 pm 
Offline
ultra-n00b

Joined: Wed Jul 04, 2018 7:40 am
Posts: 3
Has thanked: 3 times
Have thanks: 0 time
Image
i have this problem when use it to open MHXX(MHGU) switch. Can you fix this?


Top
 Profile  
 
 Post subject: Re: Raw texture previewer/converter
PostPosted: Mon Jul 09, 2018 3:50 pm 
Offline
ultra-n00b

Joined: Wed Jul 04, 2018 7:40 am
Posts: 3
Has thanked: 3 times
Have thanks: 0 time
Btw here is a .tex file
https://cdn.discordapp.com/attachments/465614093856931854/465837391207464960/yukumo.zip


Top
 Profile  
 
 Post subject: Re: Raw texture previewer/converter
PostPosted: Mon Jul 09, 2018 6:42 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1703
Has thanked: 38 times
Have thanks: 1128 times
game456a wrote:
i have this problem when use it to open MHXX(MHGU) switch. Can you fix this?


There's nothing to fix, everything is working perfectly. Use the field with bold letters "OFFSET"
And remove that huge screenshot, its really annoying

Image


Top
 Profile  
 
 Post subject: Re: Raw texture previewer/converter
PostPosted: Tue Jul 10, 2018 12:14 am 
Offline
beginner

Joined: Mon Jul 06, 2015 12:48 am
Posts: 31
Has thanked: 7 times
Have thanks: 2 times
does this work with PS4 texture files that have all the info located at the footer?


Top
 Profile  
 
 Post subject: Re: Raw texture previewer/converter
PostPosted: Tue Jul 10, 2018 2:00 pm 
Offline
ultra-n00b

Joined: Wed Jul 04, 2018 7:40 am
Posts: 3
Has thanked: 3 times
Have thanks: 0 time
daemon1 wrote:
game456a wrote:
i have this problem when use it to open MHXX(MHGU) switch. Can you fix this?


There's nothing to fix, everything is working perfectly. Use the field with bold letters "OFFSET"
And remove that huge screenshot, its really annoying

Image

OMG thank you so much


Top
 Profile  
 
 Post subject: Re: Raw texture previewer/converter
PostPosted: Wed Jul 11, 2018 5:56 am 
Offline
ultra-n00b

Joined: Wed Jul 11, 2018 5:49 am
Posts: 1
Has thanked: 1 time
Have thanks: 0 time
This is awesome! Could you please add an option for setting texture swizzling type through the Command Line? It'd be incredibly helpful for converting all the textures in an entire game's folders all in one go.

Thanks (and thanks for making this tool in the first place).


Top
 Profile  
 
 Post subject: Re: Raw texture previewer/converter
PostPosted: Thu Jul 19, 2018 4:14 pm 
Offline
ultra-n00b

Joined: Wed Nov 01, 2017 7:27 am
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
I tried this with a PS4 game, Final Fantasy Dissidia NT, textures seem to be swizzled somehow, however it seems to not be the standard PS4 swizzling?

Here are 2 simple sample files, the Square Enix logo and the Koei Tecmo logos shown when booting the game.

https://cdn.discordapp.com/attachments/ ... /logo_sqex
https://cdn.discordapp.com/attachments/ ... 84/logo_kt

Any ideas on what this could be?


Top
 Profile  
 
 Post subject: Re: Raw texture previewer/converter
PostPosted: Thu Jul 19, 2018 4:36 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1703
Has thanked: 38 times
Have thanks: 1128 times
its standard PS4 swizzling, just set correct size, 1920x1080, the size is in the file


Top
 Profile  
 
 Post subject: Re: Raw texture previewer/converter
PostPosted: Thu Jul 19, 2018 5:06 pm 
Offline
ultra-n00b

Joined: Wed Nov 01, 2017 7:27 am
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
Ah you were correct, thanks!


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


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:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group