Using CFG and INI files

 

Individual API functions exist to change specific user interface elements, or to set default values. You can also make such changes through initialization (INI) or configuration (CFG) files.

Imagenation default values are stored in an INI file. Users can edit these files to customize their copies of Imagenation.

To find out what INI file is being used:

· Use the IN_GetINIFilename function.

For more information on editing the INI file, refer to the System Administrator Help (sysadmin.hlp) that is installed with all copies of Imagenation.

CFG files are used primarily by integrators who are creating custom versions of Imagenation. By selecting a different CFG file, many Imagenation UI elements can be changed at once: menus, commands, buttons, and dialog box options.

To find out what CFG file is currently being used:

· Use the IN_GetCFGFilename function.

To use another CFG file:

· Specify it in the IN_SetCFGFilename function.

Several different CFG files are shipped with Imagenation, but you can also create your own CFG file. For information about that, see Creating custom CFG files.

You can also request and set specific CFG user interface features one by one with IN_GetUIConfiguration and IN_SetUIConfiguration.