{"id":13441686,"url":"https://github.com/DaemonEngine/Daemon","last_synced_at":"2025-03-20T12:32:22.961Z","repository":{"id":28608636,"uuid":"32127090","full_name":"DaemonEngine/Daemon","owner":"DaemonEngine","description":"The Dæmon game engine. With some bits of ioq3 and XreaL.","archived":false,"fork":false,"pushed_at":"2024-04-13T22:44:53.000Z","size":26843,"stargazers_count":290,"open_issues_count":245,"forks_count":58,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-04-14T06:47:53.432Z","etag":null,"topics":["3d-game-engine","bsp","c-plus-plus","cpp","first-person-shooter","fps-engine","game-development","game-engine","glsl","idtech3","open-source","openal","opengl","pbr","pbr-shading","quake-engine","relief-mapping","sdl2","unvanquished","xreal"],"latest_commit_sha":null,"homepage":"https://unvanquished.net","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DaemonEngine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2015-03-13T03:57:34.000Z","updated_at":"2024-04-15T11:35:16.599Z","dependencies_parsed_at":"2023-02-18T13:16:28.757Z","dependency_job_id":"44ba9338-bacb-48e5-9280-38ec866a71a4","html_url":"https://github.com/DaemonEngine/Daemon","commit_stats":null,"previous_names":[],"tags_count":221,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaemonEngine%2FDaemon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaemonEngine%2FDaemon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaemonEngine%2FDaemon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaemonEngine%2FDaemon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DaemonEngine","download_url":"https://codeload.github.com/DaemonEngine/Daemon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221760113,"owners_count":16876355,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3d-game-engine","bsp","c-plus-plus","cpp","first-person-shooter","fps-engine","game-development","game-engine","glsl","idtech3","open-source","openal","opengl","pbr","pbr-shading","quake-engine","relief-mapping","sdl2","unvanquished","xreal"],"created_at":"2024-07-31T03:01:36.995Z","updated_at":"2025-03-20T12:32:22.955Z","avatar_url":"https://github.com/DaemonEngine.png","language":"C++","readme":"# Dæmon\n\nDæmon is the standalone engine that powers the multiplayer first person shooter [Unvanquished](https://unvanquished.net).\n\n[![GitHub tag](https://img.shields.io/github/tag/DaemonEngine/Daemon.svg)](https://github.com/DaemonEngine/Daemon/tags)\n\n[![IRC](https://img.shields.io/badge/irc-%23unvanquished--dev-9cf.svg)](https://web.libera.chat/#unvanquished-dev)\n\n| Windows | macOS | Linux |\n|---------|-----|-------|\n| [![AppVeyor branch](https://img.shields.io/appveyor/ci/DolceTriade/daemon/master.svg)](https://ci.appveyor.com/project/DolceTriade/daemon/history) | [![Azure branch](https://img.shields.io/azure-devops/build/UnvanquishedDevelopment/51482765-8c0b-4b28-a82c-09554ed6887e/1/master.svg)](https://dev.azure.com/UnvanquishedDevelopment/Daemon/_build?definitionId=1) | [![Azure branch](https://img.shields.io/azure-devops/build/UnvanquishedDevelopment/51482765-8c0b-4b28-a82c-09554ed6887e/1/master.svg)](https://dev.azure.com/UnvanquishedDevelopment/Daemon/_build?definitionId=1) |\n\nℹ️ We provide ready-to-use downloads for the Unvanquished game on the Unvanquished [download page](https://unvanquished.net/download/), builds of the Dæmon engine are included.\n\nℹ️ The repository of the source code for the game logic of Unvanquished can be found [there](https://github.com/Unvanquished/Unvanquished).\n\n## Workspace requirements\n\nTo fetch and build Dæmon, you'll need:\n`git`,\n`cmake`,\nand a C++14 compiler.\n\nThe following are actively supported:\n`gcc` ≥ 9,\n`clang` ≥ 11,\nVisual Studio/MSVC (at least Visual Studio 2019).\n\n## Dependencies\n\nRequired:\n`zlib`,\n`libgmp`,\n`libnettle`,\n`libcurl`,\n`SDL2`,\n`GLEW`,\n`libpng`,\n`libjpeg` ≥ 8,\n`libwebp` ≥ 0.2.0,\n`Freetype`,\n`OpenAL`,\n`libogg`,\n`libvorbis`,\n`libopus`,\n`libopusfile`.\n\nOptional:\n`ncurses`.\n\n### MSYS2\n\nMSYS2 is the recommended way to build using MinGW on a Windows host.\n\nRequired packages for 64-bit: `mingw-w64-x86_64-gcc`, `mingw-w64-x86_64-cmake`, `make`  \nRequired packages for 32-bit: `mingw-w64-i686-gcc`, `mingw-w64-i686-cmake`, `make`\n\n## Downloading the sources for the game engine\n\nDaemon requires several sub-repositories to be fetched before compilation. If you have not yet cloned this repository:\n\n```sh\ngit clone --recurse-submodules https://github.com/DaemonEngine/Daemon.git\n```\n\nIf you have already cloned:\n\n```sh\ncd Daemon/\ngit submodule update --init --recursive\n```\n\nℹ️ If cmake complains about missing files in `libs/crunch/` folder or similar issue then you have skipped this step.\n\n## Build Instructions\n\n💡️ Instead of `-j4` you can use `-jN` where `N` is your number of CPU cores to distribute compilation on them. Linux systems usually provide a handy `nproc` tool that tells the number of CPU core so you can just do `-j$(nproc)` to use all available cores.\n\nEnter the directory before anything else:\n\n```sh\ncd Daemon/\n```\n\n### Visual Studio\n\n  1. Run CMake.\n  2. Choose your compiler.\n  3. Open `Daemon.sln` and compile.\n\n### Linux, macOS, MSYS2\n\nProduced files will be stored in a new directory named `build`.\n\n```sh\ncmake -H. -Bbuild\ncmake --build build -- -j4\n```\n\n### Linux cross-compile to Windows\n\n💡️ For a 32-bit build use the `cross-toolchain-mingw32.cmake` toolchain file instead.\n\n```sh\ncmake -H. -Bbuild -DCMAKE_TOOLCHAIN_FILE=cmake/cross-toolchain-mingw64.cmake\ncmake --build build -- -j4\n```\n\n## Running a game\n\nℹ️ On Windows you'll have to use `daemon.exe` and `daemonded.exe` instead of `./daemon` and `./daemonded`, everything else will be the same.\n\nTo run a game you would need a `pkg/` folder full of `.dpk` files provided by the Dæmon-based game you want to run. This `pkg/` folder has to be stored next to the `daemon` binary.\n\nYou then run the game this way:\n\n```\n./daemon\n```\n\nIf you want to run a dedicated server, you may want to use the non-graphical `daemonded` server binary and start a map this way:\n\n```\n./daemonded +map \u003cmapname\u003e\n```\n\nMap names and other options may be [specific to the game](https://github.com/Unvanquished/Unvanquished#configuring-the-server).\n","funding_links":[],"categories":["C++","Engines"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDaemonEngine%2FDaemon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDaemonEngine%2FDaemon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDaemonEngine%2FDaemon/lists"}