Skip to content

TheDS/srcds-nx

Repository files navigation

SrcDS NX

Build Status

This is currently a command line only program for running dedicated servers for various Source games on macOS. It wraps around the existing dedicated library that is included with most Source games. It also employs a number of hacks that install function detours and manipulate memory in order to get the game server to run properly.

It is a rewrite of and replacement for the srcds_osx project which aims to be more maintainable and hopefully expandable to other platforms in the future. Improvements include automatic updates and a Steam library downloader. Automatic updates occur on server startup to deliver faster fixes when things break due to game updates. The Steam library downloader makes it easier to set up servers using only a terminal; you no longer need the Steam client GUI to do so. Using this along with steamcmd to install/update a game is all that is necessary.

Requirements

  • macOS 10.9+
  • One or more of the Source games listed below

Build Requirements

  • macOS 10.12.6+
  • Xcode 9.0+

Versions of GCC or upstream clang with support for C++17 may work on other macOS versions, but there is no makefile build support at this time.

Supported Games

  • Counter-Strike: Global Offensive
  • Counter-Strike: Source
  • Day of Defeat: Source
  • Day of Infamy
  • Garry's Mod
  • Half-Life Deathmatch: Source
  • Half-Life 2: Deathmatch
  • Insurgency
  • Left 4 Dead
  • Left 4 Dead 2
  • Nuclear Dawn
  • Source SDK Base 2013 Multiplayer Mods
  • Team Fortress 2

Building

Open the srcds-nx Xcode project and build the srcds-cli scheme. Alternatively, from a terminal, run xcodebuild in the directory containing the project.

Installation and Usage

Binaries may be obtained from the Releases page.

For usage instructions and support, see: https://forums.alliedmods.net/showthread.php?t=158240