Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: WMCoolmon on March 28, 2004, 05:58:31 pm

Title: Does FS2_open load DDS or TGA files first?
Post by: WMCoolmon on March 28, 2004, 05:58:31 pm
ie if I have two files with the same names, one DDS and one TGA, which will fs2_open use?
Title: Does FS2_open load DDS or TGA files first?
Post by: Taristin on March 28, 2004, 06:00:43 pm
DDS, IIRC.
Title: Does FS2_open load DDS or TGA files first?
Post by: Bobboau on March 28, 2004, 06:00:53 pm
I think TGA
Title: Does FS2_open load DDS or TGA files first?
Post by: Taristin on March 28, 2004, 06:01:15 pm
Ok, Whatever Bob says beats me out. :p
Title: Does FS2_open load DDS or TGA files first?
Post by: Bobboau on March 28, 2004, 06:21:31 pm
well I'm not sure, but I think the load order is tga, jpg, dds, pcx, and ani.
Title: Does FS2_open load DDS or TGA files first?
Post by: RandomTiger on March 29, 2004, 12:50:14 am
I would put my money on TGA
Title: Does FS2_open load DDS or TGA files first?
Post by: taylor on March 29, 2004, 01:52:54 am
(tga->jpg->dds->pcx) in that order if -jpgtga is used, otherwise it's (dds->pcx).  This is in grd3dbmpman.cpp and I changed bmpman.cpp to have the same order for OGL (not in CVS yet).
Title: Does FS2_open load DDS or TGA files first?
Post by: Trivial Psychic on March 29, 2004, 04:03:31 am
Quote
Originally posted by taylor
(tga->jpg->dds->pcx) in that order if -jpgtga is used, otherwise it's (dds->pcx).  This is in grd3dbmpman.cpp and I changed bmpman.cpp to have the same order for OGL (not in CVS yet).


THAT's why OGL FRED loads pcx even if tga is present, but it loads DDS over pcx if present... even though it doesn't know how to display it.