2024-10-30 18:19:54 +03:00
# [Metamod-r](https://github.com/rehlds/metamod-r) [](http://isitmaintained.com/project/rehlds/metamod-r "Percentage of issues still open") [](https://github.com/rehlds/metamod-r/blob/master/LICENSE.md)
2018-03-12 13:13:57 +03:00
2022-07-03 04:15:27 +07:00
**Metamod-r** is based on the original version of [Metamod ](http://metamod.org/ ) written by _Will Day_ for Half-Life 1 with some improvements from [Jussi Kivilinna ](https://github.com/jkivilin ) ([Metamod-p ](https://github.com/jkivilin/metamod-p )). This product contains a large number of performance optimizations and more pure code. The core was written using JIT compiler.
2018-03-12 13:13:57 +03:00
2024-10-30 18:19:54 +03:00
**Metamod-r is recommended to be run with [ReHLDS ](https://github.com/rehlds/ReHLDS ) (`API 3.1+` ).
2023-11-28 18:33:40 +07:00
There is compatible with original `HLDS` **
2018-03-12 13:13:57 +03:00
2024-10-30 18:19:54 +03:00
|HLDS | [ReHLDS ](https://github.com/rehlds/ReHLDS ) | OS | Download |
2022-07-03 04:15:27 +07:00
|---------| -------| --- | --- |
2024-10-30 18:19:54 +03:00
| :heavy_check_mark: | :heavy_check_mark: `API 3.1+` |  | [](https://github.com/rehlds/metamod-r/releases/latest)
2017-06-29 00:27:46 +07:00
2018-04-27 11:32:17 +03:00
[](https://metamod-r.org/)
2024-10-30 18:19:54 +03:00
[](https://github.com/rehlds/metamod-r/)
[](https://github.com/rehlds/metamod-r/issues)
[](https://github.com/rehlds/metamod-r/network)
[](https://github.com/rehlds/metamod-r/stargazers)
2018-03-10 20:11:17 +03:00
## Documentation
2024-10-30 18:19:54 +03:00
* All actual documentation in  **English** and  **Russian** languages is placed at [this link ](https://github.com/rehlds/metamod-r/wiki ).
2018-01-30 01:00:59 +03:00
2018-03-10 20:11:17 +03:00
### Supported games
2024-10-30 18:19:54 +03:00
*  Actual [list of supported games ](https://github.com/rehlds/metamod-r/wiki/Supported-games ).
*  Актуальный [список поддерживаемых игр ](https://github.com/rehlds/metamod-r/wiki/Поддерживаемые-игры ).
2018-02-17 01:08:15 +03:00
2022-07-03 04:15:27 +07:00
## Build instructions
### Checking requirements
There are several software requirements for building Metamod-r:
#### Windows
< pre >
Visual Studio 2015 (C++14 standard) and later
< / pre >
#### Linux
< pre >
git >= 1.8.5
cmake >= 3.10
GCC >= 4.9.2 (Optional)
ICC >= 15.0.1 20141023 (Optional)
LLVM (Clang) >= 6.0 (Optional)
< / pre >
### Building
#### Windows
Use `Visual Studio` to build, open `msvc/metamod.sln` and just select from the solution configurations list `Release` or `Debug`
#### Linux
* Optional options using `build.sh --compiler=[gcc] --jobs=[N] -D[option]=[ON or OFF]` (without square brackets)
< pre >
-c=|--compiler=[icc|gcc|clang] - Select preferred C/C++ compiler to build
-j=|--jobs=[N] - Specifies the number of jobs (commands) to run simultaneously (For faster building)
< sub > Definitions (-D)< / sub >
DEBUG - Enables debugging mode
USE_STATIC_LIBSTDC - Enables static linking library libstdc++
< / pre >
* ICC < pre > ./build.sh --compiler=intel</ pre >
* LLVM (Clang) < pre > ./build.sh --compiler=clang</ pre >
* GCC < pre > ./build.sh --compiler=gcc</ pre >
##### Checking build environment (Debian / Ubuntu)
< details >
< summary > Click to expand< / summary >
< ul >
< li >
Installing required packages
< pre >
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y gcc-multilib g++-multilib
sudo apt-get install -y build-essential
sudo apt-get install -y libc6-dev libc6-dev-i386
< / pre >
< / li >
< li >
Select the preferred C/C++ Compiler installation
< pre >
1) sudo apt-get install -y gcc g++
2) sudo apt-get install -y clang
< / pre >
< / li >
< / ul >
2018-02-17 01:08:15 +03:00
2022-07-03 04:15:27 +07:00
< / details >