SDL-Specific Commandline Options

This section contains configuration options that are specific to any build supported by SDL (including Windows where compiled as SDL instead of native).

Performance Options

-sdlvideofps

Enable output of benchmark data on the SDL video subsystem, including your system’s video driver, X server (if applicable), and OpenGL stack in -video opengl mode.

Video Options

-[no]centerh

Center horizontally within the view area. Default is ON (-centerh).

-[no]centerv

Center vertically within the view area. Default is ON (-centerv).

Video Soft-Specific Options

-scalemode

Scale mode: none, async, yv12, yuy2, yv12x2, yuy2x2 (-video soft only). Default is ‘none’.

SDL Keyboard Mapping

-keymap

Enable keymap. Default is OFF (-nokeymap)

-keymap_file <file>

Keymap Filename. Default is ‘keymap.dat’.

SDL Joystick Mapping


-joy_idx1 <name>
-joy_idx2 <name>
-joy_idx8 <name>

Name of joystick mapped to a given joystick slot, default is auto.

-sixaxis

Use special handling for PS3 SixAxis controllers. Default is OFF (-nosixaxis)

SDL Low-level Driver Options ~—————————

-videodriver <driver>

SDL video driver to use (‘x11’, ‘directfb’, … or ‘auto’ for SDL default)

-audiodriver <driver>

SDL audio driver to use (‘alsa’, ‘arts’, … or ‘auto’ for SDL default)

-gl_lib <driver>

Alternative libGL.so to use; ‘auto’ for system default