[0.10.12]"take screenshot" crash if no path specified

Things that has been reported already before.
Post Reply
arl85
Fast Inserter
Fast Inserter
Posts: 174
Joined: Tue Jun 10, 2014 7:08 am
Contact:

[0.10.12]"take screenshot" crash if no path specified

Post by arl85 »

I tried to call

Code: Select all

game.takescreenshot{zoom=0.5, position={-137.5,227.5}, resolution={1200,720}}
and game crashed with

Code: Select all

21:44:40 Error None: boost::filesystem::create_directory: Impossibile trovare il percorso specificato (impossible to find specified path)
but executing

Code: Select all

game.takescreenshot{zoom=0.5, position={-137.5,227.5}, resolution={1200,720},path="screen.png"}
everything works fine.
Do you need help taking screenshots in-game? have a look to my guide to calculate screenshot dimensions

User avatar
cube
Former Staff
Former Staff
Posts: 1111
Joined: Tue Mar 05, 2013 8:14 pm
Contact:

Re: [0.10.12]"take screenshot" crash if no path specified

Post by cube »

This is a duplicate of https://forums.factorio.com/forum/vie ... =30&t=5858 , resolved for 0.11.0.

Post Reply

Return to “Duplicates”