Page 1 of 1
PSVita GXT PVTRC2 Problems
Posted: Thu May 26, 2016 9:49 am
by luxox18
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
Re: PSVita Swizzling DDS Format (GXT Without Header)
Posted: Sun Jun 05, 2016 7:36 pm
by Acewell
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
tex_PSVitaX_gxt.zip
Re: PSVita Swizzling DDS Format (GXT Without Header)
Posted: Mon Jun 06, 2016 9:29 am
by luxox18
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
Re: PSVita Swizzling DDS Format (GXT Without Header)
Posted: Mon Jun 06, 2016 11:55 pm
by shakotay2
luxox18 wrote:if someone know what happened here
what's wrong with the texture?
The checker pattern? Maybe it's for marking transparency? (just a wild guess.)
Re: PSVita GXT PVRTC2 problems
Posted: Fri Jun 10, 2016 9:54 am
by luxox18
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)
Re: PSVita GXT PVTRC2 Problems
Posted: Sat Jun 11, 2016 1:14 pm
by Gh0stBlade
Looks like either wrong DDS format or an issue with the unswizzling.
Re: PSVita GXT PVTRC2 Problems
Posted: Fri Sep 23, 2016 7:42 am
by o0DemonBoy0o
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
Re: PSVita GXT PVTRC2 Problems
Posted: Sun Oct 02, 2016 4:34 am
by luxox18
Thanks o0DemonBoy0o, this script is very useful
Re: PSVita GXT PVTRC2 Problems
Posted: Sun Oct 02, 2016 3:06 pm
by Acewell
thats the same script that comes with the Noesis installation
Re: PSVita GXT PVTRC2 Problems
Posted: Mon Oct 03, 2016 3:42 am
by luxox18
AceWell wrote:
thats the same script that comes with the Noesis installation
haha, many times the solutions are just around the corner, the problem is to know which corner. That's why is important the knowledge
Re: PSVita GXT PVTRC2 Problems
Posted: Mon Oct 17, 2016 11:15 pm
by Acewell
this is the pvr script from finale00's old Dropbox repository
tex_powerVR_pvr.zip
he must have got them mixed up when he was rebuilding
the repository on his himeworks.com website