| < Files | Index | Starting a game > |
The programs of the ADePT toolkit use some special file types that can be recognised
by their extension. The extensions of all ADePT file types start with ad.
Usually, a game consists of a game file (adv) and a look file (adl) as well as several data files, which are common windows file types for images, sounds, and the like (see below).
The following ADePT file types are defined:
| Extension | File Type | Association | Description |
|---|---|---|---|
| adt | adventure text | (AdvPlay) | A language definition for the game interface. |
| adv | adventure game | AdvPlay | Defines an adventure game as used by the ADePT engine. |
| adr | adventure resource | AdvPack, (AdvPlay) | Contains resources of a game. |
| adm | adventure text mapping | (AdvPlay) | Contains mappings from abbreviations to full text. |
| ads | adventure saved game | (AdvPlay) | Used when you save your progress in game. |
| add | adventure saved diary | (AdvPlay) | The diary in readable text format when saving a game. |
| adl | adventure look | AdvLook, (AdvPlay) | The look for an adventure game. |
| adg | adventure grammar | (AdvMake) | Defines a grammar used by the compiler. |
| adc | adventure game code | AdvMake | The code to create an adventure game. |
| adp | adventure resource package | AdvPack | The list of resources for a resource file. |
| ado | adventure look code | AdvMake | The code to create an adventure look. |
| adi | adventure include code | (AdvMake) | Include file for adventure code. |
| rsi | installation specification | (RSinstall) | Information for application installation. |
Note: If the associated executable is bracketed, the file type is used by that program, but you can't open it directly with that program. That means, you can't associate it with the executable to start the program by double clicking in the explorer.
To make the development of adventure games as convenient as possible, ADePT uses common file types for images, sounds, videos, and the like.
The following lists the different supported file types.
All image file types can be used as images for scenes, regions, objects, and in dialogs. For tools, cursors have to be used.
| Extension | File Type |
|---|---|
| cur, ani | windows (animated) cursor |
| ico | windows icon |
| bmp, rle | windows bitmap |
| wmf, emf | windows/enhanced meta file |
| jpg | jpeg compressed image |
Note: Unlike it is usual in windows, icons and cursors are not loaded according to the colour resolution of windows when used as images. Instead, you can select one of several images by appending a colon (:) and the number of the image (starting with 0). Usually, you will only use cursors and icons with one image. When used as the main window icon or as tool cursor, the standard windows mechanisms are used for loading. Animated cursors can only be used for tools.
The ADePT engine supports multi-media via MCI (Media Control Interface) of windows. Therefore, it supports most of the media types that are supported by the Windows Media Player. Which media types are supported depends also on the mci drivers that are installed and properly working. ADePT also supports playback of CD-Audio tracks.
Media files are used by the media actions, which start and stop playback of media files.
The following list gives an overview of the most used and known media file types supported by the ADePT engine. The list is not exhaustive.
| Extension | File Type |
|---|---|
| mid, smf, rmi | midi sequencer music |
| wav | windows wave file |
| mp3 | mpeg compressed audio |
| wma | windows media audio |
| avi | windows audio/video |
| mpg | mpeg compressed video |
| wmv | windows media video |
Note: You have to install an actual version of the Windows Media Player and/or other media applications that support these media types and that provide access via MCI.