2
0
mirror of https://github.com/rehlds/metamod-r.git synced 2024-12-25 14:15:31 +03:00
Metamod is a plugin/DLL manager that sits between the Half-Life Engine and an HL Game mod, allowing the dynamic loading/unloading of mod-like DLL plugins to add functionality to the HL server or game mod. Metamod-r is improved version of metamod.
Go to file
2023-11-28 16:28:55 +07:00
.github/workflows Migrate the CI/CD to GitHub Actions (#57) 2022-07-03 04:15:27 +07:00
metamod Gracefully shutdown metamod and plugins when game is closing (for a proper reload using _restart command) 2023-11-28 16:28:55 +07:00
msvc Added example plugin 2017-06-26 23:38:39 +03:00
.editorconfig Migrate the CI/CD to GitHub Actions (#57) 2022-07-03 04:15:27 +07:00
.gitignore Migrate the CI/CD to GitHub Actions (#57) 2022-07-03 04:15:27 +07:00
build.sh Migrate the CI/CD to GitHub Actions (#57) 2022-07-03 04:15:27 +07:00
CMakeLists.txt Migrate the CI/CD to GitHub Actions (#57) 2022-07-03 04:15:27 +07:00
LICENSE Added gradle 2016-07-26 07:22:47 +07:00
README.md Migrate the CI/CD to GitHub Actions (#57) 2022-07-03 04:15:27 +07:00
version_script.lds Migrate the CI/CD to GitHub Actions (#57) 2022-07-03 04:15:27 +07:00

Metamod-r Download Downloads Percentage of issues still open License: GPL v3

Metamod-r is based on the original version of Metamod written by Will Day for Half-Life 1 with some improvements from Jussi Kivilinna (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 incompatible with original HLDS. It's necessary to have installed ReHLDS (API 3.1+). There is no guarantee that the product will work in a different environment.

HLDS ReHLDS OS Download
API 3.1+ Download

Official Site Experimental GitHub issues GitHub forks GitHub stars

Distributed under GitHub license.

Documentation

  • All actual documentation in en English and ru Russian languages is placed at this link.

Supported games

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)
Click to expand
  • Installing required packages
    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
    
  • Select the preferred C/C++ Compiler installation
    1) sudo apt-get install -y gcc g++
    2) sudo apt-get install -y clang