|
1 | | -# railroads-cli |
2 | | -Companion configuration and mod installing tool for Sid Meier's Railroads! |
| 1 | +# railroadscli |
| 2 | + |
| 3 | +railroadscli is a companion modding tool for *Sid Meier's Railroads!* You can use it to make the game more stable (by [enabling](https://steamcommunity.com/sharedfiles/filedetails/?id=1349679487) LAA), turn on secret features like the map editor, play online over the [OpenSpy](https://openspy.net) network, and install custom [maps](https://smr-maps.trinancrat.me/) from the [Internet Archive](https://archive.org/details/sid-meiers-railroads-custom-maps-collection) and other repositories of [SAM](https://smrsimple.com/2009/06/what-is-a-sam/) (stand-alone map) content. It's heavily inspired by the [Definitive SMR Launcher](https://github.com/ageekhere/Definitive-SMR-Launcher), but in close comparison, railroadscli is faster and lighter, doesn't require admin rights, and, of course, supports Linux and SteamOS. |
| 4 | + |
| 5 | +When run without arguments (i.e., double-clicked on in Windows Explorer) railroadscli applies all desired options from a same-directory TOML file named `railroadscli.toml`. The full format of this file is as follows. It is easy to share with friends if you want to play online with the same content. |
| 6 | + |
| 7 | +```toml |
| 8 | +# Override auto-detection of the user data directory |
| 9 | +# Default: <Documents>\My Games\Sid Meier's Railroads |
| 10 | +game_data_path = "C:\\Users\\Sid\\Documents\\My Games\\Sid Meier's Railroads" |
| 11 | + |
| 12 | +# Override auto-detection of the game install directory |
| 13 | +# Default: path to app ID 7600 in your Steam library |
| 14 | +game_install_path = "C:\\Program Files (x86)\\Steam\\steamapps\\common\\Sid Meier's Railroads" |
| 15 | + |
| 16 | +# Configure Settings.ini for maximum graphical quality and anti-aliasing |
| 17 | +# Default: true |
| 18 | +best_graphics = true |
| 19 | + |
| 20 | +# Skip or play the intro movies |
| 21 | +# Default: true |
| 22 | +skip_opening = true |
| 23 | + |
| 24 | +# Enable or disable the terrain editor |
| 25 | +# Default: true |
| 26 | +enable_editor = true |
| 27 | + |
| 28 | +# Set the LAA flag to allow the game to exceed 2GB of virtual memory |
| 29 | +# Default: true |
| 30 | +laa_aware = true |
| 31 | + |
| 32 | +# Set the GameSpy master server domain (must be 11 characters long) |
| 33 | +# Default: openspy.net (the only known working network) |
| 34 | +gamespy_server = "openspy.net" |
| 35 | + |
| 36 | +# Prompt before deleting the contents of the UserMaps and CustomAssets directories |
| 37 | +# Default: true |
| 38 | +warn_on_delete = true |
| 39 | + |
| 40 | +# Download and extract an archive to the UserMaps directory, overwriting existing contents |
| 41 | +# Default: do nothing |
| 42 | +usermaps_from = "https://archive.org/download/sid-meiers-railroads-custom-maps-collection/A_Tycoon's_Tale_v1_00.7z" |
| 43 | + |
| 44 | +# Download and extract an archive to the CustomAssets directory, overwriting existing contents |
| 45 | +# Default: do nothing |
| 46 | +#customassets_from = "" |
| 47 | + |
| 48 | +# When in automatic (no arguments provided) mode, launch the game after applying this configuration |
| 49 | +# Default: true |
| 50 | +autolaunch = true |
| 51 | +``` |
| 52 | + |
| 53 | +You can obtain a copy of railroadscli from the GitHub releases [page](https://github.com/YoRyan/railroads-cli/releases). To see all available command-line options, refer to `railroadscli --help` and `railroadscli config --help`. |
0 commit comments