Environment variables

From EDukeWiki
Revision as of 13:15, 20 January 2012 by Helixhorned (talk | contribs) (note one possible use of SDL_VIDEO_WINDOW_POS)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page documents the environment variables that affect EDuke32's or Mapster32's execution. They're likely to be only of interest to users of Unix-like OSes.

  • BUILD_LOGSTDOUT: if set to "TRUE", write standard output and error streams to stdout.txt.
  • SDL_VIDEO_WINDOW_POS: can be "center" for starting with a screen-centered window. Combined with asking the windowing system to not draw window decorators, this can be used to emulate full screen mode (since real 8-bit fullscreen may be unavailable).
  • EDUKE32_MUSIC_CMD: an external command to play back MIDI music. It should accept a MIDI file after the command. For example, with an SB Live, you would do asfxload <some soundfont> and could set the variable to "pmidi -p17:0".