View Single Post
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 11-13-2011 , 12:16   Re: Compile using AMBuild
Reply With Quote #3

Quote:
Originally Posted by Fyren View Post
Off the top of my head, you need to get the ambuild repo and then place the files where Python can find them. Then you run bootstrap.pl and startbuild.pl. These files may have hardcoded paths for compiler/Python binary names you'd have to change since they're intended for use by our specific build system.
Fyren is speaking ducks.

Code:
hg clone http://hg.alliedmods.net/ambuild/
cd ambuild
python3 setup.py build
python3 setup.py install
cd ..
hg clone http://hg.alliedmods.net/hl2sdks/hl2sdk-ob-valve/
hg clone http://hg.alliedmods.net/releases/mmsource-1.8/
hg clone http://hg.alliedmods.net/releases/sourcemod-1.4/
cd sourcemod-1.4
mkdir build
cd build
python3 ../configure.py
python3 build.py
You should literally be able to paste that into a shell and download and compile SourceMod 1.4.
__________________
asherkin is offline