OpenTTD Server
gamesOpenTTD is an open source simulation game based upon the popular Microprose game "Transport Tycoon Deluxe", written by Chris Sawyer. It attempts to mimic the original game as closely as possible while extending it with new features. OpenTTD is modelled after the original Transport Tycoon game by Chris Sawyer and enhances the game experience dramatically. Many features were inspired by TTDPatch while others are original.
README
OpenTTD
OpenTTD is a business simulation game in which players try to earn money via transporting passengers and freight by road, rail, water and air. It is an open-source remake and expansion of the 1995 Chris Sawyer video game Transport Tycoon Deluxe
Server Ports
| Port | Default |
|---|---|
| Game | 3979 |
| Admin | 3977 |
Docker Images (1)
| Name | Image |
|---|---|
ghcr.io/ptero-eggs/yolks:debian | ghcr.io/ptero-eggs/yolks:debian |
Startup Command
./openttd -D Variables (4)
Server Name
The name shown in the serverlist
- Environment:
srv_name- Default:
OpenTTD Server- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|string|max:20
Show in masterlist?
Show the server in the serverlist on the client, true or false
- Environment:
srv_advertise- Default:
true- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|string|in:true,false
OpenTTD Version
The version of OpenTTD i.e. 12.2
- Environment:
OPENTTD_VERSION- Default:
13.0-RC2- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|string|max:20
OpenGFX Version
The OpenGFX Version i.e. 7.1
- Environment:
OPENGFX_VERSION- Default:
7.1- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|string|max:20
Installation Script
alpine:latestash#!/bin/ash
apk add --no-cache xz curl tar unzip
mkdir -p /mnt/server
cd /mnt/server
echo -e "\ncurl -SsL -o openttd-linux.tar.xz https://cdn.openttd.org/openttd-releases/${OPENTTD_VERSION}/openttd-${OPENTTD_VERSION}-linux-generic-amd64.tar.xz"
curl -SsL -o openttd-linux.tar.xz https://cdn.openttd.org/openttd-releases/${OPENTTD_VERSION}/openttd-${OPENTTD_VERSION}-linux-generic-amd64.tar.xz
echo -e "\nUnpacking tar"
tar -xf openttd-linux.tar.xz --strip-components=1
rm openttd-linux.tar.xz
chmod +x openttd
echo -e "\nRunning curl -sSL -o opengfx.zip https://cdn.openttd.org/opengfx-releases/${OPENGFX_VERSION}/opengfx-${OPENGFX_VERSION}-all.zip"
curl -sSL -o opengfx.zip https://cdn.openttd.org/opengfx-releases/${OPENGFX_VERSION}/opengfx-${OPENGFX_VERSION}-all.zip
unzip opengfx.zip
tar --strip-components=1 -C baseset/ -xvf opengfx*.tar
rm -fR open*zip open*tar open*gz
[ -f /home/container/openttd.cfg ] || curl https://raw.githubusercontent.com/ptero-eggs/game-eggs/main/openttd/openttd.cfg > openttd.cfg
## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"