Environment variables
From Eternity Wiki
Jump to navigationJump to search
Eternity uses the following environment variables (not all of them are Doom or Eternity specific):
DOOMWADDIR: optional directory to Doom IWADs.DOOMWADPATH: more advanced version ofDOOMWADDIR, which uses aPATH-like syntax for multiple IWAD paths.ETERNITYBASE: thebase/directory where Eternity should find its main EDF andeternity.pkeassets. If unspecified, it will look forbase/folder in the current working directory or from below the Eternity installation location, depending on system. It can also be set from the-basecommand-line parameter. Note that launchers such as the macOS Eternity launcher presets this to the correct path (which is inside the app bundle) before starting the game.ETERNITYUSER: theuser/directory where Eternity should find your user settings, savegames and screenshots. If unspecified, it will look foruser/folder in the current working directory or from the typical user settings location, depending on system. It can also be set from the-usercommand-line parameter. Note that launchers such as the macOS Eternity launcher presets this to the correct path (which is inside the hidden~/Library/Application Supportfolder) before starting the game.HOME: Linux only, ifXDG_CONFIG_HOMEis not set, is the prefix for finding theuser/path. Also works as an alternative forDOOMWADDIRwhen looking for IWADs.TEXTSCREEN_FONT: optional, used by the ENDOOM display to choose font.XDG_CONFIG_HOME: Linux only, if set, it substitutes theHOMElocation for finding theuser/path.