Launch (non-dedicated server) multiplayer game from command line

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

enginerd3
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Jan 05, 2026 9:49 pm
Contact:

Launch (non-dedicated server) multiplayer game from command line

Post by enginerd3 »

TL;DR
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.
It would be amazing if there was a --load-game-mp that works exactly like --load-game but loads multiplayer instead of single player.

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!
Post Reply

Return to “Ideas and Suggestions”