1 (edited by daux 2018-10-31 12:50:00)

Topic: 0.7.0 Server on Raspberry Pi 3 B

Hi,
So I managed to get a 0.7.0 server running on the Pi3B and wanted to share.
I am just a monkey with very basic knowledge so it may be a bit messy.
At first I wanted to follow this nice but dated tutorial: https://www.teeworlds.com/forum/viewtop … pid=113167

So I downloaded the teeworlds source here: https://github.com/teeworlds/teeworlds/releases
and unpacked it.

The problem is that "apt-get install python3 bam" only gets you version 0.4.something of bam.
Teeworlds 0.7.0 needs bam 0.5.x. So I found bam 0.5.1 here: https://github.com/matricks/bam/releases

Luckily all I had to do was to download the .zip, unzip the .zip and run "make_unix.sh".
After a little while of compiling I got a file named "bam" (no extension).

Since this obviously did not install bam 0.5.1 over my bam 0.4.somethin I simply moved the "bam" file which I compiled into the teeworlds source folder.

"./bam server_release" tells me target not found.
just "./bam" however did the trick.

It compiled with some errors in client related stuff:
https://www.dropbox.com/s/r7s6iddf9g78z … r.png?dl=0

The server file turns out fine and is at "/build/armv7l/debug/teeworlds_srv" smile
So I simply put that into the folder of the precompiled 64bit 0.7.0 release and it works!
Strangely the file is much bigger than the 64bit release file. Why might that be?

While I was at it I also made a very basic instagib mod for 0.7.0. I might release that in another thread in the mod section if there is any interest.

I got one vanilla and one instagib server running for testing. Should be on the server list.

Anything I could have done better/more elegant/less messy?

2

Re: 0.7.0 Server on Raspberry Pi 3 B

Thanks for sharing!
The command to build the server is

bam conf=server

Indeed, you need SDL libraries for the client only. You did what you should do.

I see your two servers in the server list, thanks!
You may want to add some map options, instagib is usually played on CTF gametype/maps, it's a bit weird on dm1 or ctf1 smile

Not Luck, Just Magic.