Skip to content

Instantly share code, notes, and snippets.

@rtldg
Created October 9, 2022 11:56
Show Gist options
  • Save rtldg/121718e3148347f7a3bf3973d0c129f8 to your computer and use it in GitHub Desktop.
Save rtldg/121718e3148347f7a3bf3973d0c129f8 to your computer and use it in GitHub Desktop.
old sourcemod compiling thing
# building sourcemod
# open VS2015 x86 Native Tools Command Prompt (ACTUALLY DON'T ???)
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\vsdevcmd\ext\vcvars.bat"
mkdir alliedmodders
cd alliedmodders
git clone --recurse-submodules -j8 https://github.com/alliedmodders/sourcemod
cd sourcemod
git checkout --recurse-submodules 1.10-dev
cd ..
powershell sourcemod/tools/checkout-deps.ps1 -SDKs css,tf2,csgo
# add %appdata%\Python\Python39\Scripts to %PATH%
#git clone https://github.com/alliedmodders/ambuild
#pip install wheel
#pip install ./ambuild
cd sourcemod
mkdir build
cd build
py ../configure.py --enable-optimize --no-mysql --sdks=css,tf2,csgo
ambuild
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment