Skip to content

Commit 5a98d94

Browse files
committed
Amend Linux instructions
1 parent 00f3593 commit 5a98d94

File tree

1 file changed

+133
-16
lines changed

1 file changed

+133
-16
lines changed

installing/installing-on-linux-bsd.rst

+133-16
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
Installing OpenRCT2 on Linux/BSD
22
================================
33

4-
Note: this page is still under construction.
5-
6-
Installing OpenRCT2 itself
7-
--------------------------
4+
Installing
5+
----------
86

97
OpenRCT2 is in the repositories of several Linux distributions and the ports tree of several BSD flavours. Additionally, there are AppImage and Flatpak builds that work on most Linux distributions. You can also compile the game yourself if you desire.
108

@@ -17,7 +15,7 @@ You can download the AppImage by going to our official website, https://openrct2
1715

1816
After download, mark the file as executable. OpenRCT2 can now be run by double-clicking it. (Don’t run it just yet—you need to install RCT2 first.)
1917

20-
If you have a GOG.com version of RCT2 or RCT1, install ``innoextract``. If you have a CD version of RCT2, install ``unshield``. Also make sure that you have Zenity or Kdialog installed. (Most Linux distributions have it preinstalled, especially if you have GNOME or KDE installed.)
18+
If you have a GOG.com version of RCT2 or RCT1, install ``innoextract``. If you have a CD version of RCT2, install ``unshield``. Also make sure that you have Zenity or Kdialog installed. (Most Linux distributions have it preinstalled, especially if you have GNOME or KDE installed.)
2119

2220
You can now proceed to :ref:`Getting the RCT2 files (required)<LinuxBSDGetRCT2>`.
2321

@@ -26,7 +24,7 @@ Flatpak (generic Linux)
2624

2725
Go to https://flathub.org/apps/details/io.openrct2.OpenRCT2, click the Install button and follow the on-screen instructions.
2826

29-
If you have a GOG.com version of RCT2 or RCT1, install ``innoextract``. If you have a CD version of RCT2, install ``unshield``. Also make sure that you have Zenity or Kdialog installed. (Most Linux distributions have it preinstalled, especially if you have GNOME or KDE installed.)
27+
If you have a CD version of RCT2, install ``unshield``. Also make sure that you have Zenity or Kdialog installed. (Most Linux distributions have it preinstalled, especially if you have GNOME or KDE installed.)
3028

3129
You can now proceed to :ref:`Getting the RCT2 files (required)<LinuxBSDGetRCT2>`.
3230

@@ -35,20 +33,128 @@ Ubuntu, Linux Mint and derivatives
3533

3634
We have provided a PPA for OpenRCT2. These instructions must be executed from a Terminal. You must first pick between release and develop builds.
3735

38-
If you prefer release builds, use this:
39-
``sudo add-apt-repository ppa:openrct2/master``
36+
If you prefer release builds, use this::
37+
38+
sudo add-apt-repository ppa:openrct2/master
39+
40+
If you prefer develop builds, use this::
41+
42+
sudo add-apt-repository ppa:openrct2/nightly
4043

41-
If you prefer develop builds, use this:
42-
``sudo add-apt-repository ppa:openrct2/nightly``
44+
Then, install OpenRCT2::
4345

44-
Then, install OpenRCT2:
45-
``sudo apt install openrct2``
46+
sudo apt install openrct2
4647

47-
If you have a GOG.com version of RCT2 or RCT1, also install ``innoextract``:
48-
``sudo apt install innoextract``
48+
If you have a GOG.com version of RCT2 or RCT1, also install ``innoextract``::
4949

50-
If you have a CD version of RCT2, also install ``unshield``:
51-
``sudo apt install unshield``
50+
sudo apt install innoextract
51+
52+
If you have a CD version of RCT2, also install ``unshield``::
53+
54+
sudo apt install unshield
55+
56+
You can now proceed to :ref:`Getting the RCT2 files (required)<LinuxBSDGetRCT2>`.
57+
58+
Arch Linux
59+
^^^^^^^^^^
60+
61+
If you want the release build (some servers use these), install the standard `openrct2 <https://archlinux.org/packages/community/x86_64/openrct2/>`_ package::
62+
63+
sudo pacman -S openrct2
64+
65+
Alternatively, if you want the latest development build, install the -git package from the `AUR <https://aur.archlinux.org/>`_. The dev builds are analogous to beta versions - they should work, but don't expect everything to be perfect.
66+
::
67+
68+
git clone https://aur.archlinux.org/openrct2-git.git
69+
cd openrct2-git
70+
makepkg -si
71+
72+
If you have a GOG.com version of RCT2 or RCT1, also install ``innoextract``::
73+
74+
sudo pacman -S innoextract
75+
76+
If you have a CD version of RCT2, also install ``unshield``::
77+
78+
sudo pacman -S unshield
79+
80+
You can now proceed to :ref:`Getting the RCT2 files (required)<LinuxBSDGetRCT2>`.
81+
82+
OpenSUSE
83+
^^^^^^^^
84+
85+
You can obtain the latest release or develop version of OpenRCT2 from the `OBS <https://build.opensuse.org/package/show/games/openrct2>`_::
86+
87+
sudo zypper install openrct2
88+
89+
If you have a GOG.com version of RCT2 or RCT1, also install ``innoextract``::
90+
91+
sudo zypper install innoextract
92+
93+
If you have a CD version of RCT2, also install ``unshield``::
94+
95+
sudo zypper install unshield
96+
97+
You can now proceed to :ref:`Getting the RCT2 files (required)<LinuxBSDGetRCT2>`.
98+
99+
Gentoo
100+
^^^^^^
101+
102+
Accept ~amd64 (or equivalent for your arch) for the openrct2 package, add this to /etc/portage/package.accept_keywords/openrct2 (for example)::
103+
104+
games-simulation/openrct2 ~amd64
105+
106+
Alternatively, if you want the latest development build, use the live ebuild. The live ebuild will compile the latest dev version, and although they should work, it may not always compile (when upstream build has changed but the ebuild hasn't caught up yet).
107+
::
108+
109+
=games-simulation/openrct2-9999 **
110+
111+
And then install the package::
112+
113+
sudo emerge --ask --verbose openrct2
114+
115+
If you have a GOG.com version of RCT2 or RCT1, install ``innoextract``. If you have a CD version of RCT2, install ``unshield``. Also make sure that you have Zenity or Kdialog installed.
116+
117+
You can now proceed to :ref:`Getting the RCT2 files (required)<LinuxBSDGetRCT2>`.
118+
119+
Fedora
120+
^^^^^^
121+
122+
You will need the dependencies to build the game - there is no package for the game as of yet::
123+
124+
sudo dnf install gcc gcc-c++ json-devel \
125+
openssl-devel SDL2-devel libicu-devel \
126+
speexdsp-devel libcurl-devel \
127+
cmake fontconfig-devel freetype-devel \
128+
libpng-devel libzip-devel mesa-libGL-devel \
129+
duktape-devel flac-devel libvorbis-devel
130+
131+
Build the game::
132+
133+
git clone https://github.com/OpenRCT2/OpenRCT2.git && cd ./OpenRCT2 && mkdir build && cd build && cmake ../ && make
134+
135+
Set up the files::
136+
137+
cp -r ../data/ ./data/ && make g2 && mv ./g2.dat ./data/g2.dat
138+
139+
If you do not run the following command, then assets are not downloaded, and libraries are not put where they need to go. The app will start, but will have no assets. Sudo is needed to put assets in /usr and /lib.
140+
::
141+
142+
sudo make install
143+
144+
You can now proceed to :ref:`Getting the RCT2 files (required)<LinuxBSDGetRCT2>`.
145+
146+
NixOS
147+
^^^^^
148+
149+
The installation is currently based on your nixpkgs-channel. If you're using the unstable channel, just install the package::
150+
151+
nix-env -iA nixos.openrct2
152+
153+
If you're on an stable channel (like 17.09 or older) you can install this single package from the unstable channel::
154+
155+
nix-env -f https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz -iA openrct2
156+
157+
Alternatively you can build the `expression <https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/openrct2/default.nix>`_ from the nixpkgs.
52158

53159
You can now proceed to :ref:`Getting the RCT2 files (required)<LinuxBSDGetRCT2>`.
54160

@@ -59,6 +165,8 @@ Follow the instructions here: https://github.com/OpenRCT2/OpenRCT2/wiki/Building
59165

60166
.. _LinuxBSDGetRCT2:
61167

168+
If you have a GOG.com version of RCT2 or RCT1, install ``innoextract``. If you have a CD version of RCT2, install ``unshield``.
169+
62170
Getting the RCT2 files (required)
63171
---------------------------------
64172

@@ -92,6 +200,15 @@ Since RollerCoaster Tycoon 1 is a Windows game, you must first enable Steam Play
92200

93201
With Steam Play enabled, the Install button should now be enabled. Click it. Once this is done, you can now link to it from OpenRCT2. To do this, start OpenRCT2, click ``Options`` and navigate to the tab with the wrench. On the bottom of that tab is a widget that you can click to set the directory. A directory browser will now open. Point it to ``/home/<username>/.local/share/Steam/steamapps/common/RollerCoaster Tycoon Deluxe``.
94202

203+
Setting an RCT2 path without Zenity or Kdialog
204+
----------------------------------------------
205+
206+
When OpenRCT2 first launches, you will be prompted to select the directory where you installed RCT2. This required either Zenity or Kdialog to be installed.
207+
208+
You can also set the RCT2 path from the command line should you wish::
209+
210+
openrct2 set-rct2 /path/to/rct2-install
211+
95212
.. rubric:: Footnotes
96213

97214
.. [#f1] There are some font issues with the Russian edition. Since OpenRCT2 ships with its own translations and with an extensive font that also contains all the required Russian characters, we strongly recommend installing the English edition of RCT2 even if you want to play in Russian.

0 commit comments

Comments
 (0)