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.
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.
ET: Legacy requires a single port
Port | default |
---|---|
Game | 27960 |
--------- | --------- |
Server | 27950 |
Name | Tag |
---|---|
ghcr.io/ptero-eggs/steamcmd:debian | ghcr.io/ptero-eggs/steamcmd:debian |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
ET Legacy Version | What version of the server to install. 32 or 64 bit version. | ET_VERSION | 32 | Yes | Yes |
Default Map | The default map to use when starting the server. | MAP | oasis | Yes | Yes |
Enable Omnibot | OMNIBOT | 0 | Yes | Yes |
#!/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 "-----------------------------------------"