Difference between revisions of "StretchWindow"

From TTWiki
Jump to navigationJump to search
m (5 revisions)
m (Bot: Automated text replacement (--= +==))
Line 1: Line 1:
   
'''''Stretch the TTD Window to any size'''''
 
   
 
=Stretch Window=
 
=Stretch Window=
Line 8: Line 7:
 
'''2.0.1 alpha 13 or later'''
 
'''2.0.1 alpha 13 or later'''
   
-=Switch=-
+
==Switch==
   
Configuration file: stretchwindow on|off|<size>
+
Configuration file: stretchwindow on|off|<size>
   
Command line: -XW &lt;size&gt;
+
Command line: -XW <size>
   
-=Description=-
+
==Description==
   
This switch only applies to the Windows version of TTD, and only when running in windowed mode (not in fullscreen). &nbsp;It stretches the size of TTD's window by multiplying each pixel with a certain factor. &nbsp;For example, when set to a size of 1280 (the default), each pixel is doubled in width and height, thus making the window 1280x960 large.
+
This switch only applies to the Windows version of TTD, and only when running in windowed mode (not in fullscreen). It stretches the size of TTD's window by multiplying each pixel with a certain factor. For example, when set to a size of 1280 (the default), each pixel is doubled in width and height, thus making the window 1280x960 large.
   
 
Because of the required stretching, this switch requires a fairly fast computer and graphics card, but it is useful if you want to play TTD in a window on a high resolution screen.
 
Because of the required stretching, this switch requires a fairly fast computer and graphics card, but it is useful if you want to play TTD in a window on a high resolution screen.

Revision as of 11:20, 15 June 2011


Stretch Window

Stretch the TTD Window to any size

2.0.1 alpha 13 or later

Switch

Configuration file: stretchwindow on|off|<size>

Command line: -XW <size>

Description

This switch only applies to the Windows version of TTD, and only when running in windowed mode (not in fullscreen). It stretches the size of TTD's window by multiplying each pixel with a certain factor. For example, when set to a size of 1280 (the default), each pixel is doubled in width and height, thus making the window 1280x960 large.

Because of the required stretching, this switch requires a fairly fast computer and graphics card, but it is useful if you want to play TTD in a window on a high resolution screen.

You can set the size to be anything between 40 and 20480, but if set to less than 160 (a quarter of the original size), it is difficult to see anything or even click on the yes/no button when trying to quit the game.

The best results are achieved for integer multiples of 640, e.g. 1280, although half-integer multiples such as 960 also work reasonably well.

This does not enhance the resolution of the TTD window; for that use the Resolution switches