arma2.cfg: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (AToC AA supported since build 77707)
Line 77: Line 77:
|-
|-
| Vsync=1; || Option to disable V-sync(Vertical synchronization, 1=enabled(default) or 0=disabled)
| Vsync=1; || Option to disable V-sync(Vertical synchronization, 1=enabled(default) or 0=disabled)
|-
| ATOC=7; || Level of Alpha To Coverage AA (Vertical synchronization, 7=all enabled(default) or 0=disabled (normal AA prior ATOC))
binary value, 111 == 7
1st bit = AToC on grass
2nd bit = AToC on A2 trees
3rd bit = AToC on OA trees
// standalone
0 - disabled
1 - grass
2 - new OA trees (takistan, zargabad, proving ground, shapur)
4 - old A2 trees (utes, chernarus)
// combined
3 - grass & OA trees enabled
5 - A2 trees + grass
6 - A2 + OA trees
7 - all enabled (default)
|}
|}



Revision as of 00:22, 28 January 2011

Introduction

The arma2.cfg file is a configuration file containing detailed information about YOUR game setup. Information such as language, LOD detail, resolution are stored in this file. The arma2.cfg file is written after the ARMA 2 was run for first time and the system settings are detected. The file itself is just as editable in a text file. The content format is

variable = value;

Warning : Use in-game UI options to configure game instead editing this file, unless You know what You doing.

Note: All changes via in-game UI options are saved into arma2.cfg on successful game exit.

Location

  • Armed Assault: The arma.cfg file is located in %userprofile%\Documents\ARMA\arma.cfg.
  • Armed Assault 2: The arma2.cfg file is located in %userprofile%\Documents\ARMA 2\arma2.cfg.
  • Operation Arrowhead: The arma2oa.cfg file is located in %userprofile%\Documents\ArmA 2 Expansion\arma2oa.cfg.

Custom Name and Location

You can change the naming with the startup parameter -cfg=<string>.

-cfg=myGameSettings.cfg

The file will be then located in your game directory instead.

 c:\arma2\myGameSettings.cfg

Example

language="English"; language selector
adapter=-1; written by engine each start, changing it manually has no effect!
3D_Performance=93750; written by engine each start, changing it manually has no effect!
Resolution_Bpp=32; bit per pixel depth of output
Resolution_W=1920; interface resolution width in fullscreen
Resolution_H=1200; interface resolution height in fullscreen
refresh=60; monitor refresh rate in fullscreen
Render_W=2400; 3D rendered resolution width in fullscreen
Render_H=1500; 3D rendered resolution width in fullscreen
FSAA=0; full screen antialiasing level
postFX=0; post processing level
GPU_MaxFramesAhead=1000; setting not available in UI, supported values 0 to 1000, Might help limit 'Mouse lag' caused by GPU render ahead buffer
GPU_DetectedFramesAhead=3; written by engine each start, changing it manually has no effect!
HDRPrecision=8; setting not available in UI, supported values are 8(default), 16 and 32. Defines bit depth precision for HDR.
lastDeviceId=""; written by engine each start, changing it manually has no effect!, might be blank
localVRAM=1063723008; written by engine each start, changing it manually has no effect!
nonlocalVRAM=1878616064; written by engine each start, changing it manually has no effect!
winX=470; position of window in X axis
winY=64; position of window in Y axis
winW=1440; interface resolution width in window
winH=900; interface resolution height in window
winDefW=1440; 3D rendered resolution width in window
winDefH=900; 3D rendered resolution height in window
Windowed=0; written by engine each exit, depend on state in last run (1=windowed or 0=fullscreen)
Vsync=1; Option to disable V-sync(Vertical synchronization, 1=enabled(default) or 0=disabled)
ATOC=7; Level of Alpha To Coverage AA (Vertical synchronization, 7=all enabled(default) or 0=disabled (normal AA prior ATOC))
binary value, 111 == 7
1st bit = AToC on grass 
2nd bit = AToC on A2 trees
3rd bit = AToC on OA trees
// standalone
0 - disabled
1 - grass
2 - new OA trees (takistan, zargabad, proving ground, shapur)
4 - old A2 trees (utes, chernarus)
// combined 
3 - grass & OA trees enabled
5 - A2 trees + grass
6 - A2 + OA trees
7 - all enabled (default)

Languages

Simply alter

Language="English";

to whatever language you may wish to have.

See Also

See username.arma2profile for information about personalized user settings.