CommandLineOptions.wiki
changeset 5 5889169b9459
parent 4 99b86a2d46d2
child 6 1744484ba5c0
equal deleted inserted replaced
4:99b86a2d46d2 5:5889169b9459
     1 #summary One-sentence summary of this page.
       
     2 #labels Documentation,Engine,Frontend
     1 #labels Documentation,Engine,Frontend
       
     2 o#summary One-sentence summary of this page.
     3 
     3 
     4 = Frontend =
     4 = Frontend =
     5 
     5 
     6 _are there any command line options?_
     6 There are two options that enable to load the data directory and the configuration directory in non standard locations.
     7 
     7 
       
     8   * {{{--data-dir=[path containing 'hedgewars/Data']}}}
       
     9   * {{{--config-dir=[path containing 'Demos' 'Saves' etc.]}}}
       
    10 
       
    11 You can set up both on the command line. The program exits if either of the folders is not correct; quotes are optional, but needed if your path contains spaces
       
    12 
       
    13 _Example_ 
       
    14 {{{
       
    15 $ /usr/bin/hedgewars --data-dir="/opt/local/share/" --config-dir=".hedgewars/tesing config/"
       
    16 }}}
     8 
    17 
     9 = Engine =
    18 = Engine =
    10 
    19 
    11 It is possible to start a replay or save file directly from the terminal issuing the standalone {{{hwengine}}} utility with very simple syntax. The replay files are usually contained in the configuration directory:
    20 It is possible to start a replay or save file directly from the terminal issuing the standalone {{{hwengine}}} utility with very simple syntax. The replay files are usually contained in the configuration directory:
    12 
    21