XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sun Sep 23, 2018 4:44 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: WRC 6 .PTX Texture Files
PostPosted: Thu Feb 23, 2017 7:21 am 
Offline
beginner

Joined: Sat Oct 25, 2014 3:31 am
Posts: 39
Has thanked: 3 times
Have thanks: 8 times
Hi everybody, I've tried convert to .dds the textures from this game, but the only i get from this file is a .Rif file, I opened in Hex and find the words Riff and DTX1.

Here's a sample:



Best Regards.


Attachments:


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



Top
 Profile  
 
 Post subject: World Rally Championship 6 (*.PTX)
PostPosted: Tue Dec 26, 2017 2:34 am 
Offline
VIP member
VIP member
User avatar

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 1105
Has thanked: 2201 times
Have thanks: 623 times
your sample is lz4f compressed, here is bms script to decompress it. :D
Code:
# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

comtype lz4f
get ZSIZE asize
goto 0x11
get SIZE long
math SIZE + 8
get NAME basename
get EXT extension
string NAME + _decomp.
string NAME + EXT
clog NAME 0 ZSIZE SIZE


i need more than one sample to compare for a script to open decompressed texture. (:

_________________
Noesis
Hex2obj
QuickBMS
Asset Studio
TextureFinder


Top
 Profile  
 
 Post subject: Re: WRC 6 .PTX Texture Files
PostPosted: Wed Apr 18, 2018 5:02 pm 
Offline
ultra-n00b

Joined: Wed Apr 18, 2018 4:00 pm
Posts: 5
Has thanked: 0 time
Have thanks: 0 time
Will you take a look at some TT Isle of Man PTX files from the same devs?


Attachments:


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



Top
 Profile  
 
 Post subject: Re: WRC 6 .PTX Texture Files
PostPosted: Wed Apr 18, 2018 5:06 pm 
Offline
ultra-n00b

Joined: Wed Apr 18, 2018 4:00 pm
Posts: 5
Has thanked: 0 time
Have thanks: 0 time
Another:


Attachments:


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



Top
 Profile  
 
 Post subject: Re: WRC 6 .PTX Texture Files
PostPosted: Wed Apr 18, 2018 5:08 pm 
Offline
ultra-n00b

Joined: Wed Apr 18, 2018 4:00 pm
Posts: 5
Has thanked: 0 time
Have thanks: 0 time
Last one.


Attachments:


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



Top
 Profile  
 
 Post subject: World Rally Championship 6 (.PTX)
PostPosted: Thu Apr 19, 2018 3:02 am 
Offline
VIP member
VIP member
User avatar

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 1105
Has thanked: 2201 times
Have thanks: 623 times
here is Noesis python script to open your ptx samples and the decompressed one from first post :D
*script updated April 19, 2018*

supports dxt1, dxt5 and bc5s, top level mip only


Attachments:


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


_________________
Noesis
Hex2obj
QuickBMS
Asset Studio
TextureFinder


Last edited by AceWell on Thu Apr 19, 2018 11:57 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: WRC 6 .PTX Texture Files
PostPosted: Thu Apr 19, 2018 8:39 am 
Offline
ultra-n00b

Joined: Wed Apr 18, 2018 4:00 pm
Posts: 5
Has thanked: 0 time
Have thanks: 0 time
Thanks, it works on these smaller files but the script seems to have issues with the bigger sized textures. The bikes for example (around 21MB) show this error:

Image

If you have time to take a look: https://www.sendspace.com/file/grc3fb


Top
 Profile  
 
 Post subject: Re: WRC 6 .PTX Texture Files
PostPosted: Thu Apr 19, 2018 11:59 pm 
Offline
VIP member
VIP member
User avatar

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 1105
Has thanked: 2201 times
Have thanks: 623 times
okay previous script updated to support BC5S :D
viewtopic.php?p=139861#p139861

_________________
Noesis
Hex2obj
QuickBMS
Asset Studio
TextureFinder


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


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