Important information: this site is currently scheduled to go offline indefinitely by end of the year.

PSVita GXT PVTRC2 Problems

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
luxox18
mega-veteran
mega-veteran
Posts: 176
Joined: Fri Jul 29, 2011 9:18 pm
Has thanked: 54 times
Been thanked: 46 times

PSVita GXT PVTRC2 Problems

Post 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

Image

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
Last edited by luxox18 on Sat Jun 11, 2016 2:58 am, edited 1 time in total.
Acewell
VIP member
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)

Post 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
Image

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
:D
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.
luxox18
mega-veteran
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)

Post 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

Image
512x512 UBC1 (similar to BC1 but Swizzled)



Image
512x512 swizzled UBC3 (alpha) (similar to BC3 but Swizzled)

This is result with a UBC1 header

Image

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:

Image

if someone know what happened here it would be very useful the information.

sample images
http://www.mediafire.com/download/1dost ... amples.rar
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4291
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1150 times
Been thanked: 2243 times

Re: PSVita Swizzling DDS Format (GXT Without Header)

Post 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.)
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?"
luxox18
mega-veteran
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

Post by luxox18 »

here are others looks of the problem from other texture files

Image
Image

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)
Gh0stBlade
Moderator
Posts: 719
Joined: Mon Jul 05, 2010 8:55 pm
Has thanked: 20 times
Been thanked: 496 times

Re: PSVita GXT PVTRC2 Problems

Post by Gh0stBlade »

Looks like either wrong DDS format or an issue with the unswizzling.
Click the thanks button if I helped!
o0DemonBoy0o
veteran
Posts: 106
Joined: Tue Apr 03, 2012 6:02 am
Has thanked: 11 times
Been thanked: 12 times

Re: PSVita GXT PVTRC2 Problems

Post 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

Image
luxox18
mega-veteran
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

Post by luxox18 »

Thanks o0DemonBoy0o, this script is very useful ;)
Acewell
VIP member
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

Post by Acewell »

thats the same script that comes with the Noesis installation :D
luxox18
mega-veteran
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

Post by luxox18 »

AceWell wrote:
thats the same script that comes with the Noesis installation :D
haha, many times the solutions are just around the corner, the problem is to know which corner. That's why is important the knowledge :D
Acewell
VIP member
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

Post 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 (:
You do not have the required permissions to view the files attached to this post.
Post Reply