As you might know, it is possible to take screenshots in Freelancer without the use of external programs.
If everything works fine, you press "Print Screen" key and a BMP file with screenshot is created in c:\Users\%username%\Pictures\FreelancerShots\
This should work pretty much everywhere in Freelancer, from the MAIN MENU to the Bar on Planet Curacao.
Recently this stopped working for me.
And it appears that it does not work for others and has not worked for others in the past: Screenshots for Freelancer
Of course it is possible to take screenshots using external tools like Steam, Xfire, Fraps, programs associated with your GPU and many others.
But I decided to figure out why the native screenshot functionality was no longer working.
It turned out, that the culprit was Avast Antivirus Anti-Malware Shield.
Disabling this shield or setting Freelancer as exception in the shield settings solved the issue.
--------------
PSA: If you have been having stutter/FPS lag on Disco where it does not run as smoothly as other games, please look at the fix here: https://discoverygc.com/forums/showthrea...pid2306502
----------
If you can convince @Alex. to implement this, here is some code wrote that makes print screen not use the stupid FL system, and instead takes nice .png files that are properly categorised by date.
Code:
#define min std::min
#define max std::max
#include <gdiplus.h>
#undef min
#undef max
using namespace Gdiplus;
int GetEncoderClsid(const WCHAR* format, CLSID* pClsid)
{
UINT num = 0; // number of image encoders
UINT size = 0; // size of the image encoder array in bytes
ImageCodecInfo* pImageCodecInfo = nullptr;
GetImageEncodersSize(&num, &size);
if (size == 0)
return -1; // Failure
Posts: 6,048
Threads: 464
Joined: Nov 2014
Staff roles: Art Developer
(05-26-2021, 01:26 PM)sindroms Wrote: How on earth did you manage to break this...
It stopped working for me the other day too. Just printed out only black screens or not taking anything at all. I thought it was because of my tv connected via hdmi shut off. The screen goes black for a blink of a moment
Alternatively, If you're using Win 10 you can press and hold the keys: WIN+SHIFT+S.
It will freeze your screen so that you can then make a selection which is saved to your clipboard. Then you can paste it and save it.
I have Windows 10 and all I need to do is press PrtSc and the picture is saved in a Freelancer Folder in Pictures.
'I would like to be half as clever as some people like to believe they are' Life is full of disappointments, it is how we handle them that helps to define us, as a person