Fandom

武装突袭 Wiki

Startup Parameters Config File

简体 | 繁體

4,827个页面创建
于此维基上
添加新页面
评论0 Share

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

The config file can be used to put startup parameters in, instead of specifying them at a shortcut/commandline.

Note 编辑

 ! NOTE: low level parameters are NOT supported.

.par file does not (and will not) support some low level parameters, namely:

  • -cpuCount
  • -malloc
  • -exthreads
  • -maxMem=

The reason is those need to be initialized before any file operations are done.

Pre build 86060 编辑

Location 编辑

Inside game folder

Naming 编辑

Depending on game:

  • ArmA2.par
  • ArmA2OA.par
  • TakeOnH.par


Format 编辑

class Arg
{
    startupParameter="-startupParameter"
    startupParameter2="-startupParameter2=value1;value2"
};

Example 编辑

class Arg
{
    nosplash="-nosplash";
    skipIntro="-skipIntro";
    world="-world=none";
    mod="-mod=Expansion;Expansion\beta;Expansion\beta\Expansion;@cwr2";
};

Post build 86060 编辑

Location 编辑

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 编辑

-startupParameter
-startupParameter2=value1;value2
MissionFileToOpenInTheEditor

Example 编辑

-nosplash
-skipIntro
-world=none
-mod=Expansion;Expansion\beta;Expansion\beta\Expansion;@cwr2
"c:\arma2\Users\USERNAME\missions\MissionName.Desert_E\mission.sqm"

External links 编辑

Feature is discussed here by Suma

更多维基

随机维基