Jump to content


Photo

Extracting the sky textures from sky whm files


1 reply to this topic

#1 Daemonjax

Daemonjax
  • Members
  • 7 posts

Posted 10 May 2021 - 12:00 PM

The sky textures are "folded" into the whm model files for the skies.  They have their own data section within the file, easily identifiable via hexeditor.   

 

Anyone know a method to extract them?

 

Or at least know what format that data section is in?  They look like they're block compressed color info, so I'm thinking DDS, but I haven't checked if they look more similar to whatever rsh/rtx looks like in hex.  I'm betting relic didn't try to reinvent the wheel with these, but then again, they kinda did that with rsh/rtx.

 

I'll eventually figure it out, but maybe someone already knows.

 

 

Thanks in advance.


Edited by Daemonjax, 10 May 2021 - 12:05 PM.


#2 Moreartillery

Moreartillery
  • Members
  • 205 posts
  • Projects:Cinematic Battles

Posted 10 May 2021 - 09:14 PM

Eranthis knows how

 

 

That's because weirdly enough, the skybox textures DoW uses has their textures INSIDE their model files and not directed to some other location. Mine is a modified exported sky with rearranged UVs and textures outside the model.

You can make a skybox by copying one of my skybox models, use a program called FFE to rename the texture names to new ones and then make those new textures using both of my texture maps as a reference.

 

https://www.moddb.co...ox-wip#imagebox


Developer of the Cinematic Battles mod.

https://www.moddb.co...nematic-battles




Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users