An open source re-implementation of RollerCoaster Tycoon 2 🎢
Go to file
Ted John 4bf9748143 fix drawing of object preview
We can't use dpi->width and dpi->height as they only define the clip region, not the viewport
2016-07-11 22:09:15 +01:00
.github Make issue template more consistent and friendlier for newer people 2016-06-09 12:35:14 +02:00
OpenRCT2.xcodeproj Update Xcode Project for #4024 2016-07-09 22:42:22 +01:00
data Merge pull request #4000 from SijmenSchoon/develop 2016-07-08 22:58:07 +01:00
debian Merge branch 'master' into develop 2016-04-15 23:25:45 +01:00
distribution Changelog: add implementation of the user-defined currency (#3966) 2016-07-02 17:59:22 +02:00
dockerfiles Update docker files (#3752) 2016-05-27 14:46:25 +01:00
resources embed OpenRCT2 icon for Windows (#3372) 2016-04-21 19:17:26 +01:00
scripts Replace references to OS X 2016-06-13 19:49:06 +02:00
src fix drawing of object preview 2016-07-11 22:09:15 +01:00
.gitattributes Added Xcode Project 2015-12-20 14:53:40 -06:00
.gitignore remove VS filters 2016-05-28 13:57:09 +01:00
.travis.yml Add CMake target not using RCT2, use it for linux64 job 2016-06-16 11:37:52 +02:00
CMakeLists.txt Add CMake target not using RCT2, use it for linux64 job 2016-06-16 11:37:52 +02:00
CMakeLists_mingw.txt Fix CMakeLists for MinGW cross-compilation 2015-12-28 01:17:28 +01:00
CONTRIBUTING.md Update CONTRIBUTING.md 2015-09-24 13:03:44 +01:00
appveyor.yml add caching of secure-file 2016-05-04 22:54:26 +01:00
contributors.md Merge pull request #3998 from gDanix/fix-3324 2016-07-06 20:59:54 +01:00
curl-ca-bundle.crt add twitch integration, part 2 2015-05-25 20:38:33 +01:00
licence.txt (test commit for travis please ignore) 2014-05-25 22:35:54 +02:00
openrct2.exe patch exe to remove DirectDraw, DirectInput and DirectPlay dependencies. 2015-08-18 21:32:21 +01:00
openrct2.sln clean up VS solution and project 2016-01-09 21:50:04 +00:00
openrct2.vcxproj create base scenery object for scenery objects 2016-07-09 19:16:38 +01:00
openrct2.vcxproj.user integrate variable: gWindowMapFlashingFlags 2016-05-13 22:51:16 +01:00
readme.md Update readme.md 2016-06-19 13:16:54 +01:00
setenv.ps1 setup AppVeyor CI 2015-12-22 21:31:28 +00:00

readme.md

OpenRCT2

An open-source re-implementation of RollerCoaster Tycoon 2. A construction and management simulation video game that simulates amusement park management.

Build Status

Windows Linux / Mac Download
master AppVeyor Travis CI OpenRCT2.org
develop AppVeyor Travis CI OpenRCT2.org

Chat

Gitter
Gitter

Contents

1 Introduction

OpenRCT2 is an open-source re-implementation of RollerCoaster Tycoon 2 (RCT2). The gameplay revolves around building and maintaining an amusement park containing attractions, shops and facilities. The player must try to make a profit and maintain a good park reputation whilst keeping the guests happy. OpenRCT2 allows for both scenario and sandbox play. Scenarios require the player to complete a certain objective in a set time limit whilst sandbox allows the player to build a more flexible park with optionally no restrictions or finance.

RollerCoaster Tycoon 2 was originally written by Chris Sawyer in x86 assembly and is the sequal to RollerCoaster Tycoon. The engine was based on Transport Tycoon, an older game which also has an equivalent open-source project, OpenTTD. OpenRCT2 attempts to provide everything from RCT2 as well as many improvements and additional features, some of these include support for modern platforms, an improved interface, improved guest and staff AI, more editing tools, increased limits, and cooperative multiplayer. It also re-introduces mechanics from RollerCoaster Tycoon that were not present in RollerCoaster Tycoon 2. Some of those include; mountain tool in-game, the "have fun" objective, launched coasters (not passing-through the station) and several buttons on the toolbar.

2 Downloading the game (pre-built)

OpenRCT2 requires original files of RollerCoaster Tycoon 2 to play. It can be bought at either Steam or GOG.com.

OpenRCT2.org offers precompiled builds and installers of the latest stable and the develop branch. There is also a cross platform Launcher available that will automatically update your build of the game so that you always have the latest version.

3 Building the game

3.1 Building prerequisites

OpenRCT2 requires original files of RollerCoaster Tycoon 2 to play. It can be bought at either Steam or GOG.com.

Windows:

Mac:

Mac / Linux:

  • sdl2
  • sdl2-ttf
  • speexdsp
  • curl (only if building with network support)
  • jansson (only if building with network support)
  • iconv (part of glibc on Linux)
  • cmake All libs listed here (bar cmake) required in 32 bit variants.

3.2 Compiling and running

Windows:

  1. Check out the repository. This can be done using GitHub Windows or other tools.
  2. Open a new Developer Command Prompt for VS2015, run PowerShell and then navigate to the repository.
  3. Run the setenv.ps1 script in the repository to setup your PowerShell environment for OpenRCT2 development. This will warn you of any missing applications required to build OpenRCT2.
  4. Run install to download the required dependencies to build OpenRCT2.
  5. Run build all to build all the required components for OpenRCT2.
  6. Run run to run OpenRCT2.

These PowerShell scripts are stored in .\scripts\ps and have parameters. Once you have use the build script once, further development can be done within Visual Studio by opening openrct2.sln. The build scripts have several commands allowing you to rebuild certain components such g2.dat or language files.

Mac:

We support native builds for macOS (limited to i386 only for now). Make sure that you have Homebrew installed and than run the following commands to install all the needed libraries and build OpenRCT2.

# Install libraries
./install.sh

# Build OpenRCT2
./build.sh

# Run the game
./openrct2

Linux:

We support native builds for Linux (limited to i386 only for now). As the easiest approach depends on your distribution, please take a look at the wiki.

4 Contributing

OpenRCT2 uses the gitflow workflow. If you are implementing a new feature or logic from the original game, please branch off and perform pull requests to develop. If you are fixing a bug for the next release, please branch off and perform pull requests to the correct release branch. master only contains tagged releases, you should never branch off this.

Please read our contributing guidelines for information.

4.1 Bug fixes

A list of bugs can be found on the issue tracker. Feel free to work on any bug and submit a pull request to the develop branch with the fix. Mentioning that you intend to fix a bug on the issue will prevent other people from trying as well.

4.2 New features

Please talk to the OpenRCT2 team first before starting to develop a new feature. We may already have plans or reasons against it, therefore contacting us will allow us to help you or prevent you from wasting any time. You can talk to us via gitter, see links at the top of this page.

4.3 Translation

You can translate the game into other languages by editing the language files in data/language directory. Please join discussions and submit pull requests to OpenRCT2/Localisation.

5 Licence

OpenRCT2 is licensed under the GNU General Public License version 3.

6 More information