This command can be used to take and automatically save a screenshot of your game with the GUI hidden. All arguments (resolution and zoom) are optional. The saved picture will be put in the 'script-output' folder, which can be found in your user data directory.
The syntax for the screenshot command is as follows:
/screenshot [resolution x] [resolution y] [zoom]
This command has the following arguments:
Resolution X | Optional. Your desired horizontal resolution of the screenshot, the default of this is your current window size (well, the current horizontal window size, so if your window was 1920x1080, this would be 1920). |
Resolution Y | Optional. Your desired vertical resolution of the screenshot, the default of this is your current window size (well, the current vertical window size, so if your window was 1920x1080, this would be 1080). |
Zoom | Optional. How zoomed in the screenshot should be - by default this is set to 1. A value of 2 would zoom in x2 (so it would be double the size, but only half of your game would show). |
Search our database of 39 Factorio commands...
Okay!Find below working examples of the screenshot command.
/screenshot
Executing this command will take a screenshot of your client, centered around your character, with the GUI hidden, and the image dimensions equal to those of your client.
/screenshot 1920 1080 1
Executing this command will take a screenshot of your client (GUI hidden), centered around your character with the image dimensions 1920x1080 and a zoom of 1 (no zoom).
/screenshot 1920 1080 2
Executing this command will take a screenshot of your client (GUI hidden), centered around your character with the image dimensions 1920x1080 and a zoom of 2, meaning the screenshot will be zoomed in 2x.