arma2.cfg
Introduction
The arma.cfg or arma2.cfg or arma2oa.cfg or takeonh.cfg are configuration files containing detailed information about YOUR game setup.
Information such as language, LOD detail, resolution are stored in these files.
The config files are written after the game was run for first time and the system settings are detected.
The files itself are 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 .cfg file 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
- Take On Helicopters: The takeonh.cfg file is located in %userprofile%\Documents\Take On Helicopters\takeonh.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
Generic config
language="English"; | language selector |
adapter=-1; | determines the video adapter (and display connected to it) to use. Useful for systems with multiple displays. -1 is default adapter, 0 is first, 1 is 2nd etc. |
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 1 to 1000 (0==driver), May lower 'Mouse lag' 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 (ARMA2, OA has it since 1.57), 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; | setting not available in UI, Level of Alpha To Coverage Anti-Aliasing[1] (7=all enabled(default) or 0=disabled (normal AA prior AToC))
0 - disabled 1 - AToC on grass 2 - AToC on new OA trees (takistan, zargabad, proving ground, shapur) 4 - AToC on old A2 trees (utes, chernarus) // combined 3 - AToC on grass & OA trees 5 - AToC on A2 trees + grass 6 - AToC on A2 + OA trees 7 - AToC enabled on grass, A2 & OA trees (default) More detailed description by a community member. |
class sockets{maxPacketSize = 1490;}; | setting not available in UI Changing this value changes size of packet from default 1490 bytes to value chosen. This can be set for both client-to-server AND server-to-client(s) independently! see server(basic.cfg#Networking_Tuning_Options) |
ARMA 2: Operation Arrowhead
FXAA=0; | setting not available in UI. Default is Disabled. enables Anti-Aliasing technique via post processing [2]
0 - Disabled 1 - FXAA_QUALITY_PRESET_10 2 - FXAA_QUALITY_PRESET_11 3 - FXAA_QUALITY_PRESET_12 4 - FXAA_QUALITY_PRESET_13 5 - FXAA_QUALITY_PRESET_14 6 - FXAA_QUALITY_PRESET_15 7 - FXAA_QUALITY_PRESET_20 8 - FXAA_QUALITY_PRESET_21 9 - FXAA_QUALITY_PRESET_22 10 - FXAA_QUALITY_PRESET_23 11 - FXAA_QUALITY_PRESET_24 12 - FXAA_QUALITY_PRESET_25 13 - FXAA_QUALITY_PRESET_26 14 - FXAA_QUALITY_PRESET_27 15 - FXAA_QUALITY_PRESET_28 16 - FXAA_QUALITY_PRESET_29 17 - FXAA_QUALITY_PRESET_39 Complexity of quality settings are based on default FXAA settings (revision 3.11) |
FXAASharp=0; | Default is disabled (0), quality levels range from 1 to 6, where 6 is the sharpest filter
NOTE: FXAAsharpen is inactive while NightVision and Thermal Imaging are used. |
Take On Helicopters
SWLayersCount=64; | |
PiPEnabled=0; | Setting to enable/disable Picture in Picture |
Languages
Simply alter
Language="English";
to whatever language you may wish to have.
See Also
See username.arma2profile for information about personalized user settings.
Notes
- ↑ 1.0 1.1 Read Wikipedia article and GPU features list for more details
- ↑ 2.0 2.1 Read Author's blog about FXAA