The File Extensions Database


.CFG File Extension

  • Developer by: Celestia Development Team
  • Category: Settings Files
  • Format: Text

What is an .CFG file?

.CFG is Celestia Configuration File

Settings file used by Celestia, a 3D universe simulation program; saved in a plain text format and specifies the data files to load when the program is started; can be edited by the user, but should be done so carefully since improper changes to the file can cause Celestia's loading process to fail.

Celestia configuration files contain references to .STC, .SSC, .DSC data files, .CEL scripts, .TXF font definitions, and other startup parameters.

Programs that open Celestia Configuration File
Windows
Celestia
Mac
Celestia
Linux
Celestia
File Type 2 Cal3D Model Configuration File
Developer by: Cal3D Category: 3D Image Files Format: Text

Three-dimensional model configuration file used by Cal3D, an open source character animation toolkit; saved in a plain text format and contains references to model components; used for putting all model components together.

CFG files contain references to Cal3D skeleton files (.CSF or .XSF extension), animation files (.CAF or .XAF extension), meshes (.CMF or .XMF files), and materials (.CRF or .XRF files). They also store the root directory for the referenced files and the model scale.

Programs that open Cal3D Model Configuration File
Windows
Cal3dViewer
Microsoft Notepad
Mac
Apple TextEdit
Linux
Vim
File Type 3 MAME Configuration File
Developer by: The MAME Team Category: Settings Files Format: XML

XML keyboard configuration file used by MAME arcade video game emulators; contains keyboard mappings and hotkeys used for playing a game; used for configuring keyboard controls based on the player's preferences.

Separate CFG files can be saved for different games. This gives players the ability to customize controls separately depending on the game being played.

Programs that open MAME Configuration File
Windows
MAME
ExtraMAME
Mac
MacMAME
MAME OS X
File Type 4 Configuration File
Category: Settings Files Format: Text

A CFG file is a generic preference file that stores settings and configuration information. It is used by various programs, which means different CFG files may store data in different formats. CFG files typically should not be opened manually, but may be saved in a text format that can be viewed in a text editor.

Generic configuration files are often named "config.cfg". Text-based CFG files often contain one variable and value per line in the following format:

var1=low
var2=med
var3=high

To test if a program automatically generates a default CFG file, move the configuration file out of the default directory when the program is not running. Then open the program and check the directory to see if a new CFG file has been created. Also, a CFG file can sometimes be moved or deleted to revert to a program's default settings.

NOTE: Linux configuration files typically use the .CONF extension rather than CFG.

Programs that open Configuration File
Windows
File Viewer Plus
Microsoft Notepad
Microsoft WordPad
Notepad2
Mac
Apple TextEdit
MacroMates TextMate
MacVim
File Type 5 Citrix Server Connection File
Developer by: Citrix Systems Category: Settings Files

Contains connection information for connecting to a Citrix server; may include hostname, IP address, server port, username, password, etc; multiple CFG files may be used by Citrix client software to connect to various servers.

File Type 6 Wesnoth Markup Language File
Developer by: The Battle for Wesnoth Category: Game Files Format: Text

Game file used by The Battle for Wesnoth, a free turn-based strategy game for Mac, Windows, and Linux; contains source code written in the Wesnoth Markup Language (WML), a proprietary language used for creating scenarios, campaigns, units, and other game content for The Battle for Wesnoth.

CFG files can be edited using any text editor. Some WML syntax highlighting plugins have been developed for text editors such as Emacs and Vi.

Programs that open Wesnoth Markup Language File
Windows
The Battle for Wesnoth
gVim
Microsoft Notepad
Mac
The Battle for Wesnoth
MacroMates TextMate
Apple TextEdit
MacVim
Linux
The Battle for Wesnoth
GNU Emacs
Vim
File Type 7 LightWave Configuration File
Developer by: NewTek Category: Settings Files

Preferences file created by LightWave 3D, a modeling and rendering application for still frames and animation sequences; saves various application configuration options; used for remembering presets for the user.

Programs that open LightWave Configuration File
Windows
NewTek LightWave 3D
Mac
NewTek LightWave 3D

How to solve problems with CFG files

  • Associate the CFG file extension with the correct application. On :
    Windows: Right click on any CFG file and then click "Open with" > "Choose another app". Now select another program and check the box "Always use this app to open *.CFG files". Mac: Right click (or Ctrl-click) the CFG file, then click "Open with" > "Other...". Then choose another program and check the "Always Open With" box. Linux: Right click on the file, and select "Open with" and choose another program. iPhone: Tap the file. If you do not see an app to open the file, then tap Share "Share" and choose an app. Alternatively, save the file. Then open the Files app Files app. There long-press on the file, then release your finger. You will see a black menu bar. Then tap "Share" and select an app. Android: Tap the Settings icon on your smartphone, then tap on the Apps section. There tap the Options icon in the top right-hand corner of the screen to change the default apps.
  • Update your software that should actually open .CFG is Celestia Configuration File. Because only the current version supports the latest CFG file format. Search, therefore, e.g. on the Celestia Development Team manufacturer website after an available .CFG is Celestia Configuration File update.
  • To make sure that your CFG file is not corrupted or virus-infected, get the file again and scan it with antivirus software.