Puzzle Dungeon GUI Launcher - dungeon

Overview

dungeon is the graphical user interface launcher for Puzzle Dungeon. It allows playing many kinds of puzzles either sequentially or in a user-defined order. The GUI integrates the Main Screen and level gameplay into a single application.

Usage

The GUI accepts command-line arguments that control which levels are loaded and how they are played. Run dungeon -h or dungeon --help from the command line to see the full usage.

Running the GUI without any option starts the Main Screen with interactive level selection that can also be reached by pressing Esc in any level.

Level Selection

The following arguments may be used to construct a cumulative custom level collection:

Multiple level ranges such as 2-10 or 15 are supported. They restrict the custom collection to the given level numbers starting from 1.

Custom Level Configuration

The following options change the defaults of all subsequently specified custom levels, all options must preceede the level and range arguments:

Listing Supported Collections

Starting Level Control

You may also use the keys n, p, r, Ctrl-N, Ctrl-P, and Ctrl-R to navigate through internal levels and collections during gameplay.

Audio Control

By default, the GUI starts with both music and sound enabled. Music and sound may still be toggled at runtime using the m and s keys.

Debugging and Profiling

These options are primary intended for developers. However, advanced users may also use special debug flags to control, for example, Sokoban Solver behaviour in BarrelPuzzle levels.

Example

dungeon -S -t jewel -b bg/chemistry-2.webp atomix.1 minotaur.3 stoneage/005.map letslogic:8 1-5

This command starts the GUI without sound effects (but with music), and loads 4 custom levels:

You may also add your own or stock music file, for example -m film.mp3.

Adding flags such as -c (--cloud-mode) or -r (--reverse-barrel-mode) before the custom levels in the example above may significantly alter the behaviour of these levels where applicable, use these options with care.