2 : Solarus 1.6 - Quest data files specification

We explain here how a quest is built.

A quest is a data package that may be run by the Solarus C++ engine (either by the solarus-run executable or by the Solarus GUI).

When you run the solarus-run executable file, it needs the path of the quest to launch. This can be done at runtime by specifying the path as a command-line argument: solarus-run path/to/your/quest. If the quest path is not specified, the current directory is considered by default, unless you compiled Solarus with another default quest path.

When you run the Solarus GUI (the solarus executable file), you can select graphically the quest to run and you can change some settings.

In both cases, the quest may have one of the following two forms:

The data files represent all resources used by both the engine and the quest, such as sounds, musics, images, sprites, dialogs, maps and Lua scripts. We specify here the details for all those files.

Here is the full structure of the data directory / data.solarus archive / data.solarus.zip archive of a quest and the syntax of each file.