Page 1 of 1
WRC 6 .PTX Texture Files
Posted: Thu Feb 23, 2017 7:21 am
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.
World Rally Championship 6 (*.PTX)
Posted: Tue Dec 26, 2017 2:34 am
by Acewell
your sample is lz4f compressed, here is bms script to decompress it.
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.

Re: WRC 6 .PTX Texture Files
Posted: Wed Apr 18, 2018 5:02 pm
by JesterSnap
Will you take a look at some TT Isle of Man PTX files from the same devs?
Re: WRC 6 .PTX Texture Files
Posted: Wed Apr 18, 2018 5:06 pm
by JesterSnap
Another:
Re: WRC 6 .PTX Texture Files
Posted: Wed Apr 18, 2018 5:08 pm
by JesterSnap
Last one.
World Rally Championship 6 (.PTX)
Posted: Thu Apr 19, 2018 3:02 am
by Acewell
here is Noesis python script to open your ptx samples and the decompressed one from first post

*script updated Feb 27, 2019*
tex_WorldRallyChampionship6_ptx.zip
supports dxt1, dxt5, rgba and bc5s, top level mip only
Re: WRC 6 .PTX Texture Files
Posted: Thu Apr 19, 2018 8:39 am
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:
If you have time to take a look:
https://www.sendspace.com/file/grc3fb
Re: WRC 6 .PTX Texture Files
Posted: Thu Apr 19, 2018 11:59 pm
by Acewell
okay previous script updated to support BC5S
viewtopic.php?p=139861#p139861
Re: WRC 6 .PTX Texture Files
Posted: Wed Feb 27, 2019 7:38 am
by delutto
I can't view or export my PTX samples using your plugin... I get this error:
PTX.7z
Re: WRC 6 .PTX Texture Files
Posted: Wed Feb 27, 2019 10:56 am
by Acewell