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 [2011-07-23 06:24]
snakeman changed link name.
arma:startup_parameters [2011-11-06 16:50]
snakeman added maxmem parameter.
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.txt ยท Last modified: 2011-11-06 16:50 (external edit)