Resolution

From TTWiki
Jump to: navigation, search

Allow changing the resolution TTD runs in (Windows version only)

2.0.1 alpha 41 or later

Switch

Configuration file: resolutionwidth <num>, resolutionheight <num>

Command line: none

Description

This switch sets the resolution of TTD's window, or the fullscreen mode it runs in. In fullscreen TTD must be able to find the corresponding DirectX mode for this to work. This switch is incompatible with screen setting 5 ("clean update system") from TTD's setup program and will revert to setting 4 in that case.

For most graphics cards, the horizontal resolution must be a multiple of 4 or 32 or the display will be distorted.

Note: TTDPatch compiled without version information will fail if the resolution is set to 640x480!

This feature was contributed by Oskar Eisemuth.