1To run iortcw on the Raspberry Pi requires SDL2 and at least 128M for GPU memory.
2
3(Under Raspbian, you can set the GPU memory using the raspi-config tool under Advanced Options->Memory Split)
4
5SDL 2.0.8 is required for compatibility with Raspbian stretch.
6
7Download the SDL2 source code (2.0.8 at the time of this writing) from:
8
9http://libsdl.org/release/SDL2-2.0.8.tar.gz
10
11You will need to install the libudev development files for mouse support.
12On the Raspbian distro, this is done by running the command:
13
14sudo apt-get install libudev-dev
15
16Unpack the SDL source and go into the source tree and issue the command:
17
18./configure
19
20After that has completed, type:
21make
22
23If build completes successfully, type:
24sudo make install
25
26
27At this point you can go into the iortcw source tree and type:
28./make-raspberrypi.sh
29
30Output binaries will be located in the 'build' directory, which you can copy
31into your RTCW install directory.
32
33You must exit from the desktop (X11) to the command line before launching
34iortcw to use hardware OpenGL ES acceleration. You can return to the desktop
35using the startx command.
36