mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-06 18:08:31 +00:00
Metamod:Source - C++ Plugin Environment and Detour Library for the Source Engine
This allows us to specify the SH pointer and the Plugin ID pointer in the template, so when the plugin uses Hook<> it doesn't have to touch g_PLID or g_SHPtr. Also added a little struct that wraps ISourceHook->xHookById methods. |
||
|---|---|---|
| .github/workflows | ||
| core | ||
| cruft/installer | ||
| hl2sdk-manifests@fbb9353eb0 | ||
| loader | ||
| public | ||
| samples | ||
| support | ||
| third_party | ||
| versionlib | ||
| .gitignore | ||
| .gitmodules | ||
| .travis.yml | ||
| AMBuildScript | ||
| appveyor.yml | ||
| configure.py | ||
| LICENSE.txt | ||
| product.version | ||
| pushbuild.txt | ||
| README.md | ||
Metamod:Source
Metamod:Source - A C++ Plugin Environment and Detour Library for the Source Engine.
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
Stable build snapshots: http://www.metamodsource.net/downloads.php/?branch=stable
Development build snapshots: http://www.metamodsource.net/downloads.php/?branch=master
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