Difference between revisions of "Environment variables" - EDukeWiki

# Difference between revisions of "Environment variables"

From EDukeWiki

Revision as of 06:13, 17 December 2010 (view source) Helixhorned (talk | contribs) (3 envvars for now) | Latest revision as of 13:15, 20 January 2012 (view source) Helixhorned (talk | contribs) (note one possible use of SDL_VIDEO_WINDOW_POS)
Line 2: | Line 2:
| * '''BUILD_LOGSTDOUT''': if set to "TRUE", write standard output and error streams to stdout.txt. |  | * '''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. | + | * '''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". |  | * '''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".

## Latest revision as of 13:15, 20 January 2012

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".

Retrieved from "http://wiki.eduke32.com/w/index.php?title=Environment_variables&oldid=10145"