Screenshots of SRB2 can be taken by pressing the F8 key or using the
screenshot console command. Screenshots are taken in the PNG format and saved in the SRB2 directory (or a user-specified custom folder) with the naming format
srb2XXXX.png, where XXXX is a four-digit number between 0000 and 9999. The game will automatically choose the first number that is not already taken by another screenshot in the folder. The screenshot will be taken in the game's current screen resolution.
To save screenshots in a different folder than the SRB2 directory, the console variable
screenshot_option must be set to
Custom. The console variable
screenshot_folder is then used to specify the folder path. You can specify either an absolute path (e.g.
C:/Users/ExampleUser/SRB2Screenshots) or a relative path from the SRB2 directory (e.g.
Note that typing
screenshot directly into the console will cause it to display in the screenshot. To prevent this, bind the command to a key or use the F8 key instead.
When a screenshot or APNG movie is taken in SRB2, metadata will be saved into the corresponding PNG file – this includes information such as SRB2's version number, the map being played, and the player's coordinates in the map. This metadata can be handy for debugging; e.g. for locating where a rendering error is taking place in a map without use of development mode to show the coordinates.
The full list of metadata parameters for a screenshot/APNG movie is shown below:
|Title||The version of SRB2 being used, e.g. "Sonic Robo Blast 2 v2.1.19"|
|Author||The author of the PNG file; this displays the username of the account on the computer the screenshot/APNG movie was taken with, rather than the in-game player name.|
|Description||Describes the purpose of the PNG file – this will display "SRB2 Screenshot" for screenshots, and "SRB2 Movie" for APNG movies.|
|Playername||The in-game player name of the screenshot's author. If the file is an APNG movie, this uses the player name that was used at the time the APNG recording was started.|
|Mapnum||Displays the map number in the format "MAPxx". If the file is an APNG movie, this uses the map number of the map that the APNG recording started in. If the screenshot/APNG movie was not taken in a map, this instead displays "Unknown".|
|Mapname||Displays the map's name (e.g. "Greenflower Zone Act 1"). If the file is an APNG movie, this uses the name of the map that the APNG recording started in. If the screenshot/APNG movie was not taken in a map, or the map does not have a name, this instead displays "Unknown".|
|Location||The X/Y/Z coordinates and angle of the displayed player in the map, given in the format "X: x Y: y Z: z A: angle". If the file is an APNG movie, this uses the coordinates and angle of the player given at the time the APNG recording was started. If the screenshot/APNG movie was not taken in a map, this instead displays "Unknown".|
|Interface||Displays the interface SRB2 is being played with:|
|Revision||Revision number of the executable.|
|Build Date||Build date of the executable.|
|Build Time||Build time of the executable.|