1,579
edits
DrinkyBird (talk | contribs) (Created page with "It is possible to compile <code>zandronum-server</code> on a Raspberry Pi. It is mostly the same as compiling on Linux, but we have to disable...") |
DrinkyBird (talk | contribs) (Update OSDN link to Heptapod) Tag: Source edit |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 12: | Line 12: | ||
* Access to a terminal on your Raspberry Pi. | * Access to a terminal on your Raspberry Pi. | ||
This guide was written for the Raspberry Pi Model | This guide was written for the Raspberry Pi Model 4B, but should work on all older models. | ||
== Install Dependencies == | == Install Dependencies == | ||
=== Raspbian === | === Raspberry PI OS (formerly known as: Raspbian) === | ||
$ sudo apt-get install build-essential zlib1g-dev libsdl1.2-dev libjpeg-dev \ | $ sudo apt-get install build-essential zlib1g-dev libsdl1.2-dev libjpeg-dev \ | ||
nasm tar libbz2-dev libgtk2.0-dev cmake mercurial libfluidsynth-dev libgl1-mesa-dev \ | nasm tar libbz2-dev libgtk2.0-dev cmake mercurial libfluidsynth-dev libgl1-mesa-dev \ | ||
Line 31: | Line 31: | ||
Clone the Zandronum repository: | Clone the Zandronum repository: | ||
$ hg clone https:// | $ hg clone https://foss.heptapod.net/zandronum/zandronum-stable zandronum | ||
Create and <code>cd</code> to the directory where build files will be outputted: | Create and <code>cd</code> to the directory where build files will be outputted: | ||
$ cd ./zandronum | |||
$ mkdir buildserver && cd buildserver | $ mkdir buildserver && cd buildserver | ||
Line 64: | Line 57: | ||
./zandronum-server | ./zandronum-server | ||
You'll probably want to add the <code>-iwad</code> parameter to get it to successfully launch, though. | You'll probably want to add the <code>-iwad</code> parameter to get it to successfully launch, though. | ||
Note: you might need to replace the pk3 to the 3.0 before running this because accidentally messed up the pk3. | |||
Once you've set it all up, enjoy playing on your Pi-powered server! | Once you've set it all up, enjoy playing on your Pi-powered server! | ||
[[File:Pi server.png]] | [[File:Pi server new.png]] |