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.
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Raw texture previewer/converter
-
- ultra-n00b
- Posts: 1
- Joined: Tue Mar 27, 2012 8:27 pm
- Been thanked: 1 time
Re: Raw texture previewer/converter
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
Unfortunately this tool doesn't support uncompressed rgba formats.
There are lot of such textures in PS4 "The Last of us" in swizzled form.
There are lot of such textures in PS4 "The Last of us" in swizzled form.
-
- MEGAVETERAN
- Posts: 2647
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 65 times
- Been thanked: 2871 times
-
- ultra-n00b
- Posts: 5
- Joined: Tue Dec 17, 2019 10:41 am
- Been thanked: 2 times
Re: Raw texture previewer/converter
Sample file:
https://mega.nz/#!e4UnyCyS!ayMSZh6V38Li ... 2UGICo-_jI
What's the problem here?
The texture should be b8g8r8a8 with ps4 swizzling
thank you in advance
https://mega.nz/#!e4UnyCyS!ayMSZh6V38Li ... 2UGICo-_jI
What's the problem here?
The texture should be b8g8r8a8 with ps4 swizzling
thank you in advance
-
- beginner
- Posts: 21
- Joined: Wed Jun 28, 2017 7:51 pm
- Has thanked: 4 times
- Been thanked: 20 times
-
- ultra-n00b
- Posts: 5
- Joined: Tue Dec 17, 2019 10:41 am
- Been thanked: 2 times
Re: Raw texture previewer/converter
Thank you very much!!!!TheUkrainianBard wrote: ↑Tue Dec 17, 2019 7:53 pm Because:
1) offset is 1E0
2) format is b8g8r8a8_unorm
Have a nice day!
Re: Raw texture previewer/converter
Sample files:
https://drive.google.com/open?id=102hxJ ... l0sCf6MDX3
What i'm supposed to do? I'm almost sure that theses files are textures, but he can't recognize...
https://drive.google.com/open?id=102hxJ ... l0sCf6MDX3
What i'm supposed to do? I'm almost sure that theses files are textures, but he can't recognize...
-
- n00b
- Posts: 11
- Joined: Thu Jun 09, 2016 2:36 am
- Has thanked: 1 time
- Been thanked: 2 times
Re: Raw texture previewer/converter
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
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
You do not have the required permissions to view the files attached to this post.
-
- MEGAVETERAN
- Posts: 2647
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 65 times
- Been thanked: 2871 times
Re: Raw texture previewer/converter
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.
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.
-
- n00b
- Posts: 11
- Joined: Sat Mar 24, 2018 4:33 pm
- Has thanked: 3 times
- Been thanked: 5 times
Re: Raw texture previewer/converter
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).
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)
-
- MEGAVETERAN
- Posts: 2647
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 65 times
- Been thanked: 2871 times
Re: Raw texture previewer/converter
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.
-
- n00b
- Posts: 11
- Joined: Sat Mar 24, 2018 4:33 pm
- Has thanked: 3 times
- Been thanked: 5 times
Re: Raw texture previewer/converter
The exact command I'm running is:
Code: Select all
.\rawtexcmd_ps4.exe "ps4texture.example" BC3 0x72cce 1040 1720
-
- ultra-n00b
- Posts: 2
- Joined: Sun Apr 07, 2019 4:00 am
- Has thanked: 2 times
- Been thanked: 1 time
Re: Raw texture previewer/converter
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.
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.
Re: Raw texture previewer/converter
Hi Master,
I'm working with your program and is amazing, but I have a question about.
Your program get a .nhtex "switch swizzle" file and convert to .dds file perfectly with the correct parameters, but is posible to do the reverse, I mean get a .dds file and convert to a .nhtex "switch swizzle" file?
Thanks.
Best Regards
Rafa