Author Topic: Image format precedence question  (Read 1240 times)

0 Members and 1 Guest are viewing this topic.

Offline IPAndrews

  • Disgruntled Customer
  • 212
  • This site stole my work
Image format precedence question
Hey there chaps. Here's the question.

"a.vp" contains a load of textures/effects as dds.
"b.vp" contains a load of textures/effects as jpg/tga.
I run the game engine with use jpg/tga textures enabled.

Does it use the jpgs/tgas in b.vp, even though it will see the dds files in a.vp (in alphabetical order a comes before b) first?

The context of the question is that I am considering supplying TBP textures and effects as dds files with an optional vp with hi res jpg/tga textures/effects although that vp will have a filename which comes after the one with the dds files.
Be warned: This site's admins stole 100s of hours of my work. They will do it to you.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Image format precedence question
What VP the files are in doesn't matter.  When it loads an image, with TGA being first with -jpgtga, it will search all VPs for a TGA version of the file.  Only if it doesn't find it anywhere will it continue down the line with JPG -> DDS -> PCX -> TGA (16-bit versions).

  

Offline IPAndrews

  • Disgruntled Customer
  • 212
  • This site stole my work
Image format precedence question
Thanks Taylor. That's excellent news - and good design.
Be warned: This site's admins stole 100s of hours of my work. They will do it to you.