Skip to content

LeatherBrut/darkplaces

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DarkPlaces Engine

DarkPlaces is a game engine based on the Quake 1 engine by id Software. It improves and builds upon the original 1996 engine by adding modern rendering features, and expanding upon the engine's native game code language QuakeC, as well as supporting additional map and model formats.

Developed by LadyHavoc. See CREDITS for a list of contributors.

Help/support

IRC

#darkplaces on irc.anynet.org

#darkplaces:matrix.org

Downloading and running

Linux x86_64 builds are available in GitHub CI artifacts.

More complete builds are available in xonotic.org engine zips.
These support Windows, Linux and macOS, and include the current libraries needed for all features.

DarkPlaces supports many Quake-based games and you can select which it will run by renaming the executable so it's prefixed with the game's name, for example rogue-sdl.exe, or by passing a cmdline argument such as -rogue. The supported list and related details are defined in com_game.c.

Build instructions (WIP)

These instructions are adequate for Quake, but for Xonotic please refer to its wiki.

Required packages

The minimum SDL version is 2.0.18 for Linux and 2.24.0 for Windows.
The following package names are for Debian, see below for Windows and Mac.

Client

Build (mandatory): build-essential libjpeg-dev libsdl2-dev
Runtime (optional): libcurl libpng libfreetype6 libvorbisfile

Dedicated Server

Build (mandatory): build-essential libjpeg-dev zlib1g-dev
Runtime (optional): libcurl libpng

Windows (MSYS2):

  1. Install MSYS2, found here.
  2. Once you've installed MSYS2 and have fully updated it, open a MinGW64 terminal (not an MSYS2 terminal) and input the following command:
pacman -S --needed gcc make mingw-w64-x86_64-{toolchain,libjpeg-turbo,libpng,libogg,libvorbis,SDL2}
  1. See Unix instructions.

macOS

  1. Open a terminal and input xcode-select --install
  2. Install Homebrew
  3. In the same (or a different terminal), input the following command:
brew install sdl2 libjpeg-turbo libpng libvorbis curl
  1. See Unix instructions.

Unix (General)

From a terminal, in the engine's root directory, input make. On macOS, input make with a target such as make sdl-release.

Input make help for options.

If you get errors (that don't seem to be about missing dependencies) try make clean before compiling, especially if you updated your system since the last time you compiled.

Windows (Visual Studio)

May work but not recommended due to lack of support for C standards, and lack of maintenance. Instructions TODO.

Contributing

DarkPlaces Contributing Guidelines

Documentation

Doxygen: https://xonotic.org/doxygen/darkplaces

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.4%
  • Other 0.6%