User Tools

Site Tools


arma2:tools:queryaddons

ArmA 2 QueryAddons

ArmA 2 Forum, ArmA 2 Home, ArmA 2 Config, ArmA 2 File Formats, ArmA 2 Missions, ArmA 2 3D Modeling, ArmA 2 Scripting, ArmA 2 Terrain, ArmA 2 Texturing, ArmA 2 Tools

QueryAddons is to provide a list of addon dependencies for that mission.sqm or config.cpp/bin files.

QueryAddons works on individual files, folder(s), or pbo's.

QueryAddons works on mission.sqms and/or config.cpp/bin's.

Either of the file types can be raPified or normal text.

It inspects addons[]= and AddonsAuto[]= in mission.sqm. and RequiredAddons[]= in configs

Folder usage is similar. It's intent is to reflect an exploded, or, yet-to-be-made, pbo. Particularly useful for campaign inspection. The files are hunted recursively through all sub folders (if any).

PBO usage should be self explanatory, in that QueryAddons is looking inside, as if it were a folder tree.

Usage

QueryAddons [-options] File/Folder/OrPbo

Name can be

config.cpp or
config.bin or
mission.sqm or
NameOf[.pbo] or
NameOfFolder

Options (Optional)

-n csv Output\r\n");
-a List Addons (default)
(configs only)
-u Units
-w Weapons
-v RequiredVersion
-c ClassNames

Config options are aggregated, you can, specify:

QueryAddons -aucwv …..

Special considerations:

PBOs are NOT checked or looked for in folder tree mode. It would be illogical to list addons from more than one.

In the unlikely event that both a mission.sqm, AND, a config.cpp is encountered in a pbo or folder. BOTH will make up the list.

Comma Separated Output

CSV output (if any) is intended to feed a database, either directly, or, via pipe > .csv

Config options

Are only relevant when config.cpp/bins are encountered. The results of specifying them for mission.sqm's is in-determinate.

Requires DePbo.dll - Check Mikero tools homepage in Dev-Heaven.

arma2/tools/queryaddons.txt · Last modified: 2024/08/02 11:44 by snakeman

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.