Thank you Ian and thank you Aaron!
Not really for this post.. but all of your posts.. beers on me! -Bottled
Really appreciate your support, guys!
So I got a little bit more experience in C++ and decided to have another go at screen capturing. Mind you, this is still not perfect, but it is an improvement over using FRAPS and sending key stroke to it :). I haven’t quite managed to make it capture screen in “Fullscreen” mode, it just captures black rectangular. Maybe in the future I will sort this out. Solution? Just switch to “Fullscreen Window” mode when you need capture. Follow CONFIGURE -> VIDEO -> DISPLAY -> DISPLAY MODE -> Fullscreen Window. This will capture full screen too, but this mode doesn’t seem to be as smooth for gaming as “Fullscreen” mode, well, at least for me.
The scr_cap.dll can save in .png, .jpg and .bmp. It will automatically detect file extension in the file path. If file extension is different, no capture will happen. Because of this I have not limited the path, you can save anywhere you can and the only files you can overwrite by mistake are image files. Here is, for example, the file I captured earlier with “C:\Users\KK\Desktop\VR.png” path:
Extension returns “OK” if capture is made successfully (true for black rectangular too), otherwise it will return error message (like with invalid file extension). Depending on image format, it may cause little stutter during screenshot, but it was always meant as a tool so I couldn’t be bothered about performance. If you are capturing it from ingame debug console, don’t forget to add a pause so you can hide the console:
Enjoy,
KK