Request ability to launch a multiplayer game (non-dedicated server) from command line (mainly for automated screenshots)
What?
- There exists game.take_screenshot() but it must be run manually by the user in-game (gui mode in console).
- The dedicated server has an RCON so there is a way to connect and run the command but It does not work on a dedicated server because the server does not load the graphics.
- The game provides a way to launch my_save.zip as a multiplayer server WITH graphics WITH RCON, but I have to manually click through the game's menu to start it (not easily automatable). Launch->Multiplayer->Host Saved Game->my_save.zip->Load. Also need to set local-rcon-socket=127.0.0.1:27015 and local-rcon-password in config.ini but then it works.
Why?
I'm working on some custom factorio scripts and it would be amazing to be able to automate screenshot collection. It's SO CLOSE, but I just can't start the game in the correct mode. I tested it by starting the game manually and it worked!
I love Factorio! Thank you guys for making such an awesome game that's provided me with thousands of hours of fun and entertainment!
