User Tools

Site Tools


arma:startup_parameters

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
arma:startup_parameters [2009-09-21 10:12]
snakeman added some stuff.
arma:startup_parameters [2011-11-06 16:50] (current)
Line 42: Line 42:
  
 ^ Parameter ^ Function ^ ^ Parameter ^ Function ^
-| -mod= | Allows you to subdivide your addons into different folders, folder names separated by semi-colons. See [[arma:modfolders|modfolders]] for more information. Under Linux you need to separate multiple folders like this: -mod=mod1\;​mod2\;​mod3 |+| -mod= | Allows you to subdivide your addons into different folders, folder names separated by semi-colons. See [[arma:moddirs|moddirs]] for more information. Under Linux you need to separate multiple folders like this: -mod=mod1\;​mod2\;​mod3 |
 | -cfg= | Selects a config file like your Server Basic Config file. Processed at startup. | | -cfg= | Selects a config file like your Server Basic Config file. Processed at startup. |
 | -config= | Selects a config file like your Server Config File. Processed after startup. Config file for server specific stuff like admin password and mission selection. | | -config= | Selects a config file like your Server Config File. Processed after startup. Config file for server specific stuff like admin password and mission selection. |
Line 106: Line 106:
  
 Note: Real speed-up gained with this is likely to be negligible with Armed Assault, as the loading screens are handled in parallel with the game data being loaded, and the loading itself takes quite long thanks to the amount of data needed. Note: Real speed-up gained with this is likely to be negligible with Armed Assault, as the loading screens are handled in parallel with the game data being loaded, and the loading itself takes quite long thanks to the amount of data needed.
 +
 +
 +====== ArmA 2 Startup Parameters Config File ======
 +
 +These settings only apply for ArmA 2 (does not work in Armed Assault).
 +
 +The config file can be used to put startup parameters in, instead of specifying them at a shortcut / command line.
 +
 +NOTE: low level parameters are NOT supported. .par file does not (and will not) support some low level parameters, like: -cpuCount, -malloc, -exthreads and -maxMem. The reason is those need to be initialized before any file operations are done.
 +
 +Pre ArmA 2 build v1.59.**86060**
 +
 +Location: Inside game directory.
 +
 +Naming depending on game: ArmA2.par or ArmA2OA.par.
 +
 +Format:
 +<code cpp>
 +class Arg
 +{
 +        startupParameter="​-startupParameter"​
 +        startupParameter2="​-startupParameter2=value1;​value2"​
 +};
 +</​code>​
 +
 +Example:
 +<code cpp>
 +class Arg
 +{
 +        nosplash="​-nosplash";​
 +        skipIntro="​-skipIntro";​
 +        world="​-world=none";​
 +        mod="​-mod=Expansion;​Expansion\beta;​Expansion\beta\Expansion;​x\vte";​
 +};
 +</​code>​
 +
 +Post ArmA 2 build v1.59.**86060**
 +
 +Location can be defined with -par=parameterFileName startup parameter. If file extension is .par the formatting described previously is required. With any other extension (like .txt) a plain text is assumed, with one command line option per line. In both cases the file is preprocessed before parsing, allowing C++ style comments and #define-s to be used.
 +
 +Format:
 +<​code>​
 +-startupParameter
 +-startupParameter2=value1;​value2
 +MissionFileToOpenInTheEditor
 +</​code>​
 +
 +Example:
 +<​code>​
 +-nosplash
 +-skipIntro
 +-world=none
 +-mod=Expansion;​Expansion\beta;​Expansion\beta\Expansion;​x\vte
 +"​c:​\arma2\Users\USERNAME\missions\MissionName.Desert_E\mission.sqm"​
 +</​code>​
arma/startup_parameters.1253527957.txt.gz ยท Last modified: 2009-09-21 10:12 (external edit)