# Metamod-r [](https://github.com/theAsmodai/metamod-r/releases/latest) []() [](http://isitmaintained.com/project/theAsmodai/metamod-r "Percentage of issues still open") [](https://www.gnu.org/licenses/gpl-3.0) **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. **Metamod-r is recommended to be run with [ReHLDS](https://github.com/dreamstalker/ReHLDS) (`API 3.1+`). There is compatible with original `HLDS`** |HLDS | [ReHLDS](https://github.com/dreamstalker/ReHLDS) | OS | Download | |---------| -------| --- | --- | | :heavy_check_mark: | :heavy_check_mark: `API 3.1+` |  | [](https://github.com/theAsmodai/metamod-r/releases/latest) [](https://metamod-r.org/) [](https://github.com/theAsmodai/metamod-r/) [](https://github.com/theAsmodai/metamod-r/issues) [](https://github.com/theAsmodai/metamod-r/network) [](https://github.com/theAsmodai/metamod-r/stargazers) Distributed under [](https://github.com/theAsmodai/metamod-r/blob/master/LICENSE). ## Documentation * All actual documentation in  **English** and  **Russian** languages is placed at [this link](https://github.com/theAsmodai/metamod-r/wiki). ### Supported games *  Actual [list of supported games](https://github.com/theAsmodai/metamod-r/wiki/Supported-games). *  Актуальный [список поддерживаемых игр](https://github.com/theAsmodai/metamod-r/wiki/Поддерживаемые-игры). ## Build instructions ### Checking requirements There are several software requirements for building Metamod-r: #### Windows
Visual Studio 2015 (C++14 standard) and later#### Linux
git >= 1.8.5 cmake >= 3.10 GCC >= 4.9.2 (Optional) ICC >= 15.0.1 20141023 (Optional) LLVM (Clang) >= 6.0 (Optional)### 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)
-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) Definitions (-D) DEBUG - Enables debugging mode USE_STATIC_LIBSTDC - Enables static linking library libstdc++* ICC
./build.sh --compiler=intel* LLVM (Clang)
./build.sh --compiler=clang* GCC
./build.sh --compiler=gcc##### Checking build environment (Debian / Ubuntu)
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
1) sudo apt-get install -y gcc g++ 2) sudo apt-get install -y clang