No categories assigned

Commandline Options

Revision as of 09:28, 18 March 2021 by Dark191 (talk | contribs)

The following commands are the command line arguments that can be issued to HX. To be able to use these, open CMD in the "System" directory of HX and then type in the console, "hx.exe" then space, followed by the command line argument you want to use or you can create a shortcut of HX, then right-click on the shortcut, click on properties, then in the "Target" field, after the directory to the hx.exe executable, after the quotes, add a space then add in the commandline arguement. You will need to use space after each command line argument,


Command line arguments

Command line Arguments Effect
-changevideo Brings up the video card selection menu
-conflicts Shows objects of different classes whose names conflict.
-log Runs with the log window initially visible.
-newwindow Allows the opening of a new instance of HX alongside a currently running one
-noddraw Disables DirectDraw support.
-nodsound Disables DirectSound support.
-nogc Disables garbage collection.
-nohard Disables 3d hardware support.
-nok6 Disable AMD K6-3D support.
-nolog Don't show log window.
-nokni Disables KNI (Pentium III) support
-nommx Disables MMX support.
-nosound Disables sound.
-nowarn Disables warning message boxes on the screen.
-profile When C++ is compiled with DO_SLOW_GUARD=1, generates an UnrealScript function profile using the timings in the most recently played level only.
-safe Runs HX in "safe mode", avoiding loading any device drivers which could crash if there are hardware/driver problems.
-server Runs as a dedicated server. A HX icon appears at bottom right of the taskbar. Right click it to see more options. See hcc server
-silent Run silently, with no log window, and no display of error messages. Critical errors just cause the engine to exit silently.
INI=inifilename Specify the .ini file to use for configuration. Normally HX.ini.
USERINI=userinifilename Specify the .ini file to use for user-specific configuration. Normally HXUser.ini
LOG=logfilename Uses the specified log file instead of HX.log. Useful when running multiple copies on the same machine.
MULTIHOME=12.34.56.78 Sets the "home" ip address (in numerical format) which HX will bind to, for a machine with multiple IP addresses.
PORT=num Sets the UDP port number for the Internet server.
READINI=inifilename Sets the .ini file for reading only (not for writing); overrides the INI= option.