widescreen command line syntax

For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.

Moderators: Krom, Grendel

Post Reply
User avatar
kencl
DBB Ace
DBB Ace
Posts: 22
Joined: Fri Nov 12, 2004 2:26 pm

widescreen command line syntax

Post 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.
User avatar
Kilarin
DBB Fleet Admiral
DBB Fleet Admiral
Posts: 2403
Joined: Wed Aug 07, 2002 2:01 am
Location: South of Ft. Worth Texas

Post 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.
User avatar
kencl
DBB Ace
DBB Ace
Posts: 22
Joined: Fri Nov 12, 2004 2:26 pm

Post 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 :)
User avatar
Kilarin
DBB Fleet Admiral
DBB Fleet Admiral
Posts: 2403
Joined: Wed Aug 07, 2002 2:01 am
Location: South of Ft. Worth Texas

Post by Kilarin »

welcome!
User avatar
BUBBALOU
DBB Benefactor
DBB Benefactor
Posts: 4198
Joined: Tue Aug 24, 1999 2:01 am
Location: Dallas Texas USA
Contact:

Post 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

I seem to have a better workout dodging your stupidity than attempting to grasp the weight of your intelligence.
MD-2389
Defender of the Night
Defender of the Night
Posts: 13477
Joined: Thu Nov 05, 1998 12:01 pm
Location: Olathe, KS
Contact:

Post by MD-2389 »

And when in doubt, read the readme file. It has a complete listing of the command line switches.
Post Reply