Author Topic: Small texture issue  (Read 1247 times)

0 Members and 1 Guest are viewing this topic.

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
I was testing with 368Zeta mediavps the new HEAD branch builds when i noticed that with debug build during mission load i hit the 'couldnt load texture fighter06-02b' warning.

Odd thing was that there was both a pcx and a tga file of that name. Karajorma noticed that the pcx was 24-bit and it was causing the issue.. That was somewhat surprising to me as when i noticed the tga file in the same place i thought game would just load the tga image and skip the pcx. Now the pcx file - that is AFAIK not used - caused the warning which sounds rather odd. Any idea why this happens?
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
If the PCX and the TGA versions are in the exact same directory in the same VP then the TGA should have loaded first.  If they aren't in the same directory in the same VP then it's just going to use whichever it finds first.

  

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
This was from the 3.6.8 Zetas. They should be in the same folder in mv_models.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Yup, code bug.  I tracked it down, but fixing it makes things load slower.  I found a better way overall to not only load faster but also prevent the bug, so I'll work on rewriting all of that today.