1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 17:42:29 +01:00

Replaced openrct2 with openrct2-cli

Berbe
2018-08-09 20:39:30 +02:00
parent 7e7a81f99a
commit deaaeadf71

@@ -9,14 +9,14 @@ In order for the server to successfully accept clients, the port must be open fo
You can also launch a server by command line, e.g. You can also launch a server by command line, e.g.
``` ```
openrct2 host <saved game path> --port 22050 openrct2-cli host <saved game path> --port 22050
``` ```
### Dedicated server ### Dedicated server
OpenRCT2 also supports a headless mode where the game will run as a console application with no UI. This is useful for running dedicated game servers. This can be launched by the following command line: OpenRCT2 also supports a headless mode where the game will run as a console application with no UI. This is useful for running dedicated game servers. This can be launched by the following command line:
``` ```
openrct2 host <saved game path> --port 11753 --headless openrct2-cli host <saved game path> --port 11753 --headless
``` ```
Additional arguments: Additional arguments:
@@ -37,7 +37,7 @@ Description=OpenRCT2 server instance
After=network.target After=network.target
[Service] [Service]
ExecStart=<path_to_openrct2> host "<path_to_saved_game>" --headless ExecStart=<path_to_openrct2-cli> host "<path_to_saved_game>" --headless
Type=simple Type=simple
User=<username> User=<username>