ET Legacy

games
Report Issue

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.

Contributors:
README

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
Docker Images (1)
Name Image
ghcr.io/ptero-eggs/steamcmd:debian ghcr.io/ptero-eggs/steamcmd:debian
Startup Command
./etlded +set net_port {{SERVER_PORT}} +map {{MAP}} +set omnibot_enable {{OMNIBOT}}  $(if [ "${OMNIBOT}" == "1" ]; then echo '+set omnibot_path "./legacy/omni-bot"'; fi) + exec etl_server.cfg
Variables (3)

ET Legacy Version

What version of the server to install. 32 or 64 bit version.

Environment:
ET_VERSION
Default:
32
User Viewable:
User Editable:
Rules:
required|integer|in:32,64

Default Map

The default map to use when starting the server.

Environment:
MAP
Default:
oasis
User Viewable:
User Editable:
Rules:
required|string|max:20

Enable Omnibot

Environment:
OMNIBOT
Default:
0
User Viewable:
User Editable:
Rules:
required|boolean
Installation Script
Container: ghcr.io/ptero-eggs/installers:debian
Entrypoint: bash
#!/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 "i386 archive" | grep -Eoi '<a [^>]+>' |  grep -Eo 'href="[^\"]+"' |  grep -Eo '(http|https)://[^"]+')
    EXTENTION=i386
else
    DOWNLOAD_URL=$(curl -s https://www.etlegacy.com/download | grep "x86_64 archive" | 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 "-----------------------------------------"