2014-05-25 06:42:35 +02:00
|
|
|
Metamod:Source
|
|
|
|
==============
|
|
|
|
|
|
|
|
Metamod:Source - A C++ Plugin Environment and Detour Library for the Source Engine.
|
|
|
|
|
2024-04-07 11:24:58 +02:00
|
|
|
Build instructions
|
|
|
|
------------------
|
|
|
|
|
|
|
|
Make sure ambuild2 is installed: https://github.com/alliedmodders/ambuild
|
|
|
|
|
|
|
|
Clone the repo with submodules:
|
|
|
|
```
|
|
|
|
git clone --recurse-submodules https://github.com/alliedmodders/metamod-source
|
|
|
|
```
|
|
|
|
|
|
|
|
Clone the SDK dependencies:
|
|
|
|
```
|
|
|
|
cd ..
|
|
|
|
metamod-source/support/checkout-deps.sh
|
|
|
|
cd metamod-source
|
|
|
|
```
|
|
|
|
|
|
|
|
Configure the build:
|
|
|
|
```
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
python ../configure.py
|
|
|
|
```
|
|
|
|
|
|
|
|
Build:
|
|
|
|
```
|
|
|
|
ambuild
|
|
|
|
```
|
|
|
|
|
|
|
|
You can clone an individual SDK e.g.:
|
|
|
|
```
|
|
|
|
cd ..
|
|
|
|
metamod-source/support/checkout-deps.sh -s episode1
|
|
|
|
cd metamod-source
|
|
|
|
```
|
|
|
|
|
|
|
|
You can configure the build for an individual SDK e.g.:
|
|
|
|
```
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
python ../configure.py --sdks episode1
|
|
|
|
```
|
2014-05-25 06:42:35 +02:00
|
|
|
|
2021-08-03 19:47:49 +02:00
|
|
|
Stable build snapshots: <http://www.metamodsource.net/downloads.php/?branch=stable>
|
|
|
|
|
|
|
|
Development build snapshots: <http://www.metamodsource.net/downloads.php/?branch=master>
|
2014-05-25 06:42:35 +02:00
|
|
|
|
|
|
|
General documentation: <https://wiki.alliedmods.net/Category:Metamod:Source_Documentation>
|
|
|
|
|
|
|
|
Detouring with SourceHook: <https://wiki.alliedmods.net/SourceHook_Development>
|
|
|
|
|
|
|
|
Development: <https://wiki.alliedmods.net/Category:Metamod:Source_Development>
|