

It is the place where Stellarium's data files are installed on your computer. The Installation Data Directory, which is where the program executable, libraries and all data files which are distributed with the program are installed. In this manner, each user on a multi-user system may have their own customized Stellarium data files. Any file which exists in the User Data Directory will over-ride that in the Installation Data Directory.įor example, to modify the position of a nebula texture, the user may copy the nebulae/default/textures.json file from the Installation Data Directory to the nebulae/default sub-directory of the User Data Directory and modify it there. The directory tree structure within the User Data Directory is the same as the Installation Data Directory.

Note that you may have to change explorer's settings so you can view hidden files before you can navigate to this directory. $HOME/Library/Application Support/Stellarium where $HOME is your home directory. This is the Stellarium sub-directory of your users application data directory (usually something like C:\Users\YOURUSERNAME\AppData\Roaming\Stellarium This is the Stellarium sub-directory of your users application data directory (usually something like C:\Documents and Settings\YOURUSERNAME\Application Data\Stellarium $HOME/.stellarium where $HOME is your home directory.

The location of this directory varies depending on the operating system.

It is the place where Stellarium saves the configuration file, recorded scripts and can also be used to override files in the Installation Data Directory if the user wishes to customise Stellarium. The User Data Directory, which stores per-user copies of any customised data files. When Stellarium searches for data, texture and other files it looks in two separate locations: User and Installation directory separation There are also directories which are shared among modules and other parts of the program, for example the textures directory. StarMgr files are stored in the stars directory, LandscapeMgr files may be found in the landscapes directory. For StelModules which need many data files, there is one directory. This article explains the directory and file layout which Stellarium uses from a programmer's perspective, lays out the rationale behind it, and uses examples to illustrate the way things work.įiles are broadly separated by the type of data.
