Compiling zandronum-server on the Raspberry Pi

General discussion of the port and Doom-related chat.
Post Reply
User avatar
doomjoshuaboy
Developer
Posts: 304
Joined: Thu Aug 02, 2012 5:36 am
Location: Australia
Contact:

Compiling zandronum-server on the Raspberry Pi

#1

Post by doomjoshuaboy » Thu Oct 31, 2019 10:24 am

Hello Everyone

After a few days of testing and compiling the zandronum-server on the pi is finally ready for you to compile. (tested on Raspberry PI4 with Rasphian Buster.)
What went wrong was the SQLite needed an update to the latest as well as the lemon code.
so here's how it works:

1. Update the pi to the latest:

Code: Select all

sudo apt update && sudo apt upgrade
1a. (optional) reboot (if needed)

Code: Select all

sudo reboot
2. Install these:

Code: Select all

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 \
    libssl-dev git
3. Make new folder and enter there:

Code: Select all

mkdir $HOME/zandronum-build && cd $HOME/zandronum-build
4. Get repo from this website:

Code: Select all

git clone https://github.com/doomjoshuaboy/zandronum-rpi.git
5. Make a new folder and enter there:

Code: Select all

mkdir buildserver && cd buildserver
6. and make:

Code: Select all

make clean; \
cmake -DCMAKE_BUILD_TYPE=Release -DSERVERONLY=ON -DNO_ASM=1 .. && \
make -j$(nproc) 
and there you have it. have fun with it. if you have any Problems let me know. or pull request and help out.

cheers

DoomJoshuaBoy
Last edited by doomjoshuaboy on Thu Oct 29, 2020 1:02 pm, edited 3 times in total.

User avatar
doomjoshuaboy
Developer
Posts: 304
Joined: Thu Aug 02, 2012 5:36 am
Location: Australia
Contact:

Re: Compiling zandronum-server on the Raspberry Pi

#2

Post by doomjoshuaboy » Fri Nov 01, 2019 4:57 am

first update released:
bumped to v2 contains unlagged and tics issues please recompile you have v1 installed

also ill be giving out updates for improvements for the servers stuff

User avatar
doomjoshuaboy
Developer
Posts: 304
Joined: Thu Aug 02, 2012 5:36 am
Location: Australia
Contact:

Re: Compiling zandronum-server on the Raspberry Pi

#3

Post by doomjoshuaboy » Wed Nov 06, 2019 4:15 am

Update:
v3 released if you have recieved version 2 please recompile it
as it contains: Desynced problems and tics issues fixed.
do keep in mind though you might need to replace to the old zandronum.pk3 from 3.0 for it to work because the new one you compiled isn't working for some strange reason.

User avatar
doomjoshuaboy
Developer
Posts: 304
Joined: Thu Aug 02, 2012 5:36 am
Location: Australia
Contact:

Re: Compiling zandronum-server on the Raspberry Pi

#4

Post by doomjoshuaboy » Thu Nov 07, 2019 8:58 pm

Update:
v4 released if you have received versions 1, 2 or 3 please recompile it
as it contains: client tics fixed.
do keep in mind though you might need to replace to the old zandronum.pk3 from 3.0 for it to work because the new one you compiled isn't working for some strange reason.

User avatar
doomjoshuaboy
Developer
Posts: 304
Joined: Thu Aug 02, 2012 5:36 am
Location: Australia
Contact:

Re: Compiling zandronum-server on the Raspberry Pi

#5

Post by doomjoshuaboy » Thu Oct 29, 2020 1:00 pm

Update:
v5 released if you have received versions 1, 2 or 3 (but you can still use V4) please recompile it.
massive revert back to the good old 3.0 the pk3 now remains the same.


also moved to github as bitbucket Loses HG

Post Reply