README
Automobilista 2
Steam description : Automobilista 2 is all the racing simulators you ever wanted - in just one. An incredibly diverse collection of cars and tracks cohesively simulated, featuring incredible graphics and audio quality, dynamic weather and track conditions and the best VR support for a racing experience like no other.
Minimum RAM warning
Minimum RAM requirement of 512MB, with 1GB+ being recommended
Minimum Storage warning
Automobilista 2 required at least 2GiB.
Server Ports
Automobilista 2 requires three ports to run. Hostport is always the default Allocation Port!
| Port | default |
|---|---|
| SteamPort | 8766 |
| Hostport(Default Allocation Port) | 27015 |
| queryPort | 27016 |
Notes
All Ports can be changed
Docker Images (1)
| Name | Image |
|---|---|
ghcr.io/ptero-eggs/yolks:wine_latest | ghcr.io/ptero-eggs/yolks:wine_latest |
Startup Command
wine ./DedicatedServerCmd.exe Variables (9)
App ID
- Environment:
SRCDS_APPID- Default:
1338040- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|string|in:1338040
Auto Update
Decide if you want to update your server
- Environment:
AUTO_UPDATE- Default:
1- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|boolean
Windows
- Environment:
WINDOWS_INSTALL- Default:
1- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|boolean
Wine Debug
- Environment:
WINEDEBUG- Default:
-all- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|string|max:20
Server Name
- Environment:
SERVER_NAME- Default:
Ptero Default- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|string|max:100
Query Port
- Environment:
QUERY_PORT- Default:
None- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|string|max:20
Steam Port
- Environment:
STEAM_PORT- Default:
None- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|string|max:20
Server Password
- Environment:
SERVER_PASSWORD- Default:
None- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
nullable|string|max:32
Max Players
- Environment:
MAX_PLAYERS- Default:
16- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|int|max:32
Installation Script
Container:
ghcr.io/ptero-eggs/installers:debianEntrypoint:
bashif [[ "${STEAM_USER}" == "" ]] || [[ "${STEAM_PASS}" == "" ]]; then
echo -e "steam user is not set.\n"
echo -e "Using anonymous user.\n"
STEAM_USER=anonymous
STEAM_PASS=""
STEAM_AUTH=""
else
echo -e "user set to ${STEAM_USER}"
fi
cd /tmp
mkdir -p /mnt/server/steamcmd
curl -sSL -o steamcmd.tar.gz https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd
mkdir -p /mnt/server/steamapps # Fix steamcmd disk write error when this folder is missing
cd /mnt/server/steamcmd
chown -R root:root /mnt
export HOME=/mnt/server
## install game using steamcmd
./steamcmd.sh +force_install_dir /mnt/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ "${WINDOWS_INSTALL}" == "1" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} $( [[ -z ${SRCDS_BETAID} ]] || printf %s "-beta ${SRCDS_BETAID}" ) $( [[ -z ${SRCDS_BETAPASS} ]] || printf %s "-betapassword ${SRCDS_BETAPASS}" ) ${INSTALL_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6
## set up 32 bit libraries
mkdir -p /mnt/server/.steam/sdk32
cp -v linux32/steamclient.so ../.steam/sdk32/steamclient.so
## set up 64 bit libraries
mkdir -p /mnt/server/.steam/sdk64
cp -v linux64/steamclient.so ../.steam/sdk64/steamclient.so
cd $HOME
if [ ! -f "server.cfg" ] ; then
echo "Installing default config file"
cp config_sample/server_with_lists.cfg server.cfg
fi
## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"