DRL a.k.a. "That Trademark", the Roguelike, version 0.10.0 http://drl.chaosforge.org/
This release is dedicated to Jupiter Hell Classic, the commercial remake/expansion to DRL:
https://store.steampowered.com/app/3126530/Jupiter_Hell_Classic/
If you enjoy this Open Source release, please consider buying Jupiter Hell Classic! Also, you might be interested in DRL's modern 3D spiritual successor, Jupiter Hell (yes, it's still turn-based :P):
https://store.steampowered.com/app/811320/Jupiter_Hell/
Parts of this codebase date back to 2002, please do not judge! :P
This FreePascal source code release is provided as is. You can try compiling it using the latest version of Lazarus ( http://www.lazarus-ide.org/ ). You will also need the FPC Valkyrie library ( https://github.com/ChaosForge/fpcvalkyrie/ ), version 0.10.0. You will also probably need the binary files of the full game downloadable from http://drl.chaosforge.org/ (in particular the sound, soundhq, music and mp3 folder contents, and the premade drl.wad and core.wad if you don't want to create it yourself).
There are two IDEs available: Visual Studio Code and Lazarus. You should only need one of them.
DRL uses a few sophisticated Lua tricks however v5.1 specifically is compulsory:
[Instructions appropriated from https://stephan-bester.medium.com/free-pascal-in-visual-studio-code-e1e0a240a430]
To get a debug-ready version going:
If you want to build the full package:
You can test all these steps with Terminal/Run Task/Unit test build scripts (noting the release build step may fail).
There seems to be an error when attempting to rebuilding drl.exe after the wads exist. Some further analysis might understand this better and possibly remove the wads prior to recompiling drl.exe. The easiest approach to recover from the situation:
Because the lua code is packaged into the wad file, inline debugging is more difficult. Instead the lua console provides an interface to run commands.
The Lazarus installation is preferred for VS Code (compared with the simpler fpc installation) because using fpc in Windows triggers an error when the debugger is used.
drlwad.exe with the VS Code Build drlwad.exe (debug) task. drlwad deliberately has no Lazarus .lpi.drlwad.exe ..All code is (C) 2003-2025 Kornel Kisielewicz
Code is distributed under the GPL 2.0 license (see LICENSE file in this folder)
Original art and sprites (0.9.9.7) by Derek Yu, (C) 2003-2025, licensed under CC BY-SA 4.0. Modified version and additions (0.9.9.8+) by Łukasz Śliwiński, (C) 2025, licensed under CC BY-SA 4.0.
All art is distributed under the CC-BY-SA 4.0 license (see LICENSE file in bin/data/drl/graphics).
sincerely, Kornel Kisielewicz ChaosForge
Pascal
52.5%
Lua
46.1%
DRL a.k.a. "That Trademark", the Roguelike, version 0.10.0 http://drl.chaosforge.org/
This release is dedicated to Jupiter Hell Classic, the commercial remake/expansion to DRL:
https://store.steampowered.com/app/3126530/Jupiter_Hell_Classic/
If you enjoy this Open Source release, please consider buying Jupiter Hell Classic! Also, you might be interested in DRL's modern 3D spiritual successor, Jupiter Hell (yes, it's still turn-based :P):
https://store.steampowered.com/app/811320/Jupiter_Hell/
Parts of this codebase date back to 2002, please do not judge! :P
This FreePascal source code release is provided as is. You can try compiling it using the latest version of Lazarus ( http://www.lazarus-ide.org/ ). You will also need the FPC Valkyrie library ( https://github.com/ChaosForge/fpcvalkyrie/ ), version 0.10.0. You will also probably need the binary files of the full game downloadable from http://drl.chaosforge.org/ (in particular the sound, soundhq, music and mp3 folder contents, and the premade drl.wad and core.wad if you don't want to create it yourself).
There are two IDEs available: Visual Studio Code and Lazarus. You should only need one of them.
DRL uses a few sophisticated Lua tricks however v5.1 specifically is compulsory:
[Instructions appropriated from https://stephan-bester.medium.com/free-pascal-in-visual-studio-code-e1e0a240a430]
To get a debug-ready version going:
If you want to build the full package:
You can test all these steps with Terminal/Run Task/Unit test build scripts (noting the release build step may fail).
There seems to be an error when attempting to rebuilding drl.exe after the wads exist. Some further analysis might understand this better and possibly remove the wads prior to recompiling drl.exe. The easiest approach to recover from the situation:
Because the lua code is packaged into the wad file, inline debugging is more difficult. Instead the lua console provides an interface to run commands.
The Lazarus installation is preferred for VS Code (compared with the simpler fpc installation) because using fpc in Windows triggers an error when the debugger is used.
drlwad.exe with the VS Code Build drlwad.exe (debug) task. drlwad deliberately has no Lazarus .lpi.drlwad.exe ..All code is (C) 2003-2025 Kornel Kisielewicz
Code is distributed under the GPL 2.0 license (see LICENSE file in this folder)
Original art and sprites (0.9.9.7) by Derek Yu, (C) 2003-2025, licensed under CC BY-SA 4.0. Modified version and additions (0.9.9.8+) by Łukasz Śliwiński, (C) 2025, licensed under CC BY-SA 4.0.
All art is distributed under the CC-BY-SA 4.0 license (see LICENSE file in bin/data/drl/graphics).
sincerely, Kornel Kisielewicz ChaosForge
Pascal
52.5%
Lua
46.1%