< Documentation

Compiling from Source

The code for LuminousForts can be compiled under Ubuntu 14.04 or Visual Studio 2013 in Windows.

git clone git@github.com:hekar/luminousforts-2013.git
github.com/luminousforts-2013

Windows

Follow the documentation found here:

Linux

Since Ubuntu 14.04 is no longer used by anyone, Docker is your best option to create a binary.

It is suggested that you place your "luminousforts-2013" source code in your $HOME folder and mount the $HOME as a volume in the Docker container.

Create Docker Container

sudo docker pull hekar/luminousforts-ci
cd ~
sudo docker run --rm -t -i -v $(pwd):$(pwd) -w $(pwd) -e HOME=$(pwd) hekar/luminousforts-ci /bin/bash

Within the Docker container

Compile

cd $HOME/luminousforts-2013/mp/src/
make -f everything.mak

Copy to LuminousForts

rsync --progress -v ../game/mod_hl2mp/bin/* $HOME/.steam/steam/steamapps/sourcemods/luminousforts/bin/

Compile and copy

cd $HOME/luminousforts-2013/mp/src/ && make -f everything.mak && rsync --progress -v ../game/mod_hl2mp/bin/* $HOME/.steam/steam/steamapps/sourcemods/luminousforts/bin/

Compile debug and copy

CFG=debug make -f everything.mak && rsync --progress -v ../game/mod_hl2mp/bin/* $HOME/.steam/steam/steamapps/sourcemods/luminousforts/bin/

Clean

make -f everything.mak clean