Hello! I'm trying to convert some textures from PS vita games, in this case Killzone Mercenary. But I can't obtain properly files.
I can see textures with texture finder as DXT1 or DXT5 formats but all files are swizzling
also, I tried to add some PVR headers (PVRTC), the textures look unswizzled but with bad colors and very pixelated.
maybe someone here have experience with this formats. ( maybe this tool can help. I don't have the necessary requirements to compile the tool https://github.com/xdanieldzd/GXTConvert )
here are some raw samples
http://www.mediafire.com/download/f1m4p ... es_kzv.rar
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
PSVita GXT PVTRC2 Problems
-
- VIP member
- Posts: 1330
- Joined: Wed Nov 05, 2008 12:16 pm
- Has thanked: 2710 times
- Been thanked: 884 times
Re: PSVita Swizzling DDS Format (GXT Without Header)
I tried to get something out of your samples with an experimental Noesis script i made using the unswizzle part of mikulover39's gxt script posted here
viewtopic.php?f=16&t=14419&p=119216&hilit=gxt#p119216
i gave your samples a gxt extension, the text2_n sample looked good
i couldn't get anything decent from text2_d or text2_s
here is the experimental script if you want to mess around with it
viewtopic.php?f=16&t=14419&p=119216&hilit=gxt#p119216
i gave your samples a gxt extension, the text2_n sample looked good
i couldn't get anything decent from text2_d or text2_s
here is the experimental script if you want to mess around with it
You do not have the required permissions to view the files attached to this post.
Last edited by Acewell on Fri Sep 23, 2016 7:48 am, edited 1 time in total.
-
- mega-veteran
- Posts: 176
- Joined: Fri Jul 29, 2011 9:18 pm
- Has thanked: 54 times
- Been thanked: 46 times
Re: PSVita Swizzling DDS Format (GXT Without Header)
Thanks a lot AceWell for the script will be very useful in the future for other GXT formats.
some days ago I discovered how to convert the textures used GXTconvert + adding the following headers to the RAW GXT data
512x512 UBC1 (similar to BC1 but Swizzled)
512x512 swizzled UBC3 (alpha) (similar to BC3 but Swizzled)
This is result with a UBC1 header
now I have other problem with some GXT textures.
Some files use format PVRTC2 4BPP, GXTconvert doesn't support PVRTC2 formats, so I used pvrtextool for convert the file in a DDS UBC3 texture, then I used GXTconvert with the new file for obtain a unswizzled texture but the result is this:
if someone know what happened here it would be very useful the information.
sample images
http://www.mediafire.com/download/1dost ... amples.rar
some days ago I discovered how to convert the textures used GXTconvert + adding the following headers to the RAW GXT data
512x512 UBC1 (similar to BC1 but Swizzled)
512x512 swizzled UBC3 (alpha) (similar to BC3 but Swizzled)
This is result with a UBC1 header
now I have other problem with some GXT textures.
Some files use format PVRTC2 4BPP, GXTconvert doesn't support PVRTC2 formats, so I used pvrtextool for convert the file in a DDS UBC3 texture, then I used GXTconvert with the new file for obtain a unswizzled texture but the result is this:
if someone know what happened here it would be very useful the information.
sample images
http://www.mediafire.com/download/1dost ... amples.rar
- shakotay2
- MEGAVETERAN
- Posts: 4285
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1147 times
- Been thanked: 2242 times
Re: PSVita Swizzling DDS Format (GXT Without Header)
what's wrong with the texture?luxox18 wrote:if someone know what happened here
The checker pattern? Maybe it's for marking transparency? (just a wild guess.)
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
-
- mega-veteran
- Posts: 176
- Joined: Fri Jul 29, 2011 9:18 pm
- Has thanked: 54 times
- Been thanked: 46 times
Re: PSVita GXT PVRTC2 problems
here are others looks of the problem from other texture files
and here is one DDS file for a better analysis of the issue
http://download1646.mediafire.com/hp9vh ... body_s.dds
and about transparency, the normal texture posted in the previous post have no alpha channel. The dds file above this line have alpha but looks bad too ( I think that when I converted the PVRTC2 texture to DDS-UBC3 and then to normal DDS there are loss of information in the file)
and here is one DDS file for a better analysis of the issue
http://download1646.mediafire.com/hp9vh ... body_s.dds
and about transparency, the normal texture posted in the previous post have no alpha channel. The dds file above this line have alpha but looks bad too ( I think that when I converted the PVRTC2 texture to DDS-UBC3 and then to normal DDS there are loss of information in the file)
-
- Moderator
- Posts: 719
- Joined: Mon Jul 05, 2010 8:55 pm
- Has thanked: 20 times
- Been thanked: 496 times
Re: PSVita GXT PVTRC2 Problems
Looks like either wrong DDS format or an issue with the unswizzling.
Click the thanks button if I helped!
-
- veteran
- Posts: 106
- Joined: Tue Apr 03, 2012 6:02 am
- Has thanked: 11 times
- Been thanked: 12 times
Re: PSVita GXT PVTRC2 Problems
Adding a pvr header to the image then using this script to reorder to linear seems to work fine. Just make sure
ENABLE_PVR_REORDERING_TOOL = True
http://himeworks.com/redirect.php?type= ... =pvrtc_pvr
ENABLE_PVR_REORDERING_TOOL = True
http://himeworks.com/redirect.php?type= ... =pvrtc_pvr
-
- VIP member
- Posts: 1330
- Joined: Wed Nov 05, 2008 12:16 pm
- Has thanked: 2710 times
- Been thanked: 884 times
-
- mega-veteran
- Posts: 176
- Joined: Fri Jul 29, 2011 9:18 pm
- Has thanked: 54 times
- Been thanked: 46 times
Re: PSVita GXT PVTRC2 Problems
haha, many times the solutions are just around the corner, the problem is to know which corner. That's why is important the knowledgeAceWell wrote:thats the same script that comes with the Noesis installation
-
- VIP member
- Posts: 1330
- Joined: Wed Nov 05, 2008 12:16 pm
- Has thanked: 2710 times
- Been thanked: 884 times
Re: PSVita GXT PVTRC2 Problems
this is the pvr script from finale00's old Dropbox repository
the repository on his himeworks.com website
he must have got them mixed up when he was rebuildingthe repository on his himeworks.com website
You do not have the required permissions to view the files attached to this post.