You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new screenshot function that doesn’t freeze the game. Currently, taking a screenshot (F12 for BMP) causes a pause and can even crash in windowed mode. GenTool addressed this by adding a JPG/PNG screenshot on F11, which saves a compressed image without causing the game to stall.
Creating a bmp image with F12 will cause a crash in windowed mode when the window hits the border of the desktop.
GeneralsOnline implemented this feature (JPEG) in its last update in a threaded manner that should not hamper performance or result in stalls; perhaps its implementation could be borrowed from. See the following commits:
Activity
xezon commentedon Sep 23, 2025
I also noticed that the original F12 screenshot cannot be taken during the loading screen, which may be a key input issue.
mrtnptrs commentedon Oct 11, 2025
GeneralsOnline implemented this feature (JPEG) in its last update in a threaded manner that should not hamper performance or result in stalls; perhaps its implementation could be borrowed from. See the following commits:
xezon commentedon Oct 12, 2025
For GenTool I used the CxImage library to export (and modify) JPG and PNG images. It is simple to use.
https://www.codeproject.com/articles/CxImage