WRC 6 .PTX Texture Files

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
cornal
beginner
Posts: 39
Joined: Sat Oct 25, 2014 3:31 am
Has thanked: 3 times
Been thanked: 9 times

WRC 6 .PTX Texture Files

Post by cornal » Thu Feb 23, 2017 7:21 am

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:
OPTICS_DIFF.rar
Best Regards.
You do not have the required permissions to view the files attached to this post.

User avatar
Acewell
VIP member
VIP member
Posts: 1225
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2363 times
Been thanked: 707 times

World Rally Championship 6 (*.PTX)

Post by Acewell » Tue Dec 26, 2017 2:34 am

your sample is lz4f compressed, here is bms script to decompress it. :D

Code: Select all

# 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. (:

JesterSnap
ultra-n00b
Posts: 5
Joined: Wed Apr 18, 2018 4:00 pm

Re: WRC 6 .PTX Texture Files

Post by JesterSnap » Wed Apr 18, 2018 5:02 pm

Will you take a look at some TT Isle of Man PTX files from the same devs?
You do not have the required permissions to view the files attached to this post.

JesterSnap
ultra-n00b
Posts: 5
Joined: Wed Apr 18, 2018 4:00 pm

Re: WRC 6 .PTX Texture Files

Post by JesterSnap » Wed Apr 18, 2018 5:06 pm

Another:
You do not have the required permissions to view the files attached to this post.

JesterSnap
ultra-n00b
Posts: 5
Joined: Wed Apr 18, 2018 4:00 pm

Re: WRC 6 .PTX Texture Files

Post by JesterSnap » Wed Apr 18, 2018 5:08 pm

Last one.
You do not have the required permissions to view the files attached to this post.

User avatar
Acewell
VIP member
VIP member
Posts: 1225
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2363 times
Been thanked: 707 times

World Rally Championship 6 (.PTX)

Post by Acewell » Thu Apr 19, 2018 3:02 am

here is Noesis python script to open your ptx samples and the decompressed one from first post :D
*script updated Feb 27, 2019*
tex_WorldRallyChampionship6_ptx.zip
supports dxt1, dxt5, rgba and bc5s, top level mip only
You do not have the required permissions to view the files attached to this post.
Last edited by Acewell on Wed Feb 27, 2019 10:53 am, edited 2 times in total.

JesterSnap
ultra-n00b
Posts: 5
Joined: Wed Apr 18, 2018 4:00 pm

Re: WRC 6 .PTX Texture Files

Post by JesterSnap » Thu Apr 19, 2018 8:39 am

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

User avatar
Acewell
VIP member
VIP member
Posts: 1225
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2363 times
Been thanked: 707 times

Re: WRC 6 .PTX Texture Files

Post by Acewell » Thu Apr 19, 2018 11:59 pm

okay previous script updated to support BC5S :D
viewtopic.php?p=139861#p139861

User avatar
delutto
veteran
Posts: 156
Joined: Sat Apr 16, 2011 5:20 am
Has thanked: 49 times
Been thanked: 12 times

Re: WRC 6 .PTX Texture Files

Post by delutto » Wed Feb 27, 2019 7:38 am

Acewell wrote:
Thu Apr 19, 2018 11:59 pm
okay previous script updated to support BC5S :D
viewtopic.php?p=139861#p139861
I can't view or export my PTX samples using your plugin... I get this error:
Image
PTX.7z
You do not have the required permissions to view the files attached to this post.

User avatar
Acewell
VIP member
VIP member
Posts: 1225
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2363 times
Been thanked: 707 times

Re: WRC 6 .PTX Texture Files

Post by Acewell » Wed Feb 27, 2019 10:56 am

okay script updated here to support your samples. :D
https://forum.xentax.com/posting.php?mo ... 5#pr139861

Post Reply