Author: Mikero
All Mikero tools 'behave', install, and operate in an identical manner. You are strongly advised to read the General Readme once.
QueryAddons works on individual files, folder(s), or pbo's.
QueryAddons works on mission.sqms and/or config.cpp/bin's.
file types can be raPified or normal text.
The default use of QueryAddons is to provide a list of addon dependencies for that mission.sqm or config.cpp/bin.
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 thru all sub folders (if any)
Pbo usage should be self explanatory, in that QueryAddons is looking inside, as if it were a folder tree.
A no nonsense auto installer saving you sweat and tears.
Do not run this, or any tool from bis, as administrator.
'Admin' is not what you think it is, it is an alias for 'Microsoft Office Use only'.
Consider yourself warned.
Grab the self installers for these here
QueryAddons [-options] File/Folder/OrPbo
Options are case insensitive.
Name can be:
-n
| Csv output-a
| List addons (default)for configs only
-u
| Units-w
| Weapons-v
| RequiredVersion-c
| ClassName(s) of the addon-p
| Don't pauseConfig options are aggregated, you can specify
QueryAddons -aucwv
for example.
> cd "\Arma 3\Addons"
> queryaddons -c air_f_epc.pbo
> queryaddons Version 1.83, Dll 9.10 "air_f_epc.pbo"
testing config.bin
testing Plane_CAS_01\config.bin
testing Plane_CAS_02\config.bin
testing Plane_Fighter_03\config.bin
:ClassNames:
A3_Air_F_EPC
A3_Air_F_EPC_Plane_CAS_01
Plane
Plane_Base_F
Plane_CAS_01_Canopy_F
Ejection_Seat_Plane_CAS_01_base_F
B_Ejection_Seat_Plane_CAS_01_F
Plane_CAS_01_base_F
Plane_CAS_01_dynamicLoadout_base_F
B_Plane_CAS_01_F
B_Plane_CAS_01_dynamicLoadout_F
A3_Air_F_EPC_Plane_CAS_02
Plane_CAS_02_Canopy_F
Ejection_Seat_Plane_CAS_02_base_F
O_Ejection_Seat_Plane_CAS_02_F
Plane_CAS_02_base_F
Plane_CAS_02_dynamicLoadout_base_F
O_Plane_CAS_02_F
O_Plane_CAS_02_dynamicLoadout_F
A3_Air_F_EPC_Plane_Fighter_03
done
Press the ANY key
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.
Csv output (if any) is intended to feed a database, either directly, or, via pipe > .csv
If csv is specified, the type of query (units,weapons eg) is not listed
Config options are only relevant when config.cpp/bins are encountered.
The results of specifying them for mission.sqm's is in-determinate.