Ini file: Difference between revisions

From Zandronum Wiki
No edit summary
No edit summary
Tag: Source edit
 
Line 3: Line 3:


== Location ==
== Location ==
The ini file can be easily found by executing <tt>whereisini</tt> command in the {{Zdoomwiki|Console|console}}. This will print out the full path to the ini file in use. On Windows, if the ini file is supposedly is in Program Files, it is likely to be in '''%LocalAppData%\VirtualStore''' instead, due to a Windows backwards compatibility measure.
The ini file can be easily found by executing <tt>whereisini</tt> command in the {{Zdoomwiki|Console|console}}. This will print out the full path to the ini file in use.


=== Default locations ===
=== Default locations ===
* Windows: <tt>Zandronum-<username>.ini</tt> in the same directory as zandronum.exe
* Windows: <tt>Zandronum-<username>.ini</tt> in the same directory as zandronum.exe
** As of 3.1, the default installation directory for Zandronum is '''%LOCALAPPDATA%\Zandronum'''.
** 3.0 and earlier installed Zandronum to Program Files by default. However, the ini file is likely to be in '''%LocalAppData%\VirtualStore''' instead, due to a Windows backwards compatibility measure.
* Linux: <tt>$XDG_CONFIG_DIR/zandronum/zandronum.ini</tt> (usually <tt>~/.config/zandronum/zandronum.ini</tt>)
* Linux: <tt>$XDG_CONFIG_DIR/zandronum/zandronum.ini</tt> (usually <tt>~/.config/zandronum/zandronum.ini</tt>)


== See also ==
== See also ==
* {{Zdoomwiki|Configuration file}}
* {{Zdoomwiki|Configuration file}}

Latest revision as of 14:47, 23 October 2022

The ini file is where a user's Zandronum configuration is stored. It is loaded when the game starts, and saved when it exits.

Location

The ini file can be easily found by executing whereisini command in the console. This will print out the full path to the ini file in use.

Default locations

  • Windows: Zandronum-<username>.ini in the same directory as zandronum.exe
    • As of 3.1, the default installation directory for Zandronum is %LOCALAPPDATA%\Zandronum.
    • 3.0 and earlier installed Zandronum to Program Files by default. However, the ini file is likely to be in %LocalAppData%\VirtualStore instead, due to a Windows backwards compatibility measure.
  • Linux: $XDG_CONFIG_DIR/zandronum/zandronum.ini (usually ~/.config/zandronum/zandronum.ini)

See also