Skip to content

Automobilista 2

Egg for Automobilista 2

egg-automobilista-2.json

updated

Ports

Add an allocation on the node for each port.

  • SteamPort 8766
  • Hostport(Default Allocation Port) 27015
  • queryPort 27016

Install

Installer image
ghcr.io/ptero-eggs/installers:debian
Steam app
1338040
Steam login
not required
Install script
41 lines

Image

  • Wine ghcr.io/ptero-eggs/yolks:wine_latest

Startup

The Panel runs this command to start the server. It replaces each variable in the command with the value of that variable.

9 variables

Startup command

wine ./DedicatedServerCmd.exe
  • SRCDS_APPIDUsers cannot see

    required|string|in:1338040

  • Decide if you want to update your server

    AUTO_UPDATEUsers can edit

    required|boolean

  • WINDOWS_INSTALLUsers cannot see

    required|boolean

  • WINEDEBUGUsers cannot see

    required|string|max:20

  • SERVER_NAMEUsers can edit

    required|string|max:100

  • QUERY_PORTUsers can edit

    required|string|max:20A value is required.

  • STEAM_PORTUsers can edit

    required|string|max:20A value is required.

  • SERVER_PASSWORDUsers can edit

    nullable|string|max:32

  • MAX_PLAYERSUsers can edit

    required|int|max:32

Wings

Stop command
^C (SIGINT)
Running when the console shows
[?25h[?25l[?25h[?25ls[?25h[?25lw[?25h[?25li[?25h[?25lt[?25h[?25lc[?25h[?25lh[?25h[?25li[?25h[?25ln[?25h[?25lg[?25h[?25l[?25h[?25lt[?25h[?25lo[?25h[?25l[?25h[?25lr[?25h[?25lu[?25h[?25ln[?25h[?25ln[?25h[?25li[?25h[?25ln[?25h[?25lg[?25h[?25l[?25h[?25ls[?25h[?25lt[?25h[?25la[?25h[?25lt[?25h[?25le[?25h

Files Wings edits

Wings sets these values in these files before each start.

server.cfg file

name :
name : "{{server.build.env.SERVER_NAME}}"
steamPort :
steamPort : {{server.build.env.STEAM_PORT}}
hostPort :
hostPort : {{server.build.default.port}}
queryPort :
queryPort : {{server.build.env.QUERY_PORT}}
password :
password : "{{server.build.env.SERVER_PASSWORD}}"
maxPlayerCount :
maxPlayerCount : {{server.build.env.MAX_PLAYERS}}

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

Changes

  1. Add: Automobilista 2

    · SirFail · 8613b5e

All changes on GitHub

Problem with this egg?

Open an issue on GitHub. Include your Panel and Wings versions.

Install script 41 lines bash in ghcr.io/ptero-eggs/installers:debian Show
if [[ "${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 "-----------------------------------------"