Contents
Search

-m [ --scenario2map ] arg

Console Command
Command -m [ --scenario2map ] arg
Command Category Description Command line parameters can be used to set settings in the command line before the game launches, this is useful mainly for advanced users or server hosts.
Description scenario to map conversion
Example None
Admin None
Category
How To Use

The command console is Factorio's command-line interface, which can be used for running cheat commands, as well as chatting with other players and receiving occasional status updated.

To open the console, press the / or ~ key. The ~ key is usually located below the Esc key. The / key is also usually the ? key.

The console can accept raw Lua code as well as game commands.

Use the Tab key to auto-complete commands and player IDs. Enter the first few letters and then press the Tab key.

Disclaimer: Because commands can sometimes make unexpected changed to your game, it is recommended that you save your game before using any commands.

--map-preview-size SCALE (=1,024)
Category
Command Line Parameters
Description
Size (in pixels) of map preview
Read More
--benchmark FILE
Category
Command Line Parameters
Description
load save and run benchmark
Read More
--start-server SAVE
Category
Command Line Parameters
Description
Will start a Headless (Dedicated) server, with no GUI.
Read More
--server-banlist FILE
Category
Command Line Parameters
Description
Path to file with server banlist.
Read More
--map-gen-settings FILE
Category
Command Line Parameters
Description
Map generation settings for use with --create. See data/map-gen-settings.example.json
Read More
--preset arg
Category
Command Line Parameters
Description
Name of the map generation preset to be used.
Read More
--server-whitelist FILE
Category
Command Line Parameters
Description
Path to file with server whitelist.
Read More
--start-server-load-scenario FILE
Category
Command Line Parameters
Description
start a multiplayer server and load the specified scenario
Read More
--bind ADDRESS[:PORT]
Category
Command Line Parameters
Description
IP address (and optionally port) to bind to
Read More
--mp-connect ADDRESS
Category
Command Line Parameters
Description
ADDRESS is the IP:port of the remote host. Port is optional.
Read More
--video-memory-usage arg
Category
Command Line Parameters
Description
accepted values: all, high, medium, low
Read More
-s [ --map2scenario ] arg
Category
Command Line Parameters
Description
map to scenario conversion
Read More
-c [ --config ] PATH
Category
Command Line Parameters
Description
config file to use
Read More
--create FILE
Category
Command Line Parameters
Description
create a new map
Read More
--mp-connect ADDRESS
Category
Command Line Parameters
Description
start factorio and connect to address
Read More
--check-unused-prototype-data
Category
Command Line Parameters
Description
Print a warning for all prototype values that were not accessed
Read More
--benchmark-ticks N (=1,000)
Category
Command Line Parameters
Description
number of ticks for benchmarking. Default is 1000
Read More
--fullscreen BOOL
Category
Command Line Parameters
Description
start game in windowed mode (saved to configuration)
Read More
--until-tick TICK
Category
Command Line Parameters
Description
run a save until given map tick
Read More