Skip to content

Commit b35d196

Browse files
Merge pull request #551 from lethal-guitar/readme-additions
README additions
2 parents 33dd1d0 + 909f656 commit b35d196

File tree

1 file changed

+48
-5
lines changed

1 file changed

+48
-5
lines changed

README.md

Lines changed: 48 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,25 @@ Gameplay-wise, RigelEngine is feature-complete: All four episodes of the game (s
2323

2424
The project overall is far from finished, though. There are still some pieces missing to reach full parity with the original game (configurable controls/key bindings, [a few visual effects](https://github.com/lethal-guitar/RigelEngine/milestone/5), some [screens in the menu](https://github.com/lethal-guitar/RigelEngine/milestone/4), [demo playback](https://github.com/lethal-guitar/RigelEngine/milestone/13)). On top of that, more [modern enhancements](https://github.com/lethal-guitar/RigelEngine/labels/enhancement) and [usability improvements](https://github.com/lethal-guitar/RigelEngine/labels/usability) are planned.
2525

26+
### Supported platforms
27+
28+
RigelEngine runs on Windows, Linux, and Mac OS X.
29+
30+
It also runs on the Raspberry Pi, but that's work in progress as there are still [some issues](https://github.com/lethal-guitar/RigelEngine/labels/raspberry-pi-support) to be sorted out. See [build instructions](#raspi-build-instructions).
31+
32+
Android and iOS versions might happen someday, but there are no concrete plans at the moment.
33+
34+
### System requirements
35+
36+
RigelEngine is not very demanding, but it does require OpenGL-capable graphics hardware.
37+
Either OpenGL 3.0 or OpenGL ES 2.0 can be used, depending on what's chosen at compile time.
38+
To build in GL ES mode, pass `-DUSE_GL_ES=1` to CMake.
39+
40+
Most Desktop/laptop graphics cards support OpenGL 3.0 nowadays.
41+
However, some older integrated GPUs might only support OpenGL 2.
42+
For these systems, using GL ES can be an option as well.
43+
This has been confirmed to work on Ubuntu 18.04 on an older laptop.
44+
2645
### Differences to the original Duke Nukem II
2746

2847
See [list of differences](https://github.com/lethal-guitar/RigelEngine/wiki#differences-to-the-original-duke-nukem-ii-executable).
@@ -66,7 +85,7 @@ Pre-built binaries for Windows are provided with each [Release](https://github.c
6685

6786
Thanks to [@mnhauke](https://github.com/mnhauke), there is now also a [Linux package for OpenSUSE Tumbleweed](https://software.opensuse.org/package/RigelEngine).
6887

69-
I'm planning to provide binaries for OS X and Ubuntu/Debian in the future, but right now, you need to build the project yourself on these platforms.
88+
I'm planning to provide binaries for OS X, Ubuntu/Debian, and Raspberry Pi in the future, but right now, you need to build the project yourself on these platforms.
7089

7190
## Building from source
7291

@@ -76,7 +95,8 @@ I'm planning to provide binaries for OS X and Ubuntu/Debian in the future, but r
7695
* [Linux builds](#linux-build-instructions)
7796
* [Ubuntu 19.04 or newer](#linux-build-instructions-194)
7897
* [Ubuntu 18.04](#linux-build-instructions-184)
79-
* [Fedora](#linux-build-instructions-fedora)
98+
* [Fedora 31 or newer](#linux-build-instructions-fedora)
99+
* [Raspberry Pi builds](#raspi-build-instructions)
80100
* [OS X builds](#mac-build-instructions)
81101
* [Windows builds](#windows-build-instructions)
82102

@@ -211,16 +231,39 @@ make -j8 # adjust depending on number of CPU cores in your machine
211231
./src/RigelEngine
212232
```
213233

214-
#### <a name="linux-build-instructions-fedora">Fedora</a>
234+
#### <a name="linux-build-instructions-fedora">Fedora 31 or newer</a>
215235

216-
On Fedora (tested with version 31), the following command installs all
236+
On Fedora, the following command installs all
217237
required dependencies:
218238

219239
```bash
220240
sudo dnf install cmake boost-devel boost-program-options boost-static SDL2-devel SDL2_mixer-devel
221241
```
222242

223-
This assumes that `make`, `gcc` and `gcc-c++` are already installed.
243+
Note the additional `boost-static` package - without it, there will be linker errors.
244+
245+
This also assumes that `make`, `gcc` and `gcc-c++` are already installed.
246+
247+
### <a name="raspi-build-instructions">Raspberry Pi builds</a>
248+
249+
:warning: Note that Raspberry Pi support is still work in progress, and there are [some issues](https://github.com/lethal-guitar/RigelEngine/labels/raspberry-pi-support).
250+
251+
To build on the Pi itself, I recommend Raspbian (aka Raspberry Pi OS) _Buster_.
252+
Older versions like Stretch don't have recent enough versions of CMake, Boost and Gcc.
253+
254+
Installing the dependencies on Buster works exactly like [on Ubuntu](#linux-build-instructions-194).
255+
256+
When building, you need to enable OpenGL ES Support, and I also recommend doing a release build:
257+
258+
```bash
259+
mkdir build
260+
cd build
261+
cmake .. -DUSE_GL_ES=1 -DCMAKE_BUILD_TYPE=Release
262+
make
263+
```
264+
265+
To get playable performance, I had to run the game outside of the Desktop environment (X server).
266+
To do that, switch to a new terminal using Ctrl+Alt+F1 and launch the game there.
224267

225268
### <a name="mac-build-instructions">OS X builds</a>
226269

0 commit comments

Comments
 (0)