No description
Find a file
2022-02-06 16:13:05 +03:00
.github/workflows Migrated the CI/CD to GitHub Actions (#3) 2022-02-05 18:36:36 +03:00
hlsdk Fixed linux build error 2017-07-13 09:49:01 +00:00
metamod Initial commit 2016-01-25 02:09:11 +00:00
build.sh Migrated the CI/CD to GitHub Actions (#3) 2022-02-05 18:36:36 +03:00
CMakeLists.txt Migrated the CI/CD to GitHub Actions (#3) 2022-02-05 18:36:36 +03:00
Main.cpp Fixed crashes on the latest ReHLDS (#4) 2022-02-06 16:11:03 +03:00
Main.h Updated the version string to 1.2 Beta 3 2022-02-06 16:13:05 +03:00
Publish.bat Initial commit 2016-01-25 02:09:11 +00:00
README.md Migrated the CI/CD to GitHub Actions (#3) 2022-02-05 18:36:36 +03:00
SafeNameAndChat.cfg Added chat message truncation (to avoid breaking of default engine behaviour) 2017-01-31 23:51:51 +00:00
SafeNameAndChat.sln Initial commit 2016-01-25 02:09:11 +00:00
SafeNameAndChat.vcxproj Added safety for SayText and TextMsg in cstrike and czero 2017-07-13 09:43:07 +00:00
SafeNameAndChat.vcxproj.filters Initial commit 2016-01-25 02:09:11 +00:00
version_script.lds Added .travis.yml 2018-06-12 17:55:43 +03:00

SafeNameAndChat Download Downloads License: GPL v3

Build instructions

Checking requirements

There are several software requirements for building SafeNameAndChat:

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 SafeNameAndChat.sln and just select from the solution configurations list Release or Debug and platform x86

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