• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

English.lproj/H03-May-2022-

debian/H19-Dec-2021-12381

iff/archive/H19-Dec-2021-867563

libmve/H19-Dec-2021-3,3312,223

main/H19-Dec-2021-3,0822,373

utilities/H19-Dec-2021-1,3871,113

MVEPlayer-Info.plistH A D19-Dec-2021762 2524

README.RPiH A D19-Dec-20213.9 KiB9368

d2x-Info.plistH A D19-Dec-2021942 3332

d2x-rebirth.desktopH A D19-Dec-2021219 119

d2x.iniH A D19-Dec-20214.3 KiB7664

d2xgl-Info.plistH A D19-Dec-2021946 3332

README.RPi

1DXX-Rebirth for the Raspberry Pi
2
3BUILDING:
4=========
5Make sure you have installed (the development packages of) all of the required
6libraries (libsdl, libphysfs, ...). For building, you will also need scons (and
7for that, python).  Most linux distributions should contain all the required
8packages, debain/raspbian do so for sure. Using a distribution with hardfp ABI
9is recommended for optimal performance. I developed/tested this on a raspbian
10wheezy.
11
12Multiple build configurations are possible for the Pi, depending on whether you
13wish to use the legacy vendor graphics driver or experimental Mesa VC4 driver.
14
15To build against the legacy vendor graphics driver (recommended for most users):
16
17scons raspberrypi=1
18
19If you're using a firmware release older than 1.20160921-1, it's highly
20recommended that you upgrade, but if that's not an option, you must manually
21specify the original GLES/EGL library names:
22
23scons raspberrypi=1 egl_lib=EGL opengles_lib=GLESv2
24
25This assumes that the development files (libs/headers) for the VideoCore APIs
26are located in /opt/vc. You can use rpi_vc_path to specify another location.
27
28If you wish to build for Raspberry Pi 4B or the experimental Mesa VC4 driver:
29
30scons raspberrypi=mesa
31
32This will select the GL interface with SDL2 by default, but you can select
33GLES & SDL1 by adding "opengles=1 sdl2=0". Keep in mind that as of Raspbian buster,
34the Mesa packages no longer ship with GLESv1 headers, making GLES builds impossible.
35Additionally, SDL2 is highly recommended, as its KMSDRM video driver is the only
36way to run DXX-Rebirth on a Raspberry Pi 4B outside of an Xorg session.
37
38For all other options, check "scons -h".
39
40Currently, there is no direct support for crosscompiling.
41
42RUNNING:
43========
44The game should run with X11 or directly on the console (libsdl with fbcon/
45directfb driver).
46
47NOTE: *** PLEASE USE THE 128/128MB MEMORY SPLIT ***
48
49The game might completely freeze or diplay messed up graphics in
50out-of-(GPU)-memory situations. If you want to run it with the 192/64MB memory
51split, you might be able to do so by setting the texture filter to "NONE" in
52the graphics options. (This disables mip mapping and reduces the memory
53requirements of the textures. Note that the "BILINEAR" filter still uses
54mipmapping).
55
56If the game freezes during the "Prepare for Descent" phase when loading a
57level, you probably do not have enough GPU memory.
58
59RUNNING ON X11:
60===============
61Recommendation is to use fullscreen mode. However, you can run in "windowed"
62mode, too. The game will open an X11 window in that case, and the actual game
63output will be an overlay of the same size, but not at the same position, and
64always on top (and completely out of control of the X Server). Game input is
65still handled via the X11 window, so make sure it has the focus.
66
67RUNNING ON THE CONSOLE:
68=======================
69libsdl supports running directly on the Linux console. While the SDL Video mode
70is technically not required on the RPi, we still have to use it to get all the
71input events we need. libsdl seems to have problems on the RPi, I always get a
72crash in libsdl when trying to change the resolution. To avoid such crashes,
73the code will try to detect if it is running on the console and activate a hack
74to prevent switching the resolution. Note that the in-game framebuffer
75resolution can still be changed, the RPi will just scale the output to the
76initial resolution (in "fullscreen" mode). "Windowed" mode will just result in
77unscaled output. As libsdl creates a black screen, you will not be able to have
78the "Window" on top of the linux console output :(
79
80NOTE: You might need root privileges to use the libsdl fbcon/directfb drivers.
81
82BUGS, SUGGESTIONS AND FEEDBACK:
83===============================
84
85The RPi patch was written by:
86	Marcel Heinz <derhass@arcor.de>
87
88Send bug reports, suggestions and other feedback regarding the operation
89on the RPi to me via email.
90
91						-- derhass, 2012-08-09
92
93