@ -69,7 +69,8 @@ bool parseOptions (int argc, char** argv, OMW::Engine& engine, Files::Configurat
{
// Create a local alias for brevity
namespace bpo = boost : : program_options ;
typedef std : : vector < std : : string > StringsVector ;
typedef Files : : EscapeHashString string ;
typedef std : : vector < string > StringsVector ;
bpo : : options_description desc ( " Syntax: openmw <options> \n Allowed options " ) ;
@ -79,13 +80,13 @@ bool parseOptions (int argc, char** argv, OMW::Engine& engine, Files::Configurat
( " data " , bpo : : value < Files : : PathContainer > ( ) - > default_value ( Files : : PathContainer ( ) , " data " )
- > multitoken ( ) - > composing ( ) , " set data directories (later directories have higher priority) " )
( " data-local " , bpo : : value < st d: : st ring> ( ) - > default_value ( " " ) ,
( " data-local " , bpo : : value < st ring> ( ) - > default_value ( " " ) ,
" set local data directory (highest priority) " )
( " fallback-archive " , bpo : : value < StringsVector > ( ) - > default_value ( StringsVector ( ) , " fallback-archive " )
- > multitoken ( ) , " set fallback BSA archives (later archives have higher priority) " )
( " resources " , bpo : : value < st d: : st ring> ( ) - > default_value ( " resources " ) ,
( " resources " , bpo : : value < st ring> ( ) - > default_value ( " resources " ) ,
" set resources directory " )
( " start " , bpo : : value < std : : string > ( ) - > default_value ( " " ) ,
@ -109,7 +110,7 @@ bool parseOptions (int argc, char** argv, OMW::Engine& engine, Files::Configurat
( " script-console " , bpo : : value < bool > ( ) - > implicit_value ( true )
- > default_value ( false ) , " enable console-only script functionality " )
( " script-run " , bpo : : value < st d: : st ring> ( ) - > default_value ( " " ) ,
( " script-run " , bpo : : value < st ring> ( ) - > default_value ( " " ) ,
" select a file containing a list of console commands that is executed on startup " )
( " script-warn " , bpo : : value < int > ( ) - > implicit_value ( 1 )
@ -125,7 +126,7 @@ bool parseOptions (int argc, char** argv, OMW::Engine& engine, Files::Configurat
( " script-blacklist-use " , bpo : : value < bool > ( ) - > implicit_value ( true )
- > default_value ( true ) , " enable script blacklisting " )
( " load-savegame " , bpo : : value < st d: : st ring> ( ) - > default_value ( " " ) ,
( " load-savegame " , bpo : : value < st ring> ( ) - > default_value ( " " ) ,
" load a save game file on game startup (specify an absolute filename or a filename relative to the current working directory) " )
( " skip-menu " , bpo : : value < bool > ( ) - > implicit_value ( true )
@ -137,7 +138,7 @@ bool parseOptions (int argc, char** argv, OMW::Engine& engine, Files::Configurat
( " fs-strict " , bpo : : value < bool > ( ) - > implicit_value ( true )
- > default_value ( false ) , " strict file system handling (no case folding) " )
( " encoding " , bpo : : value < st d: : st ring> ( ) - >
( " encoding " , bpo : : value < st ring> ( ) - >
default_value ( " win1252 " ) ,
" Character encoding used in OpenMW game messages: \n "
" \n \t win1250 - Central and Eastern European such as Polish, Czech, Slovak, Hungarian, Slovene, Bosnian, Croatian, Serbian (Latin script), Romanian and Albanian languages \n "