OpenTTD - Pi4 - Dedicated Server Setup and Performance

2 years ago
130

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

Loading comments...