Skip to content

gigantic, obese SourceMod extension library of sigsegv's TF2 mods (mostly MvM related)

License

Notifications You must be signed in to change notification settings

eatjelly/sigsegv-mvm

 
 

Repository files navigation

sigsegv-mvm

gigantic, obese SourceMod extension library of sigsegv's TF2 mods (mostly MvM related)

Tips

How to run a TF2 server on Windows using WSL: https://github.com/rafradek/sigsegv-mvm/wiki/Installing-on-Windows-with-WSL

How to build

On Ubuntu 20.04:

  1. Add x86 architecture if not installed yet
dpkg --add-architecture i386
apt update
  1. Install packages:
autoconf libtool pip nasm libiberty-dev:i386 libelf-dev:i386 libboost-dev:i386 libbsd-dev:i386 libunwind-dev:i386 lib32stdc++-7-dev lib32z1-dev libc6-dev-i386 linux-libc-dev:i386 g++-multilib
  1. Clone Sourcemod, Metamod, SDK repositories, and AMBuild
cd ..
mkdir -p alliedmodders
cd alliedmodders
git clone --recursive https://github.com/alliedmodders/sourcemod --branch 1.11-dev
git clone --mirror https://github.com/alliedmodders/hl2sdk hl2sdk-proxy-repo
git clone hl2sdk-proxy-repo hl2sdk-sdk2013 -b sdk2013
git clone https://github.com/alliedmodders/metamod-source -b 1.11-dev
git clone https://github.com/alliedmodders/ambuild
  1. Install AMBuild. Also add ~/.local/bin to PATH variable (Not needed if ambuild is installed as root)
pip install ./ambuild
echo 'export PATH=~/.local/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
  1. Install packages:
python2 python-is-python2
  1. Init submodules:
cd ../sigsegv-mvm
git submodule init
git submodule update
cd libs/udis86
./autogen.sh
./configure
make
cd ../..
  1. Install lua:
cd libs
wget https://www.lua.org/ftp/lua-5.4.4.tar.gz
tar -xf lua-*.tar.gz
rm lua-*.tar.gz
mv lua-* lua
cd lua
make MYCFLAGS='-m32' MYLDFLAGS='-m32'
cd ../..
  1. Install packages:
python-is-python3
  1. Update autoconfig.sh with correct hl2sdk, metamod, sourcemod paths

  2. Run autoconfig.sh

  3. Build

Release:

mkdir -p build/release
cd build/release
ambuild

Debug (libbsd-dev:i386 libunwind-dev:i386 is required to load the extension):

mkdir -p build
cd build
ambuild

Build output is created in the current directory

About

gigantic, obese SourceMod extension library of sigsegv's TF2 mods (mostly MvM related)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 96.5%
  • C 1.2%
  • Lua 1.1%
  • Python 0.7%
  • Makefile 0.3%
  • Batchfile 0.1%
  • Other 0.1%