Forrest logo
back to the openttd tool

openttd:tldr:9597f

openttd: Start a dedicated server, forked in the background.
$ openttd -f -D ${host}:${port}
try on your machine

The command "openttd -f -D ${host}:${port}" is used to launch the OpenTTD (Open Transport Tycoon Deluxe) game client, with the flags or options "-f" and "-D", along with a specified host and port.

Here's what each part of the command means:

  1. "openttd": It is the executable file or binary name for the OpenTTD game client. By running this command, it launches the game.

  2. "-f" (or "--fullscreen"): This flag opens the game in fullscreen mode. It ensures that the game takes up the entire screen rather than running in a window.

  3. "-D": This flag is used to set a dedicated server mode for the game client. It allows the client to connect to a multiplayer server instead of running in single-player mode.

  4. "${host}:${port}": This is a variable placeholder. It should be replaced with the actual host and port values you want to connect to. The host refers to the IP address or hostname of the server, and the port is the specific network port the server is listening on.

For example, if you want to connect to a multiplayer server with the IP address "123.456.789.0" and the server is listening on port "5678", you would replace "${host}:${port}" with "123.456.789.0:5678" in the command. The modified command would be: "openttd -f -D 123.456.789.0:5678"

By executing this command, the OpenTTD game client will launch in fullscreen mode and attempt to connect to the specified multiplayer server.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the openttd tool