Contents
Search

--force-d3d

Console Command
Command --force-d3d
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 use Direct3D for rendering
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.

--start-server-load-latest
Category
Command Line Parameters
Description
start a multiplayer server and load the latest available save
Read More
--fullscreen BOOL
Category
Command Line Parameters
Description
start game in windowed mode (saved to configuration)
Read More
--map-preview-size SCALE (=1,024)
Category
Command Line Parameters
Description
Size (in pixels) of map preview
Read More
-s [ --map2scenario ] arg
Category
Command Line Parameters
Description
map to scenario conversion
Read More
--map-settings FILE
Category
Command Line Parameters
Description
Map settings for use with --create. See data/base/prototypes/map-settings.lua
Read More
--map-preview-offset X,Y (=0,0)
Category
Command Line Parameters
Description
Offset of the center of the map, in meters
Read More
--check-unused-prototype-data
Category
Command Line Parameters
Description
Print a warning for all prototype values that were not accessed
Read More
--rcon-port N
Category
Command Line Parameters
Description
Port to use for RCON
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
--bind ADDRESS[:PORT]
Category
Command Line Parameters
Description
IP address (and optionally port) to bind to
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
--version
Category
Command Line Parameters
Description
show version information
Read More
--server-banlist FILE
Category
Command Line Parameters
Description
Path to file with server banlist.
Read More
--map-preview-scale SCALE (=1)
Category
Command Line Parameters
Description
Scale (meters per pixel) of map preview
Read More
-v [ --verbose ]
Category
Command Line Parameters
Description
enable verbose logging
Read More
--load-game FILE
Category
Command Line Parameters
Description
start Factorio and load a game in singleplayer
Read More
--force-opengl
Category
Command Line Parameters
Description
use OpenGL for rendering
Read More
--max-texture-size N
Category
Command Line Parameters
Description
maximal size of texture that the game can use (saved to configuration). Should be power of two greater than 2048
Read More
--preset arg
Category
Command Line Parameters
Description
Name of the map generation preset to be used.
Read More