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