Currently Raze will likely not work on earlier versions of the Pi, I have not attempted it but the articles I read pretty much show that the GPU architecture for earlier versions of the Pi do not have what is needed. They'll probably run EDuke32 okay though, but you'll have to compile from source.
However, today I was able to get it running on the Raspberry Pi 4. This was tested with the latest version of Raspbian as of this writing.
Make sure to enable video acceleration first, if you haven't already.
First, you will need to install your libraries:
Code: Select all
sudo apt-get install g++ make cmake libsdl2-dev git zlib1g-dev \
libbz2-dev libjpeg-dev libfluidsynth-dev libgme-dev libopenal-dev \
libmpg123-dev libsndfile1-dev libgtk-3-dev libsdl1.2-dev
Next, you need to install ZMusic:
Code: Select all
cd </path/to/your source folder>
git clone https://github.com/coelckers/zmusic
cd zmusic
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j2 -k
#if above steps are successful
sudo make install
Code: Select all
cd </path/to/your source folder>
git clone https://github.com/coelckers/raze
cd raze
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j2 -k
If everything built okay, then you are now ready to install your games and run Raze. Note that this requires passing a special argument to Mesa - and therefore, this is a "do it at your own risk" type of thing! You can put your .grp files directly inside of Raze's build folder, or they can go to ~/.config/raze - either works.
To run Raze on the Pi:
Code: Select all
MESA_GL_VERSION_OVERRIDE=3.3compat ./raze
If you want to speed things up a bit, you can go into "Options->Set Video Mode" and change the scaling to "Lowest Possible Scale" - with the Pi's underpowered GPU, that should be enough to make things playable.