2024-08-11 20:26:48 +00:00
|
|
|
|
# Descent 3 Open source usage instructions
|
|
|
|
|
|
2024-10-26 12:36:37 +00:00
|
|
|
|
**Important note**: This open source distribution of Descent 3 DOES NOT CONTAIN
|
|
|
|
|
GAME ASSETS. Assets must be acquired separately from an official copy of the
|
2024-12-14 06:51:44 +00:00
|
|
|
|
game, and copied as described in the next section.
|
2024-08-11 20:26:48 +00:00
|
|
|
|
|
2024-10-26 12:36:37 +00:00
|
|
|
|
This is the first release of the Descent 3 open source engine, that should be
|
|
|
|
|
considered a beta version. If you find a bug that has not been reported before,
|
|
|
|
|
please open a new ticket it on our [online issue tracker](https://github.com/DescentDevelopers/Descent3/issues).
|
|
|
|
|
|
|
|
|
|
1. Make sure that you have a copy of Descent 3. You can purchase a copy of
|
|
|
|
|
Descent 3 from [GOG](https://www.gog.com/game/descent_3_expansion) or
|
|
|
|
|
[Steam](https://store.steampowered.com/app/273590/Descent_3/).
|
2024-08-11 20:26:48 +00:00
|
|
|
|
|
|
|
|
|
2. Install Descent 3.
|
2024-10-26 12:36:37 +00:00
|
|
|
|
**Note for Steam users:** If you own Descent 3 on Steam, then it’s recommended
|
|
|
|
|
that you install the Windows version of the game even if you’re running macOS
|
|
|
|
|
or Linux, otherwise movies will not work due to
|
|
|
|
|
[current lack of OGV support](https://github.com/DescentDevelopers/Descent3/issues/240).
|
|
|
|
|
You can use either [Steam Play](https://help.steampowered.com/en/faqs/view/08F7-5D56-9654-39AF)
|
|
|
|
|
or [SteamCMD](https://developer.valvesoftware.com/wiki/SteamCMD#Cross-Platform_Installation)
|
|
|
|
|
to install the Windows version of the game on macOS or Linux.
|
|
|
|
|
|
|
|
|
|
3. If your version of Descent 3 is older than v1.4, then
|
|
|
|
|
[update it to v1.4](http://descent3.com/downloads.php).
|
|
|
|
|
|
|
|
|
|
4. Find the installation location of Descent 3. Using the Steam client, you can
|
|
|
|
|
find it from the library page using the `Manage > Browse local files`
|
|
|
|
|
context menu.
|
|
|
|
|
|
2024-08-11 20:26:48 +00:00
|
|
|
|
5. Create a new folder named `D3-open-source`.
|
2024-10-26 12:36:37 +00:00
|
|
|
|
|
2024-08-11 20:26:48 +00:00
|
|
|
|
6. Copy the following files from your installation of Descent 3 to `D3-open-source`:
|
|
|
|
|
- All `.hog` files
|
|
|
|
|
- The `missions` folder
|
|
|
|
|
- _(Optional)_ All `.pld` files
|
|
|
|
|
- _(Optional)_ The `movies` folder
|
2024-10-26 12:36:37 +00:00
|
|
|
|
|
2024-08-11 20:26:48 +00:00
|
|
|
|
7. Create the `custom/` folder in `D3-open-source`
|
2024-10-26 12:36:37 +00:00
|
|
|
|
|
2024-08-11 20:26:48 +00:00
|
|
|
|
8. Obtain new Descent 3 engine files:
|
2024-10-26 12:36:37 +00:00
|
|
|
|
- If you want to use pre-built binaries, then download the latest
|
|
|
|
|
[release](https://github.com/DescentDevelopers/Descent3/releases). For a
|
|
|
|
|
more cutting-edge experience with the latest features, use the artifacts
|
|
|
|
|
from the latest automated build. You can find the list of automated
|
|
|
|
|
builds [here](https://github.com/DescentDevelopers/Descent3/actions/workflows/build.yml?query=branch%3Amain+event%3Apush).
|
|
|
|
|
- If you want to build the engine files yourself, the follow the
|
|
|
|
|
instructions in [BUILD.md](BUILD.md). Once you build the engine files,
|
2024-10-29 20:05:36 +00:00
|
|
|
|
they’ll be put in `builds/<platform>/build/<build-type>/`. For example, if
|
2024-10-26 12:36:37 +00:00
|
|
|
|
you’re using Linux and you create a “Release” build, then the files will
|
2024-10-29 20:05:36 +00:00
|
|
|
|
be located at `builds/linux/build/Release`.
|
2024-10-26 12:36:37 +00:00
|
|
|
|
|
|
|
|
|
9. Copy all the new engine files into `D3-open-source` and overwrite any
|
|
|
|
|
conflicts.
|
|
|
|
|
|
2024-08-11 20:26:48 +00:00
|
|
|
|
10. Special notes:
|
2024-10-26 12:36:37 +00:00
|
|
|
|
- D3 Open Source compiles level scripts in their own hogfiles. Make sure
|
|
|
|
|
you copy and overwrite `d3-{platform}.hog`.
|
|
|
|
|
|
2024-08-11 20:26:48 +00:00
|
|
|
|
11. Run the game:
|
2024-10-26 12:36:37 +00:00
|
|
|
|
- On Windows, run `D3-open-source\Descent3.exe` from a command-line or
|
|
|
|
|
double-click on the `Descent3` executable.
|
|
|
|
|
- On Linux, `cd` to `D3-open-source` and run `./Descent3`. Wayland users
|
|
|
|
|
may need to set environment variable `SDL_VIDEODRIVER=wayland` before
|
|
|
|
|
launching the game.
|
|
|
|
|
- On macOS, the `.app` bundle is currently not signed, so your operating
|
|
|
|
|
system will not let you run it by double-clicking it. To remediate that,
|
|
|
|
|
open your terminal and `cd` to `D3-open-source`. Run
|
2024-11-10 16:07:33 +00:00
|
|
|
|
`xattr -c ./Descent3.app`, `xattr -c ./netgames/*`,
|
|
|
|
|
`chmod +x ./Descent3.app/Contents/MacOS/Descent3`, and then run the game
|
|
|
|
|
using `./Descent3.app/Contents/MacOS/Descent3`
|
2024-08-11 20:26:48 +00:00
|
|
|
|
|
|
|
|
|
## Troubleshooting
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
Descent 3 Message(Error: Couldn't find the string table.)
|
|
|
|
|
```
|
|
|
|
|
|
2024-10-26 12:36:37 +00:00
|
|
|
|
This error means that game data could not be found. Make sure you copied all
|
|
|
|
|
game files to the `D3-open-source` folder, and that you're running the game
|
|
|
|
|
from this same folder.
|
2024-08-19 19:45:29 +00:00
|
|
|
|
|
|
|
|
|
## Command line options
|
|
|
|
|
|
|
|
|
|
Here brief usage of command line options, supported by game.
|
|
|
|
|
|
2024-10-06 13:17:16 +00:00
|
|
|
|
| Option | Type | Default | Platform | Description |
|
|
|
|
|
|------------------------------------------------|---------|-------------------------------------|----------|-------------------------------------------------------------------|
|
|
|
|
|
| `-dedicated <config file>`, `-d <config file>` | path | None | all | Run game in dedicated mode |
|
2024-12-23 18:43:40 +00:00
|
|
|
|
| `-display <number>` | integer | 0 | all | Run game on the selected display |
|
2024-10-06 13:17:16 +00:00
|
|
|
|
| `-fullscreen`, `-f` | boolean | On | all | Run game in fullscreen mode |
|
|
|
|
|
| `-logfile` | boolean | Off | all | Enable file logging to Descent3.log |
|
|
|
|
|
| `-loglevel <LEVEL>` | string | INFO (on Release), DEBUG (on Debug) | all | Set log level (NONE, VERBOSE, DEBUG, INFO, WARNING, ERROR, FATAL) |
|
|
|
|
|
| `-nomousegrab`, `-m` | boolean | Off | all | Disable mouse capture |
|
|
|
|
|
| `-service` | boolean | Off | all | Run game in service mode |
|
|
|
|
|
| `-winconsole` | boolean | Off | WIN | Enable windows console (off by default) |
|
|
|
|
|
| `-windowed`, `-w` | boolean | Off | all | Run game in windowed mode |
|