Running FOSS Half-Life engine with CS 1.6

Introduction

We liked Half-Life, we loved Counter Strike 1.6.

Now there is chance to compile engine xash3d to get Counter Strike 1.6 running. How good it went?

Compiling on x86_64

First you need to grab sources for SDK (non-free). ~/hl defines your game directory.

git clone https://github.com/FWGS/hlsdk-xash3d.git
cd hlsdk-xash3d
./waf configure -T release --64bits
./waf build
./waf install --destdir=~/hl
cd ..

Now let's continue with the engine (OSS) itself. Engine needs to be installed into same location as SDK.

git clone https://github.com/FWGS/xash3d-fwgs.git
cd xash3d-fwgs
./waf configure -T release --64bits
./waf build
./waf install --destdir=~/hl

Now extract assets from your HL (or/and Counter Strike) directly into ~/hl Feel free remove dlls and exe files afterwards.

cd ~/hl
find -name '*.exe' -exec rm {} \;
find -name '*.dll' -exec rm {} \;

... and run the game and create local server with

./xash3d -game cstrike +maxplayers 2 +map de_dust2

Counter Strike 1.6 screenshot Not perfect yet, but it's something!