All Projects â†’ OpenLoco â†’ Openloco

OpenLoco / Openloco

Licence: mit
An open source re-implementation of Chris Sawyer's Locomotion

Projects that are alternatives of or similar to Openloco

Openrct2
An open source re-implementation of RollerCoaster Tycoon 2 🎢
Stars: ✭ 10,115 (+1906.94%)
Mutual labels:  cmake, game, sdl2, simulation
Vcmi
Open-source engine for Heroes of Might and Magic III
Stars: ✭ 2,514 (+398.81%)
Mutual labels:  cmake, game, sdl2
Stuntrally
The main repository containing Stunt Rally sources and game data. A 3D racing game based on VDrift and OGRE with track editor.
Stars: ✭ 314 (-37.7%)
Mutual labels:  cmake, game, simulation
Engine
A basic cross-platform 3D game engine
Stars: ✭ 208 (-58.73%)
Mutual labels:  cmake, game, sdl2
Openspades
Compatible client of Ace of Spades 0.75
Stars: ✭ 769 (+52.58%)
Mutual labels:  cmake, game, sdl2
Openttd
OpenTTD is an open source simulation game based upon Transport Tycoon Deluxe
Stars: ✭ 3,765 (+647.02%)
Mutual labels:  game, simulation
S25client
Return To The Roots (Settlers II(R) Clone)
Stars: ✭ 288 (-42.86%)
Mutual labels:  cmake, game
Thyme
An open source re-implementation of Generals : Zero Hour written in C++.
Stars: ✭ 313 (-37.9%)
Mutual labels:  cmake, game
Magnum
Lightweight and modular C++11 graphics middleware for games and data visualization
Stars: ✭ 3,728 (+639.68%)
Mutual labels:  cmake, game
Micropolisjs
A port of Micropolis to JS/HTML5
Stars: ✭ 321 (-36.31%)
Mutual labels:  game, simulation
Vangers
The video game that combines elements of the racing and role-playing genres.
Stars: ✭ 339 (-32.74%)
Mutual labels:  game, sdl2
Ja2 Stracciatella
The continuation of the venerable JA2-Stracciatella project.
Stars: ✭ 258 (-48.81%)
Mutual labels:  game, sdl2
Flingengine
A Vulkan game engine with a focus on data oriented design
Stars: ✭ 239 (-52.58%)
Mutual labels:  cmake, game
Ecosim
An interactive ecosystem and evolution simulator written in C and OpenGL, for GNU/Linux.
Stars: ✭ 382 (-24.21%)
Mutual labels:  game, simulation
Ark
ARK is a lightweight, agility, elastic, distributed plugin framework written in C++,make it easier and faster to create your own application service.
Stars: ✭ 370 (-26.59%)
Mutual labels:  cmake, game
Rigelengine
A modern re-implementation of the classic DOS game Duke Nukem II
Stars: ✭ 393 (-22.02%)
Mutual labels:  game, sdl2
Anese
Another NES Emulator - written for fun & learning - first implementation of wideNES
Stars: ✭ 323 (-35.91%)
Mutual labels:  cmake, sdl2
Cdogs Sdl
Classic overhead run-and-gun game
Stars: ✭ 422 (-16.27%)
Mutual labels:  game, sdl2
Sparkle
🎇 A modern particle engine running on GPU, using c++14 and OpenGL 4.4.
Stars: ✭ 162 (-67.86%)
Mutual labels:  cmake, simulation
Div Games Studio
Complete cross platform games development package, originally for DOS but now available on modern platforms.
Stars: ✭ 168 (-66.67%)
Mutual labels:  cmake, sdl2

OpenLoco

An open source re-implementation of Chris Sawyer's Locomotion. A construction and management simulation video game that simulates running a transport company.


Contents


Build Status

Windows / Linux Download
master CI GitHub release

Chat

Feel free to join our Discord server to talk about developing the game, or for help getting it to run.

Discord

1 Introduction

OpenLoco is an open-source re-implementation of Chris Sawyer's Locomotion (CSL). CSL is the spiritual successor to Transport Tycoon and OpenLoco aims to improve the game similar to how OpenTTD improved Transport Tycoon and OpenRCT2 improved RollerCoaster Tycoon.

Chris Sawyer's Locomotion was originally written by Chris Sawyer in x86 assembly, building on top of his RollerCoaster Tycoon 2 engine. Much of the code is 1:1 with RollerCoaster Tycoon 2. However, the engine has changed substantially enough that OpenLoco currently does not share its codebase with OpenRCT2.

Recent implementation efforts have focussed on re-implementing the UI, so that the data structures involved may be better understood. Once this is done, it is our hope the game logic will be easier to understand and implement.


2 Downloading the game (pre-built)

OpenLoco requires original files of Chris Sawyer's Locomotion to play. It can be bought at either Steam or GOG.com.

The latest release can be found on GitHub.


3 Building the game

3.1 Building prerequisites

OpenLoco requires original files of Chris Sawyer's Locomotion to play. It can be bought at either Steam or GOG.com.

Regardless of platform, the following libraries/dependencies are required:

Windows

Linux / macOS

  • cmake
  • make or ninja
  • 32-bit versions of the libraries mentioned above

3.2 Compiling and running

Windows:

  1. Check out the repository. This can be done using GitHub Desktop or other tools.
  2. Open a new Developer Command Prompt for VS 2019, then navigate to the repository (e.g. cd C:\GitHub\OpenLoco).
  3. Run msbuild openloco.sln /t:restore;build
  4. Run mklink /D bin\data ..\data or xcopy data bin\data /EIY
  5. Run the game, bin\openloco

Linux / macOS:

The standard CMake build procedure is to install the required libraries, then:

mkdir build
cd build
CXXFLAGS="-m32" cmake ..
make

Running the game will need the data directory from the root of the source code next to the binary. Assuming you're in $SRC/build,

ln -s ../data
OR
cp -r ../data ./data 

4 Licence

OpenLoco is licensed under the MIT License.


5 More information

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].