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

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 »

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.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

World Rally Championship 6 (*.PTX)

Post by Acewell »

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 »

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 »

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 »

Last one.
You do not have the required permissions to view the files attached to this post.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

World Rally Championship 6 (.PTX)

Post by Acewell »

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 »

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
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: WRC 6 .PTX Texture Files

Post by Acewell »

okay previous script updated to support BC5S :D
viewtopic.php?p=139861#p139861
User avatar
delutto
veteran
Posts: 153
Joined: Sat Apr 16, 2011 5:20 am
Has thanked: 49 times
Been thanked: 14 times

Re: WRC 6 .PTX Texture Files

Post by delutto »

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.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: WRC 6 .PTX Texture Files

Post by Acewell »

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