My game crashed after taking a 7200 x 12800 (zoom level 0.2) screenshot, followed by a 3000 x 5000 (zoom level 0.2) screenshot.
After I took the first screenshot and the game unfreezed, the screenshot was not saved in the script-output folder so I tried again, that time with lower resolution. Immediately after the game unfreezed and the console message appeared in blue, the game crashed. Then the first screenshot was actually saved in the script-output folder.
[0.14.21] Crash after taking large screenshot
[0.14.21] Crash after taking large screenshot
Last edited by Bilka on Sun Feb 25, 2018 1:11 am, edited 1 time in total.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: [0.14.21] Crash after taking large screenshot
http://lua-api.factorio.com/latest/LuaG ... screenshot
It shouldn't crash when taking a smaller screenshot after the bigger one failed though, unless taking the first screenshot already corrupted some RAM/VRAM. The top left portion of your screenshot looks like it has been corrupted.
The maximum possible resolution depends on the amount of video memory your card has, with 2GB (dedicated) VRAM it is around 8192x8192. If you want to take larger screenshots you should take smaller screenshots of various parts instead and stitch them together manually.resolution :: Position (optional): Maximum allowed resolution is 16384x16384 (resp. 8196x8196 when anti_alias is true), but maximum recommended resolution is 4096x4096 (resp. 2048x2048).
It shouldn't crash when taking a smaller screenshot after the bigger one failed though, unless taking the first screenshot already corrupted some RAM/VRAM. The top left portion of your screenshot looks like it has been corrupted.
Re: [0.14.21] Crash after taking large screenshot
The top left corner of the screenshot is actually unexplored terrain, which would explain why it is black. I took the big screenshot on mistake, actually. Yes, the game froze, but it also unfroze and worked normally until I took the second screenshot.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.