Difference between revisions of "Commandline Options"

(Created page with "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,...")
 
 
(3 intermediate revisions by one other user not shown)
Line 2: Line 2:
  
  
=== Command line arguments ===
+
=== Unsorted Command line arguments and switches ===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 8: Line 8:
 
|-
 
|-
 
|  -changevideo || Brings up the video card selection menu
 
|  -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.
 
| -log || Runs with the log window initially visible.
Line 18: Line 16:
 
|-
 
|-
 
| -nodsound || Disables DirectSound 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.
 
| -nosound || Disables sound.
Line 35: Line 21:
 
| -nowarn || Disables warning message boxes on the screen.
 
| -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.
+
| -timestamplog || Adds a timestamp to the log filename
 
|-
 
|-
| -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
 
|-
 
|-
| -server || Runs as a dedicated server. A HX icon appears at bottom right of the taskbar. Right click it to see more options.  See ucc server
+
| -simhdd || Simulates spinning up/down HDD for I/O choke testing.
 
|-
 
|-
 
| -silent || Run silently, with no log window, and no display of error messages. Critical errors just cause the engine to exit silently.
 
| -silent || Run silently, with no log window, and no display of error messages. Critical errors just cause the engine to exit silently.
Line 45: Line 31:
 
| INI=inifilename || Specify the .ini file to use for configuration. Normally HX.ini.
 
| 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
+
| 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.
 
| LOG=logfilename || Uses the specified log file instead of HX.log. Useful when running multiple copies on the same machine.
Line 54: Line 40:
 
|-
 
|-
 
| READINI=inifilename || Sets the .ini file for reading only (not for writing); overrides the INI= option.
 
| READINI=inifilename || Sets the .ini file for reading only (not for writing); overrides the INI= option.
 +
|}
 +
 +
=== Texture Exporter ===
 +
{| class="wikitable"
 +
|-
 +
! Command line Arguments !! Effect
 +
|-
 +
| -IgnoreCompMips || Extract texture from Mips instead of CompMips slot.
 
|}
 
|}

Latest revision as of 09:22, 24 March 2021

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,


Unsorted Command line arguments and switches

Command line Arguments Effect
-changevideo Brings up the video card selection menu
-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.
-nosound Disables sound.
-nowarn Disables warning message boxes on the screen.
-timestamplog Adds a timestamp to the log filename
-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
-simhdd Simulates spinning up/down HDD for I/O choke testing.
-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.

Texture Exporter

Command line Arguments Effect
-IgnoreCompMips Extract texture from Mips instead of CompMips slot.