Arma 3 Scripting

Arma 3: Diagnostics Exe

  • Also known as Arma 3 Diagnostics Exe, diag

Topic · Markdown · JSON · original wiki page

Basic information

Author: Bohemia Interactive

Compatibility: Arma 3 Official Tools

Download: Part of Arma 3 Development branch on Steam. If you are using DEV branch, arma3diag_x64.exe should be in the Arma 3 main directory already.

Description

Description:

This special executable aims to help community creators in tweaking their addons. It contains various diagnostic tools that display the current game state in various conditions. See also: Performance Profiling. Extra commands available can be found here: Arma 3: Scripting Commands: Diagnostic Branch.

Note

Some commands might also be available with Performance Profiling.

Notes: This exe has multiplayer disabled on purpose. There is no way to use this executable in multiplayer as this functionality has been removed completely.

Usage

Line call: arma3diag_x64.exe

Licenses

Licensing: Bohemia Interactive End User License Agreement

Additional information

How to use it

Simply run the exe as you would use the standard arma3.exe. For example to perform diag on a PBO, add it as a launch parameter (-mod=@YOURMOD)

Once the game is loaded, go into the editor and select 'Virtual Reality'.

There are several diagnostics to be toggled by either using the diag_toggle command or setting diag_enable to true, e.g.:

diag_toggle "Animation";

"Animation" diag_enable true;
"All" diag_enable true;
"All" diag_enable false;

List of available diagnostics:

There is an additional diagnostic command used to adjust (by merging) configs on-the-fly without the need of restarting the game (Warning: there are some minor issues like CTD while exiting the game):

diag_mergeConfigFile ["PathToConfigOnDrive"];

It merges config file from "PathToConfigOnDrive" (which must be absolute path to the config including the drive - e.g. O:\Arma3\A3\Stuff_F\config.cpp)

It is possible to update rvmats and textures on-the-fly while using "local data" - unpacked data in the same structure as the game sees them. You simply need to adjust rvmats or textures and it should affect the game as soon as you task back into it. There may be some visual artifacts; it is always worth to give it one more go with packed data.