Raw texture previewer/converter
-
- Posts: 719
- Joined: Sat Sep 28, 2019 7:00 pm
Re: Raw texture previewer/converter
@ChrisX930: All works fine here. Exported from umodel with pre-defined platform in settings:
https://i.imgur.com/2qP6bA1.png
https://i.imgur.com/DtVf1m8.jpg
https://i.imgur.com/lJoUNyW.png
https://i.imgur.com/ECvHW7q.jpg
Also, don't extract assets, just open pak in umodel directly.
https://i.imgur.com/2qP6bA1.png
https://i.imgur.com/DtVf1m8.jpg
https://i.imgur.com/lJoUNyW.png
https://i.imgur.com/ECvHW7q.jpg
Also, don't extract assets, just open pak in umodel directly.
-
- Posts: 1040
- Joined: Sun Mar 22, 2015 7:09 pm
Re: Raw texture previewer/converter
i cant help you without original files
pngs will not help
pngs will not help
-
- Posts: 1040
- Joined: Sun Mar 22, 2015 7:09 pm
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.
-
- Posts: 1
- Joined: Tue Aug 11, 2020 3:42 am
Re: Raw texture previewer/converter
@id-daemon Where can the PS3 swizzling algorithm be found?
EDIT: I found the code in the PRCS3 code: https://github.com/RPCS3/rpcs3/blob/be4 ... sx_utils.h
Thanks for the great program though!
EDIT: I found the code in the PRCS3 code: https://github.com/RPCS3/rpcs3/blob/be4 ... sx_utils.h
Thanks for the great program though!
-
- Posts: 2
- Joined: Tue Dec 29, 2020 6:55 pm
Re: Raw texture previewer/converter
This tool is a legend. Does the cmd tool take swizzle arguments? If so, how? Thanks in advance!
-
- Posts: 1040
- Joined: Sun Mar 22, 2015 7:09 pm
Re: Raw texture previewer/converter
No, its not.
p.s. there is a separate cmd tool for ps4 swizzle.
p.s. there is a separate cmd tool for ps4 swizzle.
-
- Posts: 2
- Joined: Tue Dec 29, 2020 6:55 pm
Re: Raw texture previewer/converter
would it be possible to add the Nintendo switch swizzle function to the cmd tool? It would be very useful for batch jobs.
Besides, when I tried the GUI tool with BC3 (DXT5), image size of 16*16 or smaller would throw an exception. Though, in most cases it's not an issue as the image size is usually bigger than that.
Besides, when I tried the GUI tool with BC3 (DXT5), image size of 16*16 or smaller would throw an exception. Though, in most cases it's not an issue as the image size is usually bigger than that.
-
- Posts: 647
- Joined: Tue Jul 24, 2018 8:52 am
Re: Raw texture previewer/converter
I too could use a Switch Swizzle CMD function.
-
- Posts: 1
- Joined: Mon Apr 25, 2022 2:55 am
Re: Raw texture previewer/converter
Hi, so after convert to .dds file, I can convert it to .png file to edit it. Then how to I convert the .png file back to .tex file?
-
- Posts: 2
- Joined: Sun Sep 30, 2018 10:46 am
Re: Raw texture previewer/converter
Hey, not sure if this thread is still alive but is there a way to generate mipmaps within the convert?
-
- Posts: 2
- Joined: Thu Sep 22, 2022 6:28 pm
Re: Raw texture previewer/converter
[Edit] Disregard—figured it out after hours of guesswork!
-
- Posts: 44
- Joined: Tue Sep 14, 2021 12:25 am
Re: Raw texture previewer/converter
Hi, thanks for the tool. I have a font file but couldn't find any way to extract it to DDS. I used rawtext to get some clues.
How can I find the perfect settings? Thanks in advance!!
Example fonts:
https://drive.google.com/file/d/1CffUcI ... sp=sharing
How can I find the perfect settings? Thanks in advance!!
Example fonts:
https://drive.google.com/file/d/1CffUcI ... sp=sharing
-
- Posts: 44
- Joined: Tue Sep 14, 2021 12:25 am
Re: Raw texture previewer/converter
I find it using AMD Compressonator. These files are BC3 512x512.CidQu wrote:Hi, thanks for the tool. I have a font file but couldn't find any way to extract it to DDS. I used rawtext to get some clues.
How can I find the perfect settings? Thanks in advance!!
Example fonts:
https://drive.google.com/file/d/1CffUcI ... sp=sharing
-
- Posts: 1040
- Joined: Sun Mar 22, 2015 7:09 pm
Re: Raw texture previewer/converter
New version released, with partial support for PS5 swizzle.
It only works with block-compressed images (BC1-BC7) and 32-bit raw images (such as 4-byte RGBA).
If I can find other types used in PS5 games i can update it.
It only works with block-compressed images (BC1-BC7) and 32-bit raw images (such as 4-byte RGBA).
If I can find other types used in PS5 games i can update it.
-
- Posts: 4
- Joined: Wed Dec 21, 2022 3:20 am
Re: Raw texture previewer/converter
[quote="id-daemon"]New version released, with partial support for PS5 swizzle.
When I try to convert a swizzled image, I get a dds file that looks like TV static (see attached image). Am I doing something wrong? Or is it a problem with the file? The files I'm converting are .bundle files (ex: sp_cdil_com_y16592.bundle). I can see them swizzled in Asset Studio GUI though.
When I try to convert a swizzled image, I get a dds file that looks like TV static (see attached image). Am I doing something wrong? Or is it a problem with the file? The files I'm converting are .bundle files (ex: sp_cdil_com_y16592.bundle). I can see them swizzled in Asset Studio GUI though.
-
- Posts: 1
- Joined: Fri Jan 13, 2023 3:54 pm
Re: Raw texture previewer/converter
Blaze Did you find any solution to this? I have the same problem
Blaze Accelerator wrote:id-daemon wrote:New version released, with partial support for PS5 swizzle.
When I try to convert a swizzled image, I get a dds file that looks like TV static (see attached image). Am I doing something wrong? Or is it a problem with the file? The files I'm converting are .bundle files (ex: sp_cdil_com_y16592.bundle). I can see them swizzled in Asset Studio GUI though.