[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-93799":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":8,"totalLinesOfCode":8,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":8,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":15,"stars30d":15,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":16,"rankGlobal":8,"rankLanguage":8,"license":8,"archived":17,"fork":17,"defaultBranch":18,"hasWiki":17,"hasPages":17,"topics":8,"createdAt":8,"pushedAt":8,"updatedAt":19,"readmeContent":20,"aiSummary":21,"trendingCount":15,"starSnapshotCount":15,"syncStatus":22,"lastSyncTime":23,"discoverSource":24},93799,"OpenLoco","OpenLoco\u002FOpenLoco","An open source re-implementation of Chris Sawyer's Locomotion",null,"https:\u002F\u002Fgithub.com\u002FOpenLoco\u002FOpenLoco","C++",1750,197,41,411,0,51.89,false,"main","2026-09-21 04:01:26","# OpenLoco\nAn open source re-implementation of Chris Sawyer's Locomotion. A construction and management simulation video game that simulates running a transport company.\n\n---\n\n![](https:\u002F\u002Fuser-images.githubusercontent.com\u002F604665\u002F55420349-1a2aea00-5577-11e9-87da-78fe5cdb09e1.png)\n\n# Contents\n- 1 - [Introduction](#1-introduction)\n- 2 - [Downloading the game (pre-built)](#2-downloading-the-game-pre-built)\n- 3 - [Contributing](#3-contributing)\n- 4 - [Compiling the game](#4-compiling-the-game)\n  - 4.1 - [Building prerequisites](#41-building-prerequisites)\n  - 4.2 - [Compiling and running](#42-compiling-and-running)\n- 5 - [Licence](#5-licence)\n- 6 - [More information](#6-more-information)\n\n---\n\n### Build Status\n|             | Windows \u002F Linux \u002F MacOS | Download |\n|-------------|-----------------|----------|\n| **master**  | ![CI](https:\u002F\u002Fgithub.com\u002FOpenLoco\u002FOpenLoco\u002Fworkflows\u002FCI\u002Fbadge.svg) | [![GitHub release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Frelease\u002FOpenLoco\u002FOpenLoco.svg)](https:\u002F\u002Fgithub.com\u002FOpenLoco\u002FOpenLoco\u002Freleases) |\n\n### Chat\n\nFeel free to join our Discord server to talk about developing the game, or for help getting it to run.\n\n[![Discord](https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F689445672390361176)](https:\u002F\u002Fdiscord.gg\u002FvEuNRHD)\n\n\n# 1 Introduction\n\n**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](https:\u002F\u002Fopenttd.org) improved *Transport Tycoon*, and [OpenRCT2](https:\u002F\u002Fopenrct2.io) improved *RollerCoaster Tycoon*.\n\nCSL 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.\n\nAs 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\u002FSC5).\n\n---\n\n# 2 Downloading the game (pre-built)\n\nThe latest releases can be [downloaded from GitHub](https:\u002F\u002Fgithub.com\u002FOpenLoco\u002FOpenLoco\u002Freleases). Releases are currently provided for Windows, Linux and MacOS.\nFor 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.\n\nPlease note that OpenLoco requires the asset files of the original Chris Sawyer's Locomotion to play the game.\nIt can be bought at e.g. [Steam](https:\u002F\u002Fstore.steampowered.com\u002Fapp\u002F356430\u002F) or [GOG.com](https:\u002F\u002Fwww.gog.com\u002Fgame\u002Fchris_sawyers_locomotion).\n\n---\n\n# 3 Contributing\n\nWe warmly welcome any contributions to the project, e.g. for C++ code (game implementation, bug fixes, features) or localisation (new translations).\nPlease have a look at our [issues for newcomers](https:\u002F\u002Fgithub.com\u002FOpenLoco\u002FOpenLoco\u002Fissues?q=is%3Aopen+label%3A%22good+first+issue%22%2C%22hacktoberfest%22).\n\nFor code contributions, please stick to our [code style](https:\u002F\u002Fgithub.com\u002FOpenLoco\u002FOpenLoco\u002Fwiki\u002FCoding-Style).\nYou can use `clang-format` to apply these guidelines automatically.\n\n---\n\n# 4 Compiling the game\n\nIf you would like to contribute code to OpenLoco, please follow the instructions below to get started compiling the game.\n\nIf you just want to play the game, you can just [download the latest release](https:\u002F\u002Fgithub.com\u002FOpenLoco\u002FOpenLoco\u002Freleases) from GitHub.\nReleases are provided for Windows (64 & 32-bit) \u002F Linux (64-bit only) \u002F MacOS (arm64 only).\n\n## 4.1 Building prerequisites\n\nThe following libraries\u002Fdependencies are used:\n- [libpng](http:\u002F\u002Fwww.libpng.org\u002Fpub\u002Fpng\u002Flibpng.html)\n- [libzip](https:\u002F\u002Flibzip.org)\n- [OpenAL](https:\u002F\u002Fwww.openal.org\u002F)\n- [SDL3](https:\u002F\u002Fgithub.com\u002Flibsdl-org\u002FSDL\u002Freleases)\n- [yaml-cpp](https:\u002F\u002Fgithub.com\u002Fjbeder\u002Fyaml-cpp) (fetched during CMake generation)\n- [fmt](https:\u002F\u002Fgithub.com\u002Ffmtlib\u002Ffmt) (fetched during CMake generation)\n- [sfl](https:\u002F\u002Fgithub.com\u002Fslavenf\u002Fsfl-library) (fetched during CMake generation)\n- [breakpad](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fbreakpad) (only required on Windows)\n- [tbb](https:\u002F\u002Fwww.intel.com\u002Fcontent\u002Fwww\u002Fus\u002Fen\u002Fdeveloper\u002Ftools\u002Foneapi\u002Fonetbb.html) (only required if using libstdc++)\n\n### Windows\n- 10 \u002F 11\n- [Visual Studio 2022](https:\u002F\u002Fwww.visualstudio.com\u002Fvs\u002Fcommunity\u002F)\n  - Desktop development with C++ (ensure MFC component is selected)\n  - Dependencies are managed with [vcpkg](https:\u002F\u002Fgithub.com\u002FMicrosoft\u002Fvcpkg)\n\n### Linux\n- cmake 3.22+\n- make or ninja\n- If building x86-32 then 32-bit versions of the libraries mentioned above\n- Dependencies can optionally be managed by vcpkg\n\n### MacOS\n- cmake 3.22+\n- make or ninja\n- Libraries mentioned above installed to standard paths using e.g. Homebrew\n- Dependencies can optionally be managed by vcpkg\n\n---\n\n## 4.2 Compiling and running\n\n### Windows:\n\n1. Check out the repository. This can be done using [GitHub Desktop](https:\u002F\u002Fdesktop.github.com) or [other tools](https:\u002F\u002Fhelp.github.com\u002Farticles\u002Fwhich-remote-url-should-i-use).\n2. With VS 2022 use the \"Open a local folder\" option to start the project file generation. This may take some time as it downloads dependencies.\n3. After successful generation of the project files open \"build\u002Fwindows\u002Fopenloco.sln\".\n4. Select a config Debug or Release and run Build -> Build Solution.\n4. Run the game from \"build\u002Fwindows\u002F\u003Cconfig>\u002FOpenLoco.exe\" or within VS.\n\nAlternatively using CMake use the following commands.\n\n1. Run `cmake --preset windows`\n2. Run `cmake --build --preset windows-release`\n\n### Linux:\n\nThe standard CMake build procedure is to install the required libraries, then:\n```\ncmake --preset posix\ncmake --build --preset posix-release\n```\n\nNote: If building x86-32 installing some packages can be problematic. To work around this, you can use [our Docker images](https:\u002F\u002Fgithub.com\u002FOpenLoco\u002Fopenloco-docker-build) for compilation.\n    \nNote: Due to issues with distro yaml-cpp packages, its source release is downloaded during CMake generation.\n\n### MacOS\n\nThe standard CMake build procedure is to install the required libraries, then:\n```\ncmake --preset posix\ncmake --build --preset posix-release\n```\n\nNote: Only arm64 builds have been tested.\n\n---\n\n# 5 Licence\n**OpenLoco** is licensed under the MIT License.\n\n---\n\n# 6 More information\n- [GitHub](https:\u002F\u002Fgithub.com\u002FOpenLoco\u002FOpenLoco)\n- [TT-Forums](https:\u002F\u002Fwww.tt-forums.net)\n- [Locomotion subreddit](https:\u002F\u002Fwww.reddit.com\u002Fr\u002Flocomotion\u002F)\n","OpenLoco 是一款开源的《Chris Sawyer's Locomotion》重实现游戏，复刻并增强这款经典的交通建设与经营模拟游戏。项目采用 C++ 重构，兼容原版资产文件，支持跨平台（Windows\u002FLinux\u002FmacOS）运行；具备保存\u002F加载、地图编辑、车辆调度、经济系统等完整模拟功能，并持续优化性能、扩展地图与载具容量，探索多人联机支持。适用于怀旧玩家、模拟游戏爱好者及希望在现代系统上运行原版 Locomotion 的用户，无需原始可执行文件即可通过开源引擎加载官方资源。",2,"2026-07-25 02:30:07","trending"]