Page 5 of 5

Re: Raw texture previewer/converter

Posted: Mon Sep 09, 2019 2:11 am
by xLegacyGT
Thank you for your work daemon1.

I'm having issues with getting the preview to work, I added texconv.exe into the same folder as your tools and it still wont work. I also tried the methods mentioned in previous posts.

Re: Raw texture previewer/converter

Posted: Mon Sep 09, 2019 5:49 pm
by NWPlayer123
Any chance you could post the source code? would be pretty useful, even if it isn't the best coding in the world

Re: Raw texture previewer/converter

Posted: Sat Nov 09, 2019 12:37 pm
by Turisto
Unfortunately this tool doesn't support uncompressed rgba formats.
There are lot of such textures in PS4 "The Last of us" in swizzled form.

Re: Raw texture previewer/converter

Posted: Sat Nov 09, 2019 1:38 pm
by daemon1
Turisto wrote:
Sat Nov 09, 2019 12:37 pm
Unfortunately this tool doesn't support uncompressed rgba formats.
There are lot of such textures in PS4 "The Last of us" in swizzled form.
the tool SUPPORTS uncompressed rgba formats.

Re: Raw texture previewer/converter

Posted: Tue Dec 17, 2019 6:57 pm
by chrnodroid
Sample file:
https://mega.nz/#!e4UnyCyS!ayMSZh6V38Li ... 2UGICo-_jI

What's the problem here?

The texture should be b8g8r8a8 with ps4 swizzling

Image

thank you in advance :)

Re: Raw texture previewer/converter

Posted: Tue Dec 17, 2019 7:53 pm
by TheUkrainianBard
Because:
1) offset is 1E0
2) format is b8g8r8a8_unorm

Re: Raw texture previewer/converter

Posted: Tue Dec 17, 2019 8:17 pm
by chrnodroid
TheUkrainianBard wrote:
Tue Dec 17, 2019 7:53 pm
Because:
1) offset is 1E0
2) format is b8g8r8a8_unorm
Thank you very much!!!! :D
Have a nice day!

Re: Raw texture previewer/converter

Posted: Sat Dec 28, 2019 6:42 pm
by JahsehLLJ
Sample files:
https://drive.google.com/open?id=102hxJ ... l0sCf6MDX3

Image

What i'm supposed to do? I'm almost sure that theses files are textures, but he can't recognize...

Re: Raw texture previewer/converter

Posted: Mon Mar 30, 2020 2:14 am
by Kabalstein03
Hello there, i'm trying to use this program to convert some textures from Borderlands 3, these "colorize arrays" that can help us paint the model textures with their respective colors, so far I've tried to put them through this software but they come out very pixelated, repeated, or in very low quality.

I'll provide a link for anyone to see if they can manage to port these out successfully, or at least find the right settings to port these out, any help is appreciated, thank you.
http://www.mediafire.com/file/3eu7oypyy ... y.zip/file

Re: Raw texture previewer/converter

Posted: Thu Jun 18, 2020 4:11 pm
by daemon1
I should've done that long time ago probably...

PS4 command line version added. Usage is the same as usual command line tool, but textures will be PS4-unswizzled. Now you can run batches on PS4 textures.

Re: Raw texture previewer/converter

Posted: Fri Jul 03, 2020 2:16 pm
by Blorbster
The PS4 command line version consistently crashes for me on every file I've tested:

Code: Select all

Unhandled Exception: System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
   at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
   at RawtexBatch.RawtexBatch.Main(String[] args)
If I run the regular command line version with the same parameters, it works (but the file is obviously swizzled).

Re: Raw texture previewer/converter

Posted: Fri Jul 03, 2020 4:37 pm
by daemon1
Blorbster wrote:
Fri Jul 03, 2020 2:16 pm
The PS4 command line version consistently crashes for me on every file I've tested:
If I run the regular command line version with the same parameters, it works (but the file is obviously swizzled).
Its not crashing here whatever i try on any images.
You must be using some VERY wrong parameters which is impossible to use in swizzling.

Re: Raw texture previewer/converter

Posted: Fri Jul 03, 2020 6:25 pm
by Blorbster
daemon1 wrote:
Fri Jul 03, 2020 4:37 pm
Its not crashing here whatever i try on any images.
You must be using some VERY wrong parameters which is impossible to use in swizzling.
The exact command I'm running is:

Code: Select all

.\rawtexcmd_ps4.exe "ps4texture.example" BC3 0x72cce 1040 1720
It works correctly if I use those same parameters with PS4 swizzling in the GUI, or in the non-PS4 version.

Re: Raw texture previewer/converter

Posted: Fri Jul 03, 2020 11:26 pm
by RavenMac
Got two questions:
1) To batch process files, do i just select the folder they are all in? I saw it was added quite a while back, but with no explanation.

2) Is there any option to select swizzles in the command line version? Trying to use the switch swizzle on a few thousand files.

Great tool by the way. I love just exploring game files.