Descent 3 by Outrage Entertainment
Go to file
Louis Gombert 9cb68c2e74
Merge pull request #305 from Arcnor/deadcode-removal3
remove unused code (Software renderer, unused macos d3m netgames)
2024-05-08 14:59:52 +02:00
.github Merge pull request #241 from icculus/ryan-sdl2-port 2024-05-06 08:57:20 +00:00
2dlib Mark functions and variables as static (#185) 2024-05-07 23:35:28 +02:00
acmlib
AudioEncode
bitmap Mark functions and variables as static (#185) 2024-05-07 23:35:28 +02:00
cfile Mark functions and variables as static (#185) 2024-05-07 23:35:28 +02:00
cmake Introducing git revision in source code 2024-04-28 22:05:26 +03:00
czip Heavy patching for compiler warnings. 2024-04-29 00:18:56 -04:00
d3music Mark functions and variables as static (#185) 2024-05-07 23:35:28 +02:00
dd_grwin32 remove unused code (mainly windows.h) 2024-05-07 23:45:33 +01:00
dd_lnxsound Mark functions and variables as static (#185) 2024-05-07 23:35:28 +02:00
dd_sndlib Merge pull request #303 from Arcnor/deadcode-removal2 2024-05-08 14:49:53 +02:00
dd_vidwin32 remove unused code (mainly windows.h) 2024-05-07 23:45:33 +01:00
ddebug Merge pull request #303 from Arcnor/deadcode-removal2 2024-05-08 14:49:53 +02:00
ddio_common Remove MacOS (Classic) code and all references (1/3) 2024-04-27 07:38:14 -07:00
ddio_lnx Mark functions and variables as static (#185) 2024-05-07 23:35:28 +02:00
ddio_win remove unused code (mainly windows.h) 2024-05-07 23:45:33 +01:00
ddvid_lnx
Descent3 Merge pull request #303 from Arcnor/deadcode-removal2 2024-05-08 14:49:53 +02:00
fix Exclude ps_srand() call from InitMathTables() 2024-05-03 16:22:35 -04:00
grtext Mark functions and variables as static (#185) 2024-05-07 23:35:28 +02:00
legacy remove unused code (mainly windows.h) 2024-05-07 23:45:33 +01:00
lib Merge pull request #303 from Arcnor/deadcode-removal2 2024-05-08 14:49:53 +02:00
libacm 64 Bit-Safe Updates 2024-04-29 14:10:09 -04:00
libmve remove unused code (mainly windows.h) 2024-05-07 23:45:33 +01:00
linux Merge pull request #241 from icculus/ryan-sdl2-port 2024-05-06 08:57:20 +00:00
lnxcontroller Mark functions and variables as static (#185) 2024-05-07 23:35:28 +02:00
lnxmvelib Merge pull request #241 from icculus/ryan-sdl2-port 2024-05-06 08:57:20 +00:00
manage remove unused code (mainly windows.h) 2024-05-07 23:45:33 +01:00
md5
mem remove unused code 2024-05-06 22:06:26 +01:00
misc Unittests for misc 2024-05-01 02:46:20 +03:00
model Mark functions and variables as static (#185) 2024-05-07 23:35:28 +02:00
module Mark functions and variables as static (#185) 2024-05-07 23:35:28 +02:00
movie Merge pull request #303 from Arcnor/deadcode-removal2 2024-05-08 14:49:53 +02:00
music Mark functions and variables as static (#185) 2024-05-07 23:35:28 +02:00
netcon Merge pull request #303 from Arcnor/deadcode-removal2 2024-05-08 14:49:53 +02:00
netgames Merge pull request #305 from Arcnor/deadcode-removal3 2024-05-08 14:59:52 +02:00
networking Mark functions and variables as static (#185) 2024-05-07 23:35:28 +02:00
physics Mark functions and variables as static (#185) 2024-05-07 23:35:28 +02:00
renderer Merge pull request #305 from Arcnor/deadcode-removal3 2024-05-08 14:59:52 +02:00
rtperformance Remove MacOS (Classic) code and all references (1/3) 2024-04-27 07:38:14 -07:00
scripts Mark functions and variables as static (#185) 2024-05-07 23:35:28 +02:00
sndlib remove unused code (mainly windows.h) 2024-05-07 23:45:33 +01:00
stream_audio Remove MacOS (Classic) code and all references (1/3) 2024-04-27 07:38:14 -07:00
tests Enable unittests on CI 2024-04-26 10:19:41 +03:00
tools Mark functions and variables as static (#185) 2024-05-07 23:35:28 +02:00
ui remove unused code 2024-05-06 22:06:26 +01:00
unzip unzip: Link against real zlib. 2024-04-24 08:22:13 +02:00
vecmat Reorganizing fix library 2024-05-03 16:22:35 -04:00
win32 remove unused code (mainly windows.h) 2024-05-07 23:45:33 +01:00
.clang-format
.clang-format-ignore
.gitignore Introducing git revision in source code 2024-04-28 22:05:26 +03:00
Brewfile Make sure Mac and Linux builds have SDL2 available. 2024-05-02 08:30:46 -04:00
CMakeLists.txt remove unused code (mainly windows.h) 2024-05-07 23:45:33 +01:00
CMakePresets.json Enable unittests on CI 2024-04-26 10:19:41 +03:00
gpl.sh
gplheader
LICENSE
README.md Merge pull request #241 from icculus/ryan-sdl2-port 2024-05-06 08:57:20 +00:00
vcpkg.json Introduce spdlog logging system 2024-04-30 14:27:38 -04:00

d3 (1)

This is the Descent 3 open source engine, licensed under GPL-3.0. It includes the '1.5' patch written by Kevin Bentley and Jeff Slutter several years ago and brought to a stable condition by the Descent community.

In order to use this, you must provide your own game files. See the Usage section for details.

Version 1.5 Notes

There is no "release" yet. The current milestone is "1.5 Stable", which is meant to more or less be Descent 3 as it might have been if the 1.5 patch had made it to retail years ago. Artifacts can be downloaded from the Actions tab. The milestone needs testing on all platforms. Please report issues when found.

Usage

Purchase Descent 3 from a reputable source, such as GOG or Steam, and install it, then replace the main binary with the newly built Descent3 binary under ${CMAKE_BINARY_DIR}/Descent3/*/Descent3[.exe]. See your platform below:

Windows

If still using the Descent 3 launcher, copy your Descent3.exe binary to your install folder and rename it main.exe (back up your old one). Otherwise, drop in Descent3.exe and play!

MacOS

Right-click Descent3.app, click Show Package Contents. Back up your Descent3 binary and drop your built Descent3 binary into the install (Contents/MacOS) folder.

Linux

Back up your Descent3 binary and drop your built Descent3 binary into the install folder.

Building

Build steps below assume you have already cloned the repository and entered it locally.

Building - Windows

Requires Visual Studio 2022 and C++ Tools (cmake and vcpkg)

Install and configure vcpkg:

git clone https://github.com/microsoft/vcpkg.git
cd vcpkg && bootstrap-vcpkg.bat
setx VCPKG_ROOT="C:\path\to\vcpkg"
setx PATH=%VCPKG_ROOT%;%PATH%

Build Descent 3:

cmake --preset win -D ENABLE_LOGGER=[ON|OFF]
cmake --build --preset win --config [Debug|Release]

Building - MacOS

brew bundle install
cmake --preset mac -D ENABLE_LOGGER=[ON|OFF]
cmake --build --preset mac --config [Debug|Release]

Building - Linux (Ubuntu)

sudo apt update
sudo apt install -y --no-install-recommends ninja-build cmake g++ libsdl2-dev libncurses-dev zlib1g-dev libspdlog-dev
cmake --preset linux -D ENABLE_LOGGER=[ON|OFF]
cmake --build --preset linux --config [Debug|Release]

Building - Linux (Fedora)

sudo dnf update --refresh
sudo dnf install -y ninja-build cmake gcc-c++ SDL2-devel ncurses-devel zlib-devel spdlog-devel
cmake --preset linux -D ENABLE_LOGGER=[ON|OFF]
cmake --build --preset linux --config [Debug|Release]

Contributing

Anyone can contribute! We have an active Discord presence at Descent Developer Network. If you are interested in maintaining the project on a regular basis, please contact Kevin Bentley.