Terraria - Pi4 - Dedicated Server Setup and Performance
Installing and running a Terraria dedicated server on a Raspberry Pi. Skip to the bottom for resources.
My Equipment / Prerequisites:
=============================
- Pi Model 4
-- With 64GB class 10 SD card (U1)
-- Using ethernet.
-- I have the 4GB version
- I have a small fan on my Pi 4 which I took off my old Pi 3. There's no mount so I just taped it on. it doesn't make a big difference to core temp, but it's better than nothing.
- Raspbian Buster with desktop (10/07/2019)
- Desktop PC
-- i7-5820K, 16GB DDR4, NVIDIA 1060 6GB, mechanical drives.
-- For installing Terraria and testing server.
- Copy of Windward
-- To join the server once running.
Resources:
=========
- tshock server
-- https://github.com/Pryaxis/TShock
- tshock server (releases)
-- https://github.com/Pryaxis/TShock/releases
- tshock documentation
-- https://tshock.readme.io/docs
- That Python temperature script
-- https://drive.google.com/open?id=1qtmqnFUZpam9s7H3Stk5R4TsSulbmLZl
136
views
Quake 3 - Pi4 - Dedicated Server Setup and Performance
Installing and running a Quake 3 dedicated server on a Raspberry Pi. Skip to the bottom for timestamps and resources. I'm using "ioquake3" as a server since it's incredibly simple to set up.
The server is running with around 19 bots, who gradually join and increase resources. I also join in from a test machine to show what actual game play feels like. While playing I'll show system resource stats and core temp of the Pi.
The server is 'ioquake3', which is a single command to install. You'll then need to copy some files over before using the single line launch command. I try a LAN and Internet server, highlighting any differences between the 2.
My Equipment / Prerequisites:
=========================
- Pi Model 4
-- With 64GB class 10 SD card.
-- Using ethernet.
-- I have the 4GB version, which seems overkill for this server. Even if running mods or larger levels, it's doubtful you'll get anywhere near 4GB.
-- The CPU takes a hit when running a lot of bots. Will likely be a lot less with human players.
- I have a small fan on my Pi 4 which I took off my old Pi 3. There's no mount so I just taped it on. it doesn't make a big difference to core temp, but it's better than nothing.
- Raspbian Buster with desktop (10/07/2019)
- Desktop PC
-- i7-5820K, 16GB DDR4, NVIDIA 1060 6GB, mechanical drives.
-- For installing Quake 3 to play and rip files.
- Copy of Quake 3
-- To join the server once running.
-- To pull out pak files to copy on to server.
-- I'm using the Steam version, which is missing pak files. See resources section.
- USB memory stick (optional)
-- For copying files to the Pi, but you can use any method (ftp, samba...).
Resources:
=========
- Config files and core temp script:
-- https://drive.google.com/open?id=1G4GfwPfZBtzQMIJOZde8L3uOamGF7R8v
- Quake 3 patch data.
-- The Steam version is missing some pak files which supposedly come from a patch. The server won't launch without them but you can get them from the official ioquake3 page
-- https://ioquake3.org/extras/patch-data/
Timestamps:
===========
00:00 - 00:22.... Intro
00:22 - 06:35... Copying files on to usb with desktop PC
06:35 - 07:37... Updating Raspbian (new install of OS)
07:37 - 10:27... Installing server
10:27 - 11:21... Setting up resource and temperature monitoring
11:21 - 14:21... Launching Quake 3 Arena LAN server
14:21 - 16:13...Launching Quake 3 Team Arena LAN server
16:13 - 20:43...Launching Quake 3 Team Arena Internet server
20:43 - end ...Summary
60
views
Windward - Pi4 - Dedicated Server Setup and Performance
Installing and running a Windward dedicated server on a Raspberry Pi. Skip to the bottom for timestamps and resources. The server is incredibly easy to install; install mono, download server, extract server and run.
According to the documentation it should be that easy, but they forgot something! I tried following all the guides which got my server running, but when I joined I couldn't start the world. Took me a while to figure out that you need to log in as an admin player first so you get can set world options. The video demonstrates the non-admin issue and the resolution, in case others have had this annoyance.
Server installation takes almost no time or configuration once 'the problem' is addressed. Server resources used are minimal throughout. They're so low that every generation of the Pi should be able to run the server to some degree.
My Equipment / Prerequisites:
=============================
- Pi Model 4
-- With 64GB class 10 SD card (U1)
-- Using ethernet.
-- I have the 4GB version
- I have a small fan on my Pi 4 which I took off my old Pi 3. There's no mount so I just taped it on. it doesn't make a big difference to core temp, but it's better than nothing.
- Raspbian Buster with desktop (10/07/2019)
- Desktop PC
-- i7-5820K, 16GB DDR4, NVIDIA 1060 6GB, mechanical drives.
-- For installing Terraria and testing server.
- Copy of Windward
-- To join the server once running.
Resources:
=========
- Windward server
-- http://www.tasharen.com/windward/WWServer.zip
- Windward documentation
-- https://windward.gamepedia.com/Dedicated_Server
- That Python temperature script
-- https://drive.google.com/open?id=1qtmqnFUZpam9s7H3Stk5R4TsSulbmLZl
Timestamps:
===========
00:00 - 00:45.... Intro
00:45 - 03:01... Server installation
03:01 - 07:41... Running a server which can be joined but won't launch
07:41 - 11:07... Fixed the server and rejoined
11:07 - 12:55... Playing and resource monitoring
12:55 - end... Playing a large world
35
views
Freeciv - Pi4 - Dedicated Server Setup and Performance
This is so simple that it really doesn't need a setup video, but I've been busy for the last few months and this provided an easy transition back in to making videos. Plus I was interested to see resource usage on a turn based dedicated server. Turns out it's almost nothing!
Raspberry Pi 4 dedicated server playlist:
https://www.youtube.com/playlist?list=PLoKC73clba2Kn_eRi3V0SrYcTXQIdOnWM
I never got in to Civilisation so not really sure what to do. The server uses minimal resources, only spiking the CPU on end of turn calculations. This is likely to do with the amount of AI in the game and calculating their moves. The spike is on a single thread but only happens for a couple of seconds at most, so likely never to be noticed.
A Freeciv dedicated server should easily run on any make and model of the Pi. It's something which could be left running in the background and you'd never notice it was there. Until you go a couple of days without completing your turn and the other players start screaming at you...
My Equipment / Prerequisites:
=============================
- Pi Model 4
-- With 64GB class 10 SD card (U3)
-- Using ethernet.
-- I have the 4GB version but this should work with any
- I have a small fan on my Pi 4 which I took off my old Pi 3. There's no mount so I just taped it on. it doesn't make a big difference to core temp, but it's better than nothing.
- Raspbian Buster with desktop (updated from 10/07/2019)
- Desktop PC
-- i7-5820K, 16GB DDR4, NVIDIA 1060 6GB, mechanical drives.
-- For installing Freeciv client and testing server.
Resources:
=========
- Freeciv PC client download
-- http://www.freeciv.org/download.html
- That Python temperature script
-- https://drive.google.com/open?id=1qtmqnFUZpam9s7H3Stk5R4TsSulbmLZl
- Freeciv user guide:
-- http://tecfa.unige.ch/guides/games/freeciv/manual/game.html
Timestamps:
===========
00:00 - 00:17.... Intro
00:17 - 02:59... Installing server on the pi
02:59 - 03:55... Talking about pi monitoring tools for video
03:55 - 06:12... Generating small world on Pi
06:12 - 07:18... Generating small world on PC
07:18 - 08:53...Generating large world on Pi
08:53 - 09:47... Generating large world on PC
09:47 - 11:00... Summary of world generation times
11:00 - 15:03... Playing a small world
15:03 - end... Playing a large world
29
views
OpenTTD - Pi4 - Dedicated Server Setup and Performance
Can the might Pi handle an Open Transport Tycoon Deluxe dedicated server? Yes. Easily. Even a Pi 2 should be able to handle it. Give it a go.
Raspberry Pi 4 dedicated server playlist:
https://www.youtube.com/playlist?list=PLoKC73clba2Kn_eRi3V0SrYcTXQIdOnWM
i didn't think it was my kind of game, but it grows on you. Probably a good idea to read up on the game first if you've never played before. I've grown quite attached to it after a couple of hours making this video. CPU usage was minimal with 5 AI players and RAM barely rose by 20MB after over an hour of playing.
Thanks to Yougotnomilk for pointing out why you should take time to make the description match the video!
My Equipment / Prerequisites:
=============================
- Pi Model 4
-- With 64GB class 10 SD card (U3)
-- Using ethernet.
-- I have the 4GB version but this should work with any
- I have a small fan on my Pi 4 which I took off my old Pi 3. There's no mount so I just taped it on. it doesn't make a big difference to core temp, but it's better than nothing.
- Raspbian Buster with desktop (updated from 10/07/2019)
- Desktop PC
-- i7-5820K, 16GB DDR4, NVIDIA 1060 6GB, mechanical drives.
-- For installing OpenTTD client and testing server.
Resources:
=========
- AI Downloads
-- https://bananas.openttd.org/package/ai-library
-- AI packages used in this video:
--- https://drive.google.com/file/d/1SKMWZm2piOuQdQfS3Fh59f3wa9zzCaTI/view?usp=sharing
- OpenTTD
-- https://www.openttd.org/downloads/openttd-releases/latest.html
--- Select a 'Windows' release from the 'Download stable' section to the bottom of the page
--- Select a 'source' download from the 'Download stable' section to the bottom of the page
--- Client (Windows) and server (source) version numbers must match
- OpenGFX (graphics)
-- https://www.openttd.org/downloads/opengfx-releases/latest.html
- OpenSFX (audio)
-- https://www.openttd.org/downloads/opensfx-releases/latest.html
- OpenMSX (music)
-- https://www.openttd.org/downloads/openmsx-releases/latest.html
- That Python temperature script
-- https://drive.google.com/open?id=1qtmqnFUZpam9s7H3Stk5R4TsSulbmLZl
Pi Building Prerequisites:
=====================
build-essential pkg-config libsdl1.2-dev subversion patch zlib1g-dev liblzo2-dev liblzma-dev libfontconfig-dev libicu-dev
Timestamps:
===========
00:00 - 04:46
- Installing the client
04:46 - 11:18
- Installing and compiling the server
11:18 - 14:37
- Installing server asset packs and AI
14:37 - 17:52
- Running the server and adding AI
17:52 - 20:23
- Saving and loading with the server
20:23 - end
- Playing for an hour and watching resources
85
views