Next: , Previous: , Up: Reference   [Contents][Index]


4.7 Graphics options

4.7.1 capture

Command-line option: --capture=<value>
Environment variable: LW6_CAPTURE
XML key: capture

Type: boolean

Default value: false

Enables capture mode, in which a BMP file is dumped on the disk (in your user directory, search for a ’capture’ sub-directory).

4.7.2 fullscreen

Command-line option: --fullscreen=<value>
Environment variable: LW6_FULLSCREEN
XML key: fullscreen

Type: boolean

Default value: false

Force the game to fun fullscreen. Note that the graphics backend might ignore this hint.

4.7.3 gfx-backend

Command-line option: --gfx-backend=<value>
Environment variable: LW6_GFX_BACKEND
XML key: gfx-backend

Type: string

Default value: gl1

Sets the graphics backend AKA ’gfx’ to use. For now the only reasonnable choice is ’gl1’ and will use an OpenGL v1 / SDL 3D-accelerated driver.

4.7.4 gfx-quality

Command-line option: --gfx-quality=<value>
Environment variable: LW6_GFX_QUALITY
XML key: gfx-quality

Type: integer

Default value: 1 Min value: 0 Max value: 2

Sets the overall quality of the graphics backend. Depending on the backend, this can mean different things. For instance for the ’gl’ backend, this can change texture filtering (nearest, linear, bilinear...). This is not the same as ’pixelize’ which is a per-map option and emulates an old school appearance.

4.7.5 height

Command-line option: --height=<value>
Environment variable: LW6_HEIGHT
XML key: height

Type: integer

Default value: -1

Run the game with the given screen height.Note that the graphics backend might ignore this hint. Use with its companion option ’width’. A negative value will force the use of a default value.

4.7.6 width

Command-line option: --width=<value>
Environment variable: LW6_WIDTH
XML key: width

Type: integer

Default value: -1

Run the game with the given screen width. Note that the graphics backend might ignore this hint. Use with its companion option ’height’.A negative value will force the use of a default value.

4.7.7 windowed-mode-limit

Command-line option: --windowed-mode-limit=<value>
Environment variable: LW6_WINDOWED_MODE_LIMIT
XML key: windowed-mode-limit

Type: float

Default value: 0.95

When switching back from fullscreen mode to windowed mode, if we’re in maximum resolution, then this coefficient will be applied before resizing the window. The idea is that (obviously) a windowed mode is prefered when a little smaller that totally fullscreen. So set this to a value just below 1.0.


Next: , Previous: , Up: Reference   [Contents][Index]