Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Kazan on September 24, 2003, 09:06:46 pm
-
The current CVS build will not let me take screenshots - it acts like it's processing but then it doesn't save the file - i doubt my changes did this --- more than likely whoever made it so d3d5 is no longer supported broke this function
please resolve ASAP (and what's this i hear about .bmp screens instead of .tga?)
-
bump
hello?!
-
it was working a while ago...
wait, there saved as bmp now or something
-
im not getting any files saved bobboau .. i guess when i go home in a little bit i'll track through the debug and see WTF is going on .. i think it is doing everything but actually writing the file. maybe a harddrive permissions problem or something like that
-
it's an error in the D3D8 system
the call to
lpD3DDevice->GetFrontBuffer(pDestSurface) in function void gr_d3d_print_screen(char *filename) is failing.
-
Screenshots weren't working for two reasons
A) There was no code in there to save it to a bitmap! I have some borrowed code in there (it's ok to borrow this persons code) -- and they are credited in very eye catching comments
B) lpD3DDevice->GetFrontBuffer(pDestSurface) only works for full screen
-=====================-
Consider this problem resolved as of my next CVS commit
-
I just love how people are grateful :doubt:
Nice going, Kazan, I think it's quite helpful to have a screenshot key that actually takes screenshots ( or maybe that's just me? )
-
Yes if your using any SCP build not of 3.5.5 build, like bobs for example, you cant do one of the following or all.
1. No Screenies
2. No ETS system (energy transfer)
3. Move shields forward or back to diffrent quadrents
Y key dont work. etc.
-
using the latest cvs version i can
Take Screenies (i just fixed this)
use ETS (just tested this)
shield transfers are working just fine too
-
I can take screens shots just fine, just tested it, havn't tryed it in windowed mode though. guess that's why no one knew about this, I don't think many non-coders use the window comand line, and most coders don't take screen shots while in wondowed mode.
-
Bobboau: do you have the Direct X 8.1 headers so that you can uncomment the DX8 "Save Surface to File" function?
-
I have the same headers as everyone else, as far as I know
-
is the "DX8 Save Surface to File" function uncommented in your code - or are you using a different function with the HT&L