Egg Repository

Pterodactyl Community Egg Repository

ET Legacy

Welcome to Enemy Territory: Legacy, an open source project that aims to create a fully compatible client and server for the popular online FPS game Wolfenstein: Enemy Territory - whose gameplay is still considered unmatched by many, despite its great age.

Read Me

ET: Legacy

The ET: Legacy Server

from the developers

Wolfenstein: Enemy Territory is a free multiplayer first-person shooter. Set during World War II and heavily focused on team work, it was initially released in 2003 by Splash Damage and id Software. More than a decade after its release, after spending countless hours of escorting tanks and trucks, stealing gold and radar parts and transmitting confidential documents, it was time to dust off the game which consistently refused to go down.

Enemy Territory: Legacy is an open source project based on the code of Wolfenstein: Enemy Territory which was released in 2010 under the terms of GPLv3 license. The main goal of this project is to fix bugs, remove old dependencies and make it playable on all major operating systems while still remaining compatible with the ET 2.60b version and as many of its mods as possible. We do appreciate any contribution to the project such as patches, suggestions or comments.

Make sure to checkout their Home Page.

Server Ports

ET: Legacy requires a single port

Port default
Game 27960
--------- ---------
Server 27950
Yolks
NameTag
ghcr.io/ptero-eggs/steamcmd:debianghcr.io/ptero-eggs/steamcmd:debian
Variables
NameDescriptionEnvironment VariableDefault ValueUser ViewableUser Editable
ET Legacy VersionWhat version of the server to install. 32 or 64 bit version.ET_VERSION32YesYes
Default MapThe default map to use when starting the server.MAPoasisYesYes
Enable OmnibotOMNIBOT0YesYes
Install Script
#!/bin/bash

cd /mnt/server

echo "Downloading $ET_VERSION bit ET Legacy version"

if [ $ET_VERSION == "32" ];then 
    DOWNLOAD_URL=$(curl -s https://www.etlegacy.com/download | grep "Linux 32-bit bin" | grep -Eoi '<a [^>]+>' |  grep -Eo 'href="[^\"]+"' |  grep -Eo '(http|https)://[^"]+')
    EXTENTION=i386
else
    DOWNLOAD_URL=$(curl -s https://www.etlegacy.com/download | grep "Linux 64-bit bin" | grep -Eoi '<a [^>]+>' |  grep -Eo 'href="[^\"]+"' |  grep -Eo '(http|https)://[^"]+')
    EXTENTION=x86_64
fi

echo "Download URL: ${DOWNLOAD_URL}"
curl -sSL -o etlegacy.tar.gz ${DOWNLOAD_URL}

echo "Unpacking ET: Legacy"
tar xvf etlegacy.tar.gz --strip-components=1 
rm etlegacy.tar.gz


E_DOWNLOAD_URL=$(curl -s https://www.splashdamage.com/games/wolfenstein-enemy-territory/ | grep .x86_full | grep -Eoi '<a [^>]+>' |  grep -Eo 'href="[^\"]+"' |  grep -Eo --color=never '(http|https)://[^"]+')

echo "Downloading latest enemy territory files from: ${E_DOWNLOAD_URL}"
curl -sSL -o enemy_territory.zip ${E_DOWNLOAD_URL}

echo "Unpacking enemy territory files"
unzip -o enemy_territory.zip
rm enemy_territory.zip

echo "Copying enemy territory assets"
./*.x86_keygen_V03.run --tar xvf ./etmain/
#cp etmain/pak*.pk3 /mnt/server/etmain/

# Create .etlegacy as the server doesn't correctly create it
mkdir -p /mnt/server/.etlegacy

rm *.run

mv etlded.${EXTENTION} etlded

## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"