Ini file: Difference between revisions

122 bytes added ,  23 October 2022
no edit summary
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}}