ezQuake Manual: Command-Line Options

Based on FuhQuake documentation © Goljat.

-allow360

The default behaviour is: We only have room for 15 fullscreen modes, so don't allow 360-wide modes, because if there are 5 320-wide modes and 5 360-wide modes, we'll run out of space. Using this commandline option you can change this behaviour.

-allowmultiple

Allows multiple instances of client. Allowed only in debug builds.

-autostretch

This switch enables the stretching of the screen through pixel doubling when using high resolutions.

-basedir

This switch sets the location of the game data files. You can use this switch to keep the executable files separate of the game files and then use this command to point the game executable at the location of the game files. This might be useful on networked file systems so that only one copy of the game files is kept while people can use their own executable to run the game. This switch is very similar to the "-path" switch.
Example:
ezquake.exe -basedir c:\games\quake
ezquake.exe -basedir /usr/quake

-bpp (16/24/32) *gl only*

This switch allows you to specify how many bits per pixel should be used. ezquake-gl.exe -bpp 32

-cdaudio

Enable Quake's ability to play CDs.

-cddev (device)

CD device, default is /dev/cdrom

-cheats

Enable to use cheats (need server support).

-clientport <port>

Allows you to run client on different port than default 27001.

-conbufsize <size_kb>

Sets the console buffer size in kilobytes. Default is 64 kB. Maximum is 4 MB.

-condebug

This switch enables logging of the console text in the "qconsole.log" file in the quake/qw/ directory. This is very useful if you are trying to catch bugs in the game. You can also use this command to keep a log of all the conversations that go on when you play on a server.

-conheight *gl only*

This switch specifies the vertical resolution for the console screen.
Note: You can use this command to stretch the size of the console to the actual screen resolution in order to prevent the squashed font look. When you use this command you should also use the -conwidth command to specify the horizontal resolution.
Example:
ezquake-gl.exe -conwidth 800 -conheight 600
ezquake-gl.exe -conwidth 640 -conheight 480

-conwidth *gl only*

This switch will set the width of the console screen based on the resolution specified.
Example: ezquake-gl.exe -conwidth 640

-current *gl only*

This switch can be used to start the game in the current video mode for OpenGL.

-dedicated

Support for dedicated "pingers", which can be set up on your isp or some close by server on a fat pipe to do all the server pinging for you

-detailtrails

More detailed particle trails. (VULT particles)

-dibonly

Description: Enable windowed video modes only.

-dinput

This switch enables the use of DirectInput. This is necessary when using Advanced Mouse Smoothing for example.

-game

Same as gamedir for server.

-gamma

Change the gamma.

-force *gl only*

This switch will force the client to start up in the specified video mode.
Note: You can use the "vid_modelist" command to obtain a list of all the available OpenGL video modes.
Example: ezquake-gl.exe -force 2

-forceTextureReload

Forces reloading textures.

-fullsbar *gl only*

Enable the refreshing of the full status bar.
Note: Normally the game will not refresh the full status bar, only the parts of it that change. This can sometimes cause flicker when a number changes on the status bar. When you use this parameter the status bar will be rendered with every frame thus it will remain refreshed all the time.

-fullscreen

Linux (glx) only. Fullscreen mode.

-gl_ext

Prints loaded OpenGL extensions into the console on startup.

-heapsize (0..128000)

This switch will specify the amount of memory in kilobytes allocated for Quake.
Note: You might need to use this parameter when playing on or developing large maps which require a lot of memory. Also if you start receiving the microchip icon on your game screen you might need to use this parameter to allocate more memory for the game.
Example: ezquake-gl.exe -heapsize 24576

-height *gl only*

This switch specifies the width of the video resolution to run the game in.
Note: You should also use the "-width" parameter when using this parameter to specify the horizontal resolution.
Example: ezquake-gl.exe -width 512 -height 384

-ip

Server command.

-joystick

Enable the joystick.

-m_mwhook

Allows you to bind up to eight mouse buttons on Logitech mouse. You have to use MouseWare. You must have mw_hook.dll in your quake dir (same dir where the game executables are). Works both when using -dinput and not using -dinput. The idea of doing this originally came from [EZH]FAN. It was first implemented by BorisU in qw262.

-m_smooth

This is meant to smooth your mouse movements and maximize mouse responsiveness. If you're unlucky and cannot get rate 200 with your mouse/windows/drivers, and don't want to use m_filter, because of the latency it brings to your movements, then this is for you. However, also if you have a smooth mouse with 200 Hz sample rate you can give it a try.
Requirements:

-maxtmu2

Prevents using more than two texture units.

-nomp3volumectrl

Disables control of volume of mp3 player.

-mdev

Mouse device, default is /dev/mouse

-mem

Specify memory in megabytes to allocate (default is 8MB, which should be fine for most needs).

-minmemory

This switch allows you to define the minimum amount of memory that should be allocated for Quake.
Example: ezquake-gl.exe -minmemory 16000
Note: It is best to leave this parameter alone and instead use the "-heapsize" parameter to specify the amount of memory that the game can use.

-mmt

Linux only. Enables EVDEV support.

-mode *gl only*

This switch is used to specify the video mode that GLMQWCL should start up in.

-mrate

Svgalib stuff (Linux)

-no24bit

Prevents loading 24-bit textures, charsets, images, etc.

-noadjustaspect

When not used, client uses following algorithm adjusting the size of the screen: If the width is more than twice the height, reduce it by half because this is probably a dual-screen monitor. If this command line option is used then this algorithm will be disabled.

-noconinput

Linux server stuff.

-nodga

Linux only. Do not use direct (mouse, keyboard) input.

-nodirectdraw

This switch will disable support for DirectDraw video modes.

-noforcemaccel

Description: Disable the forcing of mouse acceleration on startup.
Note: This parameter should only be used if you experience problems with the mouse.

-noforcemparms

Description: Disable the forcing of mouse parameters on startup.
Note: This parameter should only be used if you experience problems with the mouse.

-noforcemspd

Description: Disable the forcing of mouse speed on startup.
Note: This parameter should only be used if you experience problems with the mouse.

-noforcevga

Description: Disable the forcing of the VGA 0x13 video mode on startup.

-nofulldib [SOFT]

This will disable fullscreen, borderless window video modes.
Note: DIB full screen modes are nothing more than window display modes which have been sized to the exact size of the screen. This parameter will disable support for such modes.

-nohwgamma *gl only*

Disables hardware gamma control.

-nohwtimer

turns off new precise timer and returns back old behaviourturns off new precise timer and returns back old behaviour

-nomdga

Linux (glx) only. Do not use direct keyboard input.

-nokbd

Disables the keyboard.

-nolibjpg

Prevents loading library for writing .jpg images.

-nolibpng

Prevents loading library for writing .png images.

-nomdga

Linux (glx) only. Do not use direct mouse input.

-nomouse

This switch will disable mouse support. Using this switch will increase your FPS, but obviously the disadvantage of having to play without mouse will in almost every case outweigh the FPS gain.

-nomtex

This extension will be autodetected and used. If for some reason it is not working correctly, specify the command line option "-nomtex" to disable it. Should disable waterfog.

-nopriority

Server for Win32 automatically sets itself as a high priority task (HIGH_PRIORITY_CLASS). This is necessary for avoiding high PL when playing on localhost under Windows9x. If you desire to turn this feature off, launch the server with -nopriority command-line parameter. By the way, the reason for high ping (when QW2.30 server is running under Windows9x) was eliminated. Server uses 32 Megabytes of memory by default.

-noscripts

Disables usage of movement scripts, sets allow_scripts 0 and puts information about client not using scripts in userinfo string.

-noshadows

Different map lighting mode. Not allowed in usual games.

-nosockraw

Disables usage of different pinging method (for Server Browser).

-nosound

This switch will disable sound support. Using this switch will increase your FPS, but obviously the disadvantage of having to play without sound will in almost every case outweigh the FPS gain.

-nostdout

This behavior can be modified using the -nostdin or -allstdin flags. Standard output and error are also forwarded to mpiexec, allowing redirection of the outputs of all processes. This can be turned off using -nostdout so that the standard output and error streams go through the normal PBS mechanisms, to the batch job output files, or to your terminal in the case of an interactive job.

-noswapctrl

When used prevents loading Vsync control extensions.

-notriplebuf

This switch will disable triple-buffer page flipping for the video.
Note: This parameter will disable support for triple buffer thus it will make the performance of the Accelerated VESA video drivers similar to the Linear VESA drivers.

-novbeaf

This command line switch will disable support for the Accelerated VESA video modes.

-nowd

Disable support for VESA video modes in favor of DirectX DirectDraw video modes.

-novesa

This command line switch will disable support for all VESA video modes.

-nowindirect

This switch will disable support for VESA video modes in favor of DirectX DirectDraw video modes or windowed display.

-particles (0..5000)

This switch specifies the maximum number of particles to be rendered on the screen at once.

-port

Set the port for game server.

-primarysound [WIN32]

This switch will force the client to use DirectSound's primary buffer output for sound instead of secondary buffer output.
Note: Normally the game will use the secondary sound buffer because it is more compatible across more hardware. If you know that your hardware is 100% DirectX DirectSound compliant you can use this setting in order to increase the performance of the game. However when you switch the focus away from QW (task-switch), you will lose sound output until you restart QW.

-resetwinpos

This switch will reset the position of the game window on the desktop. If the game window will ever become inaccessible because it was moved beyond the boundaries of the desktop you will have to use this command to reset the position information for the game window. The position information is stored in the "vid_window_x" and "vid_window_y" variables.

-ruleset <ruleset name>

Disables triggers,truelighting and enable to play with 77 fps on kteam server.
Example: ezquake-gl.exe -ruleset smackdown

-showliberrors

Prints all errors of loading modules.

-simsound

This switch will disable sound playback but simulate sound playback for code testing. When this switch is used the game will function as if sound is being played back normally, except that the sound card will not be initialized and nothing will be heard from the speakers. This command will cut off the sound information right before it is about to leave to the sound card for processing. This command was used for testing the sound code in the game.

-sndbits (8/16)

This defines how many sampling bits should be used, when using 16 bits the interpolation quality will be better.

-snddev <N>

Allows you to choose from multiple sound devices.

-sndspeed (8000/11025/22050/44100/48000)

The client includes "sound interpolation" which allows it to play sounds at higher frequencies, than the default 11025 Hz with perfect quality. In addition to "-sndspeed" also "-sndbits" will have an influence on interpolation quality. This command-line allows you to choose the frequency you want to interpolate the sounds to. You will quickly discover, that the shaft sound is different at increased sampling rate. That's because shaft sounds were recorded at 22050 kHz, so probably that's how they should sound from the beginning. If you don't like it, you can always convert them to 11025.

-sndmono

Use the mono sound system (Linux)

-sndstereo

Use the stereo sound system (Linux)

-snoforceformat

This switch will disable the forcing of the soundcard into the appropriate sound mode.
Note: When this parameter is used the game will not try to force the sound card into the 11,025Hz at 16-bit stereo sound mode. Use this parameter if you are having problems with the sound initialization for your sound card.

-startwindowed

Same as "-window" option.

-surfcachesize

This switch sets the amount of memory in kilobytes that should be allocated in kilobytes for the surface cache.
Note: It is not necessary to use this parameter by default because the game will automatically allocate the necessary amount of memory for storing textures.

-use8bit

Enable 8bit mode,

-wavonly

This switch is used to disable DirectSound support in favor of WAV playback. If your sound card does not support DirectX DirectSound then you will need to specify this parameter in order to force the game into use the Windows wave only sound output. You can also try this switch when having sound problems, however there will be a considerable loss in performance when using this parameter and the sound latency will be increased greatly, but at least you may be able to hear sounds.

-width *gl only*

This switch specifies the width of the video resolution to run the game in.
Note: You also need the -height command.
Example: ezquake-gl.exe -width 512 -height 384

-window *gl only*

This switch forces OpenGL verion of the client to run in a windowed mode.

-winsize

Set the winsize (Linux?)

-v_hz

Linux (glx) only.

-verbose

Linux stuff

-visualid

Linux stuff

-zone

This switch is used to allocate additional memory to the alias memory space. It is usually necessary when loading large scripts. It's already built to the client so you dont need this commandline command.

Last update: 02.05.2005 01:06 CET (GMT+01:00)