Loading...
Loading...
Avg 163.0 stars per repo.
Coding for 7 years.
58 followers.
An open source re-implementation of Chris Sawyer's Locomotion. A construction and management simulation video game that simulates running a transport company.

| | Windows / Linux / MacOS | Download |
|-------------|-----------------|----------|
| master | |
|
Feel free to join our Discord server to talk about developing the game, or for help getting it to run.
OpenLoco is an open-source re-implementation of Chris Sawyer's Locomotion (CSL), the spiritual successor to Transport Tycoon. OpenLoco aims to improve the game similar to how OpenTTD improved Transport Tycoon, and OpenRCT2 improved RollerCoaster Tycoon.
CSL was originally written in x86 assembly, building on top of the RollerCoaster Tycoon 2 engine. However, the engine has changed substantially enough that OpenLoco currently does not share its codebase with OpenRCT2.
As of December 2025, we have completed reimplementing the game in C++. It is now our goal to get a solid multiplayer experience working in OpenLoco. It is also our goal to increase the map and vehicle limits. However, until creating a new save format (NSF), we are bound to the limits imposed by the CSL save format (SV5/SC5).
The latest releases can be downloaded from GitHub. Releases are currently provided for Windows, Linux and MacOS. For BSD distributions, we currently do not provide any builds. Please refer to the next section to compile the game manually. For macOS the builds are unsigned and unnotarized. This means that Gatekeeper may block them.
Please note that OpenLoco requires the asset files of the original Chris Sawyer's Locomotion to play the game. It can be bought at e.g. Steam or GOG.com.
We warmly welcome any contributions to the project, e.g. for C++ code (game implementation, bug fixes, features) or localisation (new translations). Please have a look at our issues for newcomers.
For code contributions, please stick to our code style.
You can use clang-format to apply these guidelines automatically.
If you would like to contribute code to OpenLoco, please follow the instructions below to get started compiling the game.
If you just want to play the game, you can just download the latest release from GitHub. Releases are provided for Windows (64 & 32-bit) / Linux (64-bit only) / MacOS (arm64 only).
The following libraries/dependencies are used:
Alternatively using CMake use the following commands.
cmake --preset windowscmake --build --preset windows-releaseThe standard CMake build procedure is to install the required libraries, then:
cmake --preset posix
cmake --build --preset posix-release
Note: If building x86-32 installing some packages can be problematic. To work around this, you can use our Docker images for compilation.
Note: Due to issues with distro yaml-cpp packages, its source release is downloaded during CMake generation.
The standard CMake build procedure is to install the required libraries, then:
cmake --preset posix
cmake --build --preset posix-release
Note: Only arm64 builds have been tested.
OpenLoco is licensed under the MIT License.