System2 extends Sourcemod with usefully internet and server natives.
Binaries and information can be found on alliedmods: https://forums.alliedmods.net/showthread.php?t=146019
-
Set path to build
export BUILD_DIR=$HOME
cd $BUILD_DIR
-
Build openssl
wget https://www.openssl.org/source/openssl-1.1.0e.tar.gz && tar -xvzf openssl-1.1.0e.tar.gz
cd openssl-1.1.0e
setarch i386 ./config -m32 no-shared && make
cd $BUILD_DIR
-
Build zlib
wget http://zlib.net/zlib1211.zip && unzip zlib1211.zip
cd zlib-1.2.11
CFLAGS=-m32 ./configure -static && make
cd $BUILD_DIR
-
Build libcurl
wget http://curl.haxx.se/download/curl-7.54.0.zip && unzip curl-7.54.0.zip
cd curl-7.54.0
env LIBS="-ldl" CPPFLAGS="-I$BUILD_DIR/zlib-1.2.11" LDFLAGS="-L$BUILD_DIR/openssl-1.1.0e -L$BUILD_DIR/zlib-1.2.11" ./configure --with-ssl=$BUILD_DIR/openssl-1.1.0e --with-zlib=$BUILD_DIR/zlib-1.2.11 --disable-shared --enable-static --disable-rtsp --disable-ldap --disable-ldaps --disable-sspi --disable-tls-srp --without-librtmp --without-libidn --without-libssh2 --without-nghttp2 --without-gssapi --host=i686-pc-linux-gnu CFLAGS=-m32 CC=/usr/bin/gcc && make
- DO NOT INSTALL IT!
cd $BUILD_DIR
-
Get Sourcemod and Sourcepawn
wget https://github.com/alliedmodders/sourcemod/archive/master.zip -O sourcemod.zip && unzip sourcemod.zip
wget https://github.com/alliedmodders/sourcepawn/archive/master.zip -O sourcepawn.zip && unzip sourcepawn.zip
cp -r sourcepawn-master/* sourcemod-master/sourcepawn/
-
Build system2
wget https://github.com/popoklopsi/System2/archive/master.zip -O system2.zip && unzip system2.zip
cd System2-master
make SMSDK=$BUILD_DIR/sourcemod-master OPENSSL=$BUILD_DIR/openssl-1.1.0e ZLIB=$BUILD_DIR/zlib-1.2.11 CURL=$BUILD_DIR/curl-7.54.0
-
Build libcurl
- Download curl from
http://curl.haxx.se/download/curl-7.54.0.zip
and unzip - Open the Visual Studio Command Propt (x86!) at
curl-7.54.0/winbuild
- Type
nmake /f Makefile.vc mode=static VC=14 MACHINE=x86
and press ENTER - Add a new system variable named
CURL
pointing to the 'curl-7.54.0/builds/libcurl-vc14-x86-release-static-ipv6-sspi-winssl' folder
- Download curl from
-
Get Sourcemod and Sourcepawn
- Download sourcemod from
https://github.com/alliedmodders/sourcemod/archive/master.zip
and unzip - Download sourcepawn from
https://github.com/alliedmodders/sourcepawn/archive/master.zip
, unzip it and move the content of the folder to the extracted sourcemod/sourcepawn folder - Add a new system variable named
SOURCEMOD
with the path to sourcemod
- Download sourcemod from
-
Build system2
- Download System2 from
https://github.com/popoklopsi/System2/archive/master.zip
and unzip - Open
msvc13/system2.sln
- Build the project.
- Download System2 from