d2x.ini switches

A forum just for you old time Descent and Descent2 players.
Post Reply
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

d2x.ini switches

Post by Diedel »

I don't understand all of them myself, but here's a few:

-limitturnrate: Only affects single player. If set, will limit the turn speed (rotation speed around X,Y,Z axes) to minturnrate / 10 secs

-minturnrate <time>: minimal turn speed in units of 1/10 of a second (i.e. -minturnrate 20 means that a 360° rotation around a single ship axis will take at least 20/10 = 2 seconds)

-grabmouse: Prevents the mouse cursor from leaving the window when playing in window mode

-gl_trilinear: Affects texture display quality on hardware capable of trilinear texture filtering

-noredundancy: Suppresses "you already have ..." messages in multiplayer

-gl_reticle: Turns on an alternate reticle that is drawn via OpenGL functions and not a bitmap as the original reticle. Preferrable esp. with higher screen res. -gl_reticle 1 turns it on for res > 320x200, gl_reticle 2 turns it always on.

The following legacy switches serve to make d2x-w32 behave like the "official" d2x:

-legacyfuelcens: Turn off repair centers
-legacyhomers: Turn off frame rate independant homing missile turn rate
-legacyinput: Turn off enhanced input handling
-legacymouse: Turn off frame rate independant mouse sensitivity
-legacyrender: Turn off colored segment rendering
-legacyzbuf: Turn off OpenGL depth buffer
-legacyswitches: Turn off fault tolerant switch handling
-legacywalls: Turn off fault tolerant wall handling
-legacymode: Turn off all of the above non-legacy behaviour

(to be continued)
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

Here's the help output from d2x-w32:
d2x-w32 help wrote: D2X Options:

-noredundancy Do not send messages when picking up redundant items in multi
-shortpackets Set shortpackets to default as on
-maxfps <n> Set maximum framerate (1-100)
-notitles Do not show titlescreens on startup
-hogdir <dir> set shared data directory to <dir>
-ini <file> option file (alternate to command line), defaults to d2x.ini
-autodemo Start in demo mode
-bigpig FIXME: Undocumented
-bspgen FIXME: Undocumented
-checktime FIXME: Undocumented
-showmeminfo FIXME: Undocumented
-debug Enable very verbose output
-grabmouse Keeps the mouse from wandering out of the window
-invulnerability Make yourself invulnerable
-ipxnetwork <num> Use IPX network number <num>
-jasen FIXME: Undocumented
-joyslow FIXME: Undocumented
-kali use Kali for networking
-lowresmovies Play low resolution movies if available (for slow machines)
-macdata Read (and, for editor, write) mac data files (swap colors)
-nocdrom FIXME: Undocumented
-nofade Disable fades
-nomatrixcheat FIXME: Undocumented
-norankings Disable multiplayer ranking system
-packets <num> Specifies the number of packets per second

-socket FIXME: Undocumented
-nomixer Don't crank music volume
-sound22k Use 22 KHz sound sample rate
-sound11k Use 11 KHz sound sample rate
-nomovies Don't play movies
-noscreens Skip briefing screens
-noredbook Disable redbook audio
-norun Bail out after initialization
-subtitles Turn on movie subtitles (English-only)
-text <file> Specify alternate .tex file
-udp Use TCP/UDP for networking
-xcontrol FIXME: Undocumented
-xname FIXME: Undocumented
-xver FIXME: Undocumented
-tmap <t> select texmapper to use (c,fp,i386,pent,ppro)
-<X>x<Y> Set screen resolution to <X> by <Y>
-automap<X>x<Y> Set automap resolution to <X> by <Y>
-automap_gameres Set automap to use the same resolution as in game

D2X System Options:

-fullscreen Use fullscreen mode if available
-gl_texmagfilt <f> set GL_TEXTURE_MAG_FILTER (see readme.d1x)
-gl_texminfilt <f> set GL_TEXTURE_MIN_FILTER (see readme.d1x)
-gl_mipmap set gl texture filters to "standard" options for mipmapping
-gl_trilinear set gl texture filters to trilinear mipmapping
-gl_simple set gl texture filters to gl_nearest for "original" look. (default)
-gl_alttexmerge use new texmerge, usually uses less ram (default)
-gl_stdtexmerge use old texmerge, uses more ram, but _might_ be a bit faster
-gl_voodoo force fullscreen mode only
-gl_16bittextures attempt to use 16bit textures
-gl_reticle <r> use OGL reticle 0=never 1=above 320x* 2=always
-gl_intensity4_ok FIXME: Undocumented
-gl_luminance4_alpha4_ok FIXME: Undocumented
-gl_readpixels_ok FIXME: Undocumented
-gl_rgba2_ok FIXME: Undocumented
-gl_test2 FIXME: Undocumented
-gl_vidmem FIXME: Undocumented

-legacyfuelcens Turn off repair centers
-legacyhomers Turn off frame-rate independant homing missile turn rate
-legacyinput Turn off enhanced input handling
-legacymouse Turn off frame-rate independant mouse sensitivity
-legacyrender Turn off colored segment rendering
-legacyzbuf Turn off OpenGL depth buffer
-legacyswitches Turn off fault-tolerant switch handling
-legacywalls Turn off fault-tolerant wall handling
-legacymode Turn off all of the above non-legacy behaviour
User avatar
Aus-RED-5
DBB Friend
DBB Friend
Posts: 1604
Joined: Fri Apr 23, 2004 7:27 am
Location: Adelaide, South Australia
Contact:

Re: d2x.ini switches

Post by Aus-RED-5 »

Diedel wrote: -grabmouse: Prevents the mouse cursor from leaving the window when playing in window mode
Hate to break this to ya but that switch isn't working. Mouse is not staying in the D2x window when NOT in FULL screen mode. :?
My .ini is setup like this:
;-fullscreen
-sound22k
-nocdrom
-gl_trilinear
-gl_alttexmerge
-playermessages
-noredundancy
-grabmouse
-player AusRED5
-nomovies
-gl_reticle 1
-limitturnrate
-minturnrate 20
;-tmap fp
;-legacyzbuf
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

AUS,

Blame the SDL coders for it. :P

If you have never tried it, get yourself a MS Sidewinder 3D pro from ebay and trying playing Descent with that joystick. It's a world of a difference to every other joystick I've ever tried. I'm a long time mouser, but I will try to get into playing Descent with a joystick with an SW 3D pro.

@All,

I give no guaranty that all of the switches mentioned above work, or work as described - except the legacy switches, which I have implemented myself.
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

I have added a page describing all D2X hud commands and command line switches to my Descent site.
Post Reply