The following environment variables are evaluated by PCC2, or by the SDL library it is based upon:
- SDL_VIDEODRIVER: select a video driver. Possible choices are, depending upon your version of SDL: x11 (Unix: X11), dga (Unix: XFree DGA), fbcon (Linux: framebuffer console), svgalib (Unix: SVGAlib), aalib (ASCII art, more for fun than actually useful), windib (Win32: standard GDI), directx (Win32 DirectX). Normally, SDL auto-detects the best driver to use.
- SDL_AUDIODRIVER: select an audio driver. Possible choices are, depending upon your version of SDL: alsa (Linux: ALSA), dma (Unix: OSS DMA), dsp (Unix: OSS standard), esd (Linux: Enlightened sound daemon), waveout (Win32: standard WaveOut), dsound (Win32: DirectX). Normally, SDL auto-detects the best driver to use.
- LC_ALL, LC_MESSAGES, LANG (Unix): select language. PCC2 uses the first of those variables which is set. It should contain a two-letter language code, optionally followed by additional information ignored by PCC2. For example, de selects German language, like de_DE, de_AT, de_DE@utf-8, etc.
- HOME (Unix): your home directory. PCC2's configuration directory, .pcc2, goes there. That folder will contain the configuration file, pcc2.ini. Previous versions of PCC2 placed that file directly in your home directory. If it is already there, it will stay there. However, new files will be created in the configuration directory.
To change environment variables permanently under Windows NT or higher, right-click My Computer, choose Properties, choose Advanced, choose Environment Variables, and add the variable in the User Variables section. Users of other environments put the variables into their startup or login scripts, such as autoexec.bat or .profile.