OpenTTD 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.
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
Port | Default |
---|---|
Game | 3979 |
Admin | 3977 |
Name | Tag |
---|---|
ghcr.io/ptero-eggs/yolks:debian | ghcr.io/ptero-eggs/yolks:debian |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
Server Name | The name shown in the serverlist | srv_name | OpenTTD Server | Yes | Yes |
Show in masterlist? | Show the server in the serverlist on the client, true or false | srv_advertise | true | Yes | Yes |
OpenTTD Version | The version of OpenTTD i.e. 12.2 | OPENTTD_VERSION | 13.0-RC2 | Yes | No |
OpenGFX Version | The OpenGFX Version i.e. 7.1 | OPENGFX_VERSION | 7.1 | Yes | No |
#!/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 "-----------------------------------------"