CommandLineOptions.wiki
changeset 274 aae06d0bd175
parent 273 e165ada6aae2
child 275 910cde9995b8
equal deleted inserted replaced
273:e165ada6aae2 274:aae06d0bd175
    39   * {{{--locale [path to language file]}}} - Sets the game language
    39   * {{{--locale [path to language file]}}} - Sets the game language
    40   * {{{--width [size]}}} - Starts the game with the given width (in pixels)
    40   * {{{--width [size]}}} - Starts the game with the given width (in pixels)
    41   * {{{--height [size]}}} - Starts the game with the given height (in pixels)
    41   * {{{--height [size]}}} - Starts the game with the given height (in pixels)
    42   * {{{--volume [level]}}} - Sets the volume level, possible values range from 0-100 (negative is muted)
    42   * {{{--volume [level]}}} - Sets the volume level, possible values range from 0-100 (negative is muted)
    43   * {{{--frame-interval [interval]}}} - Sets minimum timer interval between each frame in milliseconds. Ex: 40 would make the game run at most 25 fps
    43   * {{{--frame-interval [interval]}}} - Sets minimum timer interval between each frame in milliseconds. Ex: 40 would make the game run at most 25 fps
       
    44   * {{{--raw-quality [flags]}}} - (For advanced users only). Manually specifies the reduced quality flags, see below. 
    44   * {{{--nomusic}}} - Disables music
    45   * {{{--nomusic}}} - Disables music
    45   * {{{--nosound}}} - Disables sound
    46   * {{{--nosound}}} - Disables sound
    46   * {{{--fullscreen}}} - Starts in fullscreen
    47   * {{{--fullscreen}}} - Starts in fullscreen
    47   * {{{--showfps}}} - Shows a fps counter in the top right
    48   * {{{--showfps}}} - Shows a fps counter in the top right
    48   * {{{--altdmg}}} - Uses an alternative damage indicator
    49   * {{{--altdmg}}} - Uses an alternative damage indicator
    49   * {{{--low-quality}}} - Lowers the game quality
    50   * {{{--low-quality}}} - Lowers the game quality
    50   * {{{--raw-quality}}} - (For advanced users only). Manually specifies the reduced quality flags, see below. 
       
    51   * {{{--stats-only}}} - Outputs the round information without launching the game
    51   * {{{--stats-only}}} - Outputs the round information without launching the game
    52   * {{{--help}}} - Shows this list of command line options
    52   * {{{--help}}} - Shows this list of command line options
       
    53 
       
    54 Note: any modification to the command line arguments should be reflected in the autostart .desktop file.
    53 
    55 
    54 == Deprecated Options ==
    56 == Deprecated Options ==
    55 
    57 
    56 These options are outdated and may be removed in the future, please use the above options:
    58 These options are outdated and may be removed in the future, please use the above options:
    57 
    59 
    58   * {{{--depth [bits]}}}
    60   * {{{--depth [color depth]}}}
    59   * {{{--set-video [screen width] [screen height] [color dept]}}}
    61   * {{{--set-video [screen width] [screen height] [color dept]}}}
    60   * {{{--set-audio [volume] [enable music] [enable sounds]}}}
    62   * {{{--set-audio [volume] [enable music] [enable sounds]}}}
    61   * {{{--set-other [language file] [full screen] [show FPS]}}}
    63   * {{{--set-other [language file] [full screen] [show FPS]}}}
    62   * {{{--set-multimedia [screen height] [screen width] [color dept] [volume] [enable music] [enable sounds] [language file] [full screen]}}}
    64   * {{{--set-multimedia [screen height] [screen width] [color dept] [volume] [enable music] [enable sounds] [language file] [full screen]}}}
    63   * {{{--set-everything [screen height] [screen width] [color dept] [volume] [enable music] [enable sounds] [language file] [full screen] [show FPS] [alternate damage] [timer value] [reduced quality]}}}
    65   * {{{--set-everything [screen height] [screen width] [color dept] [volume] [enable music] [enable sounds] [language file] [full screen] [show FPS] [alternate damage] [timer value] [reduced quality]}}}
    87 == Some examples ==
    89 == Some examples ==
    88 let's see some *GOOD* examples
    90 let's see some *GOOD* examples
    89 
    91 
    90 {{{
    92 {{{
    91 $ hwengine installpath/hedgewars/Data anywhere/replay.hwd
    93 $ hwengine installpath/hedgewars/Data anywhere/replay.hwd
    92 $ hwengine pathtohedgewars/ installpath/hedgewars/Data anywhere/replay.hwd --width 1024 ---height 768
    94 $ hwengine pathtohedgewars/ installpath/hedgewars/Data anywhere/replay.hwd --width 1024 --height 768
    93 $ hwengine installpath/hedgewars/Data anywhere/replay.hwd --nosound
    95 $ hwengine installpath/hedgewars/Data anywhere/replay.hwd --nosound
    94 }}}
    96 }}}
    95 
    97 
    96 and some *BAD* examples
    98 and some *BAD* examples
    97 
    99