X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=README.md;h=c67c8be42bb2794670776e0f3220278ffd9ad371;hb=3dec4376ce1b06989ff9ac0cced50d26c7012888;hp=da83a1234a9ab677554f3dc162ecb778c8afca31;hpb=1f7645e73c1f099c486c716dbd21dda6d55297ea;p=xonotic%2Fdarkplaces.git diff --git a/README.md b/README.md index da83a123..c67c8be4 100644 --- a/README.md +++ b/README.md @@ -5,24 +5,30 @@ 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.md for a list of contributors. +Developed by LadyHavoc. See [CREDITS](CREDITS.md) for a list of contributors. ## Help/support -### IRC: +### IRC #darkplaces on irc.anynet.org -### Discord: -https://discord.gg/ZHT9QeW +### [Matrix](https://matrix.org/docs/guides/introduction) +[![#darkplaces:matrix.org](https://img.shields.io/matrix/darkplaces:matrix.org?color=660000&label=%23darkplaces%3Amatrix.org)](https://matrix.to/#/#darkplaces:matrix.org) ## Build instructions (WIP) -You will need the following packages regardless of platform: -* SDL2 -* libjpeg -* libpng -* libvorbis -* libogg +### 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): @@ -35,10 +41,34 @@ pacman -S --needed gcc make mingw-w64-x86_64-{toolchain,libjpeg-turbo,libpng,lib 3. See [Unix instructions](#unix-(general)). +### macOS +1. Open a terminal and input `xcode-select --install` +2. Install [Homebrew](https://brew.sh) +3. In the same (or a different terminal), input the following command: + +``` +brew install sdl2 libjpeg-turbo libpng libvorbis curl +``` + +4. See [Unix instructions](#unix-(general)). + ### Unix (General) -In the engine's root directory, run `make`. See `make help` for options. +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) -Instructions coming soon. +Instructions TODO. + +## Contributing + +[DarkPlaces Contributing Guidelines](CONTRIBUTING.md) + +## Documentation + +Doxygen: https://xonotic.org/doxygen/darkplaces