ShellShock's Crater

Command Line Interface

Back to Contents


Q3Stats can be run from the command line with the name of a Q3Stats document:

    q3stats Q3Stats file

The document will be opened and displayed in Q3Stats.

Game log files can be imported into Q3Stats from the command line, e.g., from a batch file, as follows:

q3stats -i:log file  
    [[-s-]|[-s+]] [[-r-]|[-r+]] [[-v-]|[-v]] 
    [[-sxml-]|[-sxml]] 
    [[-html-]|[-html]] 
    [[-shtml-]|[-shtml]] 
    Q3Stats file

-i Quake III Arena log file to be imported.
-s- Do not automatically save document.
-s+ Automatically save document. Default.
-r- Do not automatically rename a log file after it has been imported.
-r+ Automatically rename a log file after it has been imported. Default.
-v- Do not display Q3Stats - Q3Stats will exit after importing the log file. Default.
-v+ Display Q3Stats with the result of importing the log file.
-sxml- Do not save statistics as XML.
-sxml+ Save statistics as XML, in the file filename_stats.xml, where filename is the same as the name of the .q3s file. Default.
-html- Do not create HTML. Default.
-html+ Create a HTML file from the statistics. The HTML file will be named filename_stats.html, where filename is the same as the name of the .q3s file.
-shtml- Do not show HTML file. Default.
-shtml+ Show the HTML file.