Page 1 of 1

widescreen command line syntax

Posted: Tue Feb 27, 2007 5:58 am
by kencl
Hi Folks,

Trying to get D3 working on a widescreen LCD with native resolution 1680 x 1050. I saw in another thread that there are command line switches width, height and aspect, but I'm not sure a) what the syntax is and b) where to put them.

I tried going into setup, misc tab and entering a few variations in the \"Optional D3 Command-line Switches\" text field, but either I ended up with large black borders on all sides or a very strange, wacky stretchy image.

Thanks in advance.

Posted: Tue Feb 27, 2007 7:07 am
by Kilarin
from http://www.planetdescent.com/site/dcip/ ... itches.asp

-aspect [value] Specifies the screen aspect ratio for non-standard displays, such as wide-screen TVs. The aspect value is the width of the screen divided by the height, so if you want to play Descent 3 on a 16:9 wide-screen TV, use '-aspect 1.78'.

-height [height] Sets the screen resolution to the specified height, if possible.

-width [width] Sets the screen resolution to the specified width, if possible.

Posted: Tue Feb 27, 2007 7:54 am
by kencl
Thanks mate. Didn't realize the aspect ratio was supposed to be a real number rather than a fraction or colon separated number...

Still doesn't like setting width and height but using just \"-aspect 1.6\" makes everything look normal :)

Posted: Tue Feb 27, 2007 8:11 am
by Kilarin
welcome!

Posted: Tue Feb 27, 2007 9:27 am
by BUBBALOU
add this to your config in the launcher under MISC tab

-aspect 1.6 -width 1680 -height 1050

------------------------------------

by default D3's aspect is 1.33 (4:3)

aspect for 5:4 is 1.25 aka LCD

aspect for widescreen 16:9 is 1.78


when in doubt W/H = aspect(0.00)

so 1680 / 1050 = 1.6

Posted: Tue Feb 27, 2007 11:09 am
by MD-2389
And when in doubt, read the readme file. It has a complete listing of the command line switches.