---
name: "exconfig"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/exconfig/3alleg4"
---

# exconfig(3alleg4)

Using the configuration routines. Allegro game programming library.

## NAME

exconfig - Using the configuration routines. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**Example exconfig**

## DESCRIPTION

This is a very simple program showing how to use the Allegro configuration (ini file) routines. A first look at the example shows nothing more than a static graphic and the wait for a key press. However, the way this graphic is displayed is configured through a custom exconfig.ini file which is loaded manually. From this file the example obtains parameters like fullscreen/windowed mode, a specific graphic resolution to set up, which graphic to show, how to blit it on the screen, etc.

## SEE ALSO

**BITMAP**(3alleg4), **END\_OF\_MAIN**(3alleg4), **RGB**(3alleg4), **SCREEN\_H**(3alleg4), **SCREEN\_W**(3alleg4), **allegro\_init**(3alleg4), **allegro\_message**(3alleg4), **blit**(3alleg4), **clear\_bitmap**(3alleg4), **destroy\_bitmap**(3alleg4), **font**(3alleg4), **get\_config\_argv**(3alleg4), **get\_config\_int**(3alleg4), **get\_config\_string**(3alleg4), **install\_keyboard**(3alleg4), **line**(3alleg4), **load\_bitmap**(3alleg4), **makecol**(3alleg4), **pop\_config\_state**(3alleg4), **push\_config\_state**(3alleg4), **readkey**(3alleg4), **screen**(3alleg4), **set\_color\_depth**(3alleg4), **set\_config\_file**(3alleg4), **set\_gfx\_mode**(3alleg4), **set\_palette**(3alleg4), **stretch\_blit**(3alleg4), **textout\_centre\_ex**(3alleg4), **textprintf\_centre\_ex**(3alleg4), **ustrdup**(3alleg4), **ustricmp**(3alleg4)
