Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Taristin on January 01, 2006, 10:47:57 am
-
Ok, Screenshots have always been the bane of my existence, since I mainly only use FSO to take screenies of the models I work on in game.
Now, I noticed that there was a 'screenshots' folder created, and that there were sequentially numberred screenies in there in TGA format. Nice. :yes:
Problem. The screenies are all 2.25Mb and pure green. Nothing else.
So... :wtf: ?
-
Yeah, i saw it earlier today while doing some mantis related testing. Odd thing was that it happened just when OGL was once again able take non-green screenies (that was with with 22/12/05 CVS)...
-
Since I was changing the OpenGL screenshot code a bit anyway I went ahead and changed the directory that the shots are saved in. It's now ~/<fsopendir>/screenshots on Linux and OS X and in a "screenshots" directory in the current working directory under Windows. With the number of screenshots that can build up I really thing they should be in there own directory instead of how they work now.
Does anyone object to me doing that for D3D as well so they are in the same place? I'd also like to make the D3D code produce TGA images instead of BMP so that the two APIs will use the same image format. Any objections to that?
-
Yes... And? That says nothing about why they're pure green. I have no objection to them being in their own directory, I like it better that way too, but I'd like to have something besides 0,255,0 images.
-
I made two changes to try and fix the single-color problem and when I updated the code just recently I removed one of them as a test. Apparently that was a stupid idea. :D
That other change will hit CVS again before the day is over and we'll see if it fixes itself again. The popup code works slightly differently but I'm guessing it's the exact same problem. I'll also make the change there, however the popup code has to function a bit differently so while popups may no longer be single-color they may show the wrong image in the background. If that's the case just update the Mantis bug and I'll try and work something else out.