Source Code Project Mantis - FSSCP
View Issue Details
0000017FSSCPgraphicspublic2003-12-30 12:562006-10-26 23:39
Assigned Totaylor 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version3.6 
Summary0000017: FRED2 doesn't like TGA backgrounds
DescriptionThe game will happily accept TGA backgrounds, but FRED2's background editor doesn't like them. It refuses to let me pull down the list of available backgrounds.
Additional InformationObvioulsy the simple solution is to convert the backgrounds to PCX, but that defeats the point of the lovely TGA art :)
TagsNo tags attached.
Attached Files

2004-01-18 11:25   
Currently fred cant display TGA's or JPG's so the best thing to do is to convert it to a PCX with the same name and select that with Fred.
Later when run with fs2_open if the tga of the same name is there then it will load that.

Perhaps someone could address this issue if current graphics work on Fred is fruitful
2004-04-06 21:13   
status pls
2004-05-08 04:22   
So is this fixed now?
2004-05-08 05:16   
(Last edited: 2004-05-08 05:42)
Code wise this is fixed as long as Fred2 and FS2_Open are built with DevIL support. The recent CFILE fix should be the last thing that was keeping this from working as expected. It just needs a new build to be tested to know for sure. I'm building a DevIL version now and will resolve this if it works.

Update: This works but currently Cmdline_jpgtga is disabled if bpp is not 32bit. I did this because it needs that value to figure out what to send to opengl calls. Fred2_Open only asks for 16bit color so JPG and TGA textures are not enabled.

Fred2 could be changed to use 32bit all of the time or just when -jpgtga is used. Suggestions?

edited on: 05-08-04 05:42
2004-05-09 10:42   
Fixered. Fred will now init OpenGL with 32bpp when you use -jpgtga and use 16bpp otherwise. This gets jpg, tga working and dds now works in 16bpp and 32bpp.

Issue History
2003-12-30 12:56diamondgeezerNew Issue
2004-01-18 11:25RandomTigerNote Added: 0000060
2004-03-04 15:46RandomTigerStatusnew => acknowledged
2004-04-06 21:13KazanNote Added: 0000704
2004-05-08 04:22RandomTigerNote Added: 0000909
2004-05-08 04:22RandomTigerAssigned To => taylor
2004-05-08 04:22RandomTigerStatusacknowledged => assigned
2004-05-08 05:16taylorNote Added: 0000911
2004-05-08 05:42taylorNote Edited: 0000911
2004-05-09 10:42taylorStatusassigned => resolved
2004-05-09 10:42taylorResolutionopen => fixed
2004-05-09 10:42taylorNote Added: 0000915
2006-10-26 23:39Goober5000Statusresolved => closed
2006-10-26 23:39Goober5000Fixed in Version => 3.6