---
name: "exconfig"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://carta.tech/man/exconfig"
---

# exconfig(3alleg)

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**(3alleg)](/man/BITMAP/3alleg.md), [**END\_OF\_MAIN**(3alleg)](/man/END_OF_MAIN/3alleg.md), [**RGB**(3alleg)](/man/RGB/3alleg.md), [**SCREEN\_H**(3alleg)](/man/SCREEN_H/3alleg.md), [**SCREEN\_W**(3alleg)](/man/SCREEN_W/3alleg.md), [**allegro\_init**(3alleg)](/man/allegro_init/3alleg.md), [**allegro\_message**(3alleg)](/man/allegro_message/3alleg.md), [**blit**(3alleg)](/man/blit/3alleg.md), [**clear\_bitmap**(3alleg)](/man/clear_bitmap/3alleg.md), [**font**(3alleg)](/man/font/3alleg.md), [**get\_config\_argv**(3alleg)](/man/get_config_argv/3alleg.md), [**get\_config\_int**(3alleg)](/man/get_config_int/3alleg.md), [**get\_config\_string**(3alleg)](/man/get_config_string/3alleg.md), [**install\_keyboard**(3alleg)](/man/install_keyboard/3alleg.md), [**line**(3alleg)](/man/line/3alleg.md), [**load\_bitmap**(3alleg)](/man/load_bitmap/3alleg.md), [**makecol**(3alleg)](/man/makecol/3alleg.md), [**pop\_config\_state**(3alleg)](/man/pop_config_state/3alleg.md), [**push\_config\_state**(3alleg)](/man/push_config_state/3alleg.md), [**readkey**(3alleg)](/man/readkey/3alleg.md), [**screen**(3alleg)](/man/screen/3alleg.md), [**set\_color\_depth**(3alleg)](/man/set_color_depth/3alleg.md), [**set\_config\_file**(3alleg)](/man/set_config_file/3alleg.md), [**set\_gfx\_mode**(3alleg)](/man/set_gfx_mode/3alleg.md), [**set\_palette**(3alleg)](/man/set_palette/3alleg.md), [**stretch\_blit**(3alleg)](/man/stretch_blit/3alleg.md), [**textout\_centre\_ex**(3alleg)](/man/textout_centre_ex/3alleg.md), [**textprintf\_centre\_ex**(3alleg)](/man/textprintf_centre_ex/3alleg.md), [**ustrdup**(3alleg)](/man/ustrdup/3alleg.md), [**ustricmp**(3alleg)](/man/ustricmp/3alleg.md)
