Sonic Robo Blast 2 is a 3D open-source Sonic the Hedgehog fangame built using a modified version of the Doom Legacy port of Doom. SRB2 is closely inspired by the original Sonic games from the Sega Genesis, and attempts to recreate the design in 3D. While SRB2 isn't fully completed, it already features tons of levels, enemies, speed, and quite a lot of the fun that the original Sonic games provided.
| Port | default |
|---|---|
| Game | 5029 |
| Name | Tag |
|---|---|
| ghcr.io/ptero-eggs/yolks:wine_latest | ghcr.io/ptero-eggs/yolks:wine_latest |
The name of your server (this will show in the master list)
The password used for joining the server
The amount of players that can join your server at once Maximum amount of players: 32
This advertises the server on the Master Server. ID specifies the room in which the server is hosted: 33 is the Standard room, while 28 is the Casual room. Master List: https://ms.srb2.org/
The version of Sonic Robo Blast 2 that will be used
Used to suppress WINE FIXME messages. Rarely needs to be changed.
Used for compatibility. Cannot be changed.
Used for compatibility. Cannot be changed.
#!/bin/bash
# SRB2_VERSION
if [[ "$SRB2_VERSION" == "latest" ]]; then
echo "Fetching latest SRB2 version from GitHub..."
SRB2_VERSION=$(curl -s https://api.github.com/repos/STJr/SRB2/releases/latest | jq -r '.tag_name' | sed 's/SRB2_release_//')
echo "Latest SRB2 version is: $SRB2_VERSION"
fi
SRB2_VERSION_NO_DOTS="${SRB2_VERSION//./}"
SRB2_URL="https://github.com/STJr/SRB2/releases/download/SRB2_release_${SRB2_VERSION}/SRB2-v${SRB2_VERSION_NO_DOTS}-Full.zip"
apt update && apt install -y unzip wget jq curl libsdl2-2.0-0 libpng16-16
mkdir -p /mnt/server
cd /mnt/server || exit
wget -O SRB2.zip "$SRB2_URL"
unzip SRB2.zip
rm SRB2.zip
chmod +x ./srb2win.exe
CONFIG_FILE="/mnt/server/adedserv.cfg"
if [[ -f "$CONFIG_FILE" ]]; then
echo "Ensuring necessary settings exist in configuration..."
sed -i "s/^servername.*/servername ${SRV_NAME}/" "$CONFIG_FILE"
sed -i "s/^password.*/password ${SRV_PW}/" "$CONFIG_FILE"
sed -i "s/^maxplayers.*/maxplayers ${MAX_PLAYERS}/" "$CONFIG_FILE"
else
echo "Configuration file missing! Creating a new one..."
cat > "$CONFIG_FILE" <<EOL
servername "${SRV_NAME:-"My SRB2 Server"}"
wait 5
password ${SRV_PW:-"ChangeMe"}
wait 5
maxplayers ${MAX_PLAYERS:-20}
EOL
fi
echo -e "-------------------------------------------------"
echo -e "Installation completed for SRB2 $SRB2_VERSION"
echo -e "-------------------------------------------------"| Installation Image | ghcr.io/ptero-eggs/installers:debian | Installation Entrypoint | bash |
|---|