Last active
June 14, 2022 21:36
-
-
Save Headline/343061b4257cbde33fbfcfc8fc961fcc to your computer and use it in GitHub Desktop.
Script used to clean and start contributing with a fresh environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rmdir /S /Q alliedmodders | |
mkdir alliedmodders | |
cd alliedmodders | |
:: If you want YOUR sourcemod fork, change this url | |
git clone --recursive http://github.com/alliedmodders/sourcemod | |
git clone --recursive https://github.com/alliedmodders/metamod-source | |
git clone --recursive http://github.com/alliedmodders/hl2sdk hl2sdk-sdk2013 | |
git clone --recursive --branch csgo http://github.com/alliedmodders/hl2sdk hl2sdk-csgo | |
git clone --recursive --branch tf2 http://github.com/alliedmodders/hl2sdk hl2sdk-tf2 | |
git clone --recursive --branch l4d2 http://github.com/alliedmodders/hl2sdk hl2sdk-l4d2 | |
git clone --recursive --branch css http://github.com/alliedmodders/hl2sdk hl2sdk-css | |
:: Make sure this path exists, and you have Visual Studio 2017 C++ build tools. You may have to find vcvars32.bat in ur filesystem urself | |
CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat" | |
cd sourcemod | |
mkdir build | |
cd build | |
:: This command configures and builds SM, don't edit this | |
python ../configure.py --no-mysql -s sdk2013,csgo,tf2,css,l4d2 | |
ambuild |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment