XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sun Jul 22, 2018 1:25 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: PSVita GXT PVTRC2 Problems
PostPosted: Thu May 26, 2016 9:49 am 
Offline
mega-veteran
mega-veteran

Joined: Fri Jul 29, 2011 9:18 pm
Posts: 176
Has thanked: 54 times
Have thanks: 41 times














You can make the ads go away by registering

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.

Top
 Profile  
 
 Post subject: Re: PSVita Swizzling DDS Format (GXT Without Header)
PostPosted: Sun Jun 05, 2016 7:36 pm 
Offline
VIP member
VIP member
User avatar

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 1098
Has thanked: 2167 times
Have thanks: 611 times
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

:D


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
Noesis
Hex2obj
QuickBMS
Unity Studio
TextureFinder


Last edited by AceWell on Fri Sep 23, 2016 7:48 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: PSVita Swizzling DDS Format (GXT Without Header)
PostPosted: Mon Jun 06, 2016 9:29 am 
Offline
mega-veteran
mega-veteran

Joined: Fri Jul 29, 2011 9:18 pm
Posts: 176
Has thanked: 54 times
Have thanks: 41 times
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


Top
 Profile  
 
 Post subject: Re: PSVita Swizzling DDS Format (GXT Without Header)
PostPosted: Mon Jun 06, 2016 11:55 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2314
Location: Nexus, searching for Jim Kirk
Has thanked: 526 times
Have thanks: 1201 times
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.)

_________________
"you can't always get things served on a silver tray"
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip

"We are Microsoft. You will be assimilated. Resistance is Futile."


Top
 Profile  
 
 Post subject: Re: PSVita GXT PVRTC2 problems
PostPosted: Fri Jun 10, 2016 9:54 am 
Offline
mega-veteran
mega-veteran

Joined: Fri Jul 29, 2011 9:18 pm
Posts: 176
Has thanked: 54 times
Have thanks: 41 times
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)


Top
 Profile  
 
 Post subject: Re: PSVita GXT PVTRC2 Problems
PostPosted: Sat Jun 11, 2016 1:14 pm 
Offline
Moderator

Joined: Mon Jul 05, 2010 8:55 pm
Posts: 614
Has thanked: 19 times
Have thanks: 236 times
Looks like either wrong DDS format or an issue with the unswizzling.

_________________
Click the thanks button if I helped!


Top
 Profile  
 
 Post subject: Re: PSVita GXT PVTRC2 Problems
PostPosted: Fri Sep 23, 2016 7:42 am 
Offline
veteran

Joined: Tue Apr 03, 2012 6:02 am
Posts: 106
Has thanked: 11 times
Have thanks: 12 times
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


Top
 Profile  
 
 Post subject: Re: PSVita GXT PVTRC2 Problems
PostPosted: Sun Oct 02, 2016 4:34 am 
Offline
mega-veteran
mega-veteran

Joined: Fri Jul 29, 2011 9:18 pm
Posts: 176
Has thanked: 54 times
Have thanks: 41 times
Thanks o0DemonBoy0o, this script is very useful ;)


Top
 Profile  
 
 Post subject: Re: PSVita GXT PVTRC2 Problems
PostPosted: Sun Oct 02, 2016 3:06 pm 
Offline
VIP member
VIP member
User avatar

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 1098
Has thanked: 2167 times
Have thanks: 611 times
Quote:

thats the same script that comes with the Noesis installation :D

_________________
Noesis
Hex2obj
QuickBMS
Unity Studio
TextureFinder


Top
 Profile  
 
 Post subject: Re: PSVita GXT PVTRC2 Problems
PostPosted: Mon Oct 03, 2016 3:42 am 
Offline
mega-veteran
mega-veteran

Joined: Fri Jul 29, 2011 9:18 pm
Posts: 176
Has thanked: 54 times
Have thanks: 41 times
AceWell wrote:
Quote:

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


Top
 Profile  
 
 Post subject: Re: PSVita GXT PVTRC2 Problems
PostPosted: Mon Oct 17, 2016 11:15 pm 
Offline
VIP member
VIP member
User avatar

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 1098
Has thanked: 2167 times
Have thanks: 611 times
this is the pvr script from finale00's old Dropbox repository


he must have got them mixed up when he was rebuilding
the repository on his himeworks.com website (:


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
Noesis
Hex2obj
QuickBMS
Unity Studio
TextureFinder


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: rkthelegend and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group