Hi!
I try to edit some textures from the last WRC game, unfortunately once I extracted archives, I find a lot of .PTX textures. I'm quite conviced it's some sort of .DDS since it mentions DXT1/3/5 when reading it with an hex editor. I saw that someone else already asked something similar for WRC6, unfortnately no one answered.
If anyone know how to go to/from PTX to a more standard format, it will be greatly appreciated!
An example texture has been joined to the post
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
WRC7 .PTX textures
-
- n00b
- Posts: 17
- Joined: Sun Apr 05, 2015 5:45 pm
- Has thanked: 4 times
WRC7 .PTX textures
You do not have the required permissions to view the files attached to this post.
- MaKiPL
- advanced
- Posts: 60
- Joined: Sat Sep 13, 2014 2:05 pm
- Has thanked: 10 times
- Been thanked: 20 times
Re: WRC7 .PTX textures
Normal un-compressed/un-obfuscated DXT3/5 file with MipMaps (Big endian!). See attachement
This file has modified/damaged DDS format, but you'll be fine if you read it after normal DDS header size. Anyway, just grab sample DXT1 DDS file and rebuild header.
This file has modified/damaged DDS format, but you'll be fine if you read it after normal DDS header size. Anyway, just grab sample DXT1 DDS file and rebuild header.
You do not have the required permissions to view the files attached to this post.
-
- VIP member
- Posts: 1330
- Joined: Wed Nov 05, 2008 12:16 pm
- Has thanked: 2710 times
- Been thanked: 884 times
Re: WRC7 .PTX textures
its not big-endian or modified/damaged, just typical dxt stored in RIFF container with a 130 byte header.
seems the data might be stored in max chunk size of 0x80000, though before i make a script i need more
variety of samples to look at for compare. i plan on making a script to work with both WRC6 and WRC7.
https://en.wikipedia.org/wiki/Resource_ ... ile_Format
seems the data might be stored in max chunk size of 0x80000, though before i make a script i need more
variety of samples to look at for compare. i plan on making a script to work with both WRC6 and WRC7.
https://en.wikipedia.org/wiki/Resource_ ... ile_Format
- MaKiPL
- advanced
- Posts: 60
- Joined: Sat Sep 13, 2014 2:05 pm
- Has thanked: 10 times
- Been thanked: 20 times
Re: WRC7 .PTX textures
Every day I learn something new, I though RIFF is only audio file. Thanks!AceWell wrote:its not big-endian or modified/damaged, just typical dxt stored in RIFF container with a 130 byte header.
-
- n00b
- Posts: 17
- Joined: Sun Apr 05, 2015 5:45 pm
- Has thanked: 4 times
-
- VIP member
- Posts: 1330
- Joined: Wed Nov 05, 2008 12:16 pm
- Has thanked: 2710 times
- Been thanked: 884 times
Re: WRC7 .PTX textures
if you upload more samples i will make a Noesis python script
edit
my WRC 6 ptx Noesis python script here seems to work with this game samples.
viewtopic.php?p=139861#p139861
edit
my WRC 6 ptx Noesis python script here seems to work with this game samples.
viewtopic.php?p=139861#p139861
Last edited by Acewell on Sat Nov 24, 2018 11:53 pm, edited 1 time in total.