Page MenuHomeFeedback Tracker

[Feature request] Expose loaded client/server mod information and hashes
Closed, ResolvedPublic

Description

Description:
To be able to determine what mods a client has loaded, the information shown in the rpt log (mod name, modDir, default, official, origin, hash, hashSort) via a new SQF command as an array of mods with subarray for each mod with the said information.

Reasoning:
This would allow mod sync, as well as to determine what the client has currently loaded.

Important: fullPath should most likely not get exposed. If turned into a local path, it would be useful as it would indicate if its a workshop or a local mod (as origin shows "GAME DIR" for both).

Note: the (C)DLC ownership and install state could be useful too (separate command?).

Details

Severity
None
Resolution
Fixed
Reproducibility
N/A
Operating System
Windows 7
Category
Scripting
Additional Information

Mod data:

modsReadOnly = true // probably not needed - what does it indicate?
safeModsActivated = false // probably not needed - what does it indicate?
customMods = true // probably not needed - what does it indicate?

hash = 'C09F1418D587F28702C56395375C2BDCF19B33DC'
hashShort = '9a1e9f90'
                                              name |               modDir |    default |   official |               origin |                                     hash | hashShort | fullPath
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                     Community Base Addons v3.15.1 |              @CBA_A3 |      false |      false |             GAME DIR | 33eef5c0ed583d1222319460b184090513193287 |  131bbb64 | !Workshop\@CBA_A3
                         Iron Front in Arma 3 LITE |           @@WW2_LITE |      false |      false |             GAME DIR | b8e5906507f256b28232670825fc9ba60b576a47 |  c34822da | !Workshop\@@WW2_LITE
                Iron Front Terrains in Arma 3 LITE |  @@WW2_Terrains_LITE |      false |      false |             GAME DIR | 07e416ebd561a2f26c2c650fb43bf2a870d35280 |  f909556d | !Workshop\@@WW2_Terrains_LITE
                                @@WW2_I44_Terrains |   @@WW2_I44_Terrains |      false |      false |             GAME DIR | 9d671cdca427bc2d9dcb39ea8f625e08d6355654 |  3ac065a2 | !Workshop\@@WW2_I44_Terrains
                                       WW2 Objects |   @@WW2_Objects_LITE |      false |      false |             GAME DIR | 1d0a0b752343628d6e9c6b6398be3de6bcee7231 |  7326b4b4 | !Workshop\@@WW2_Objects_LITE


                         Arma 3 Contact (Platform) |                enoch |       true |       true |             GAME DIR | a4ee0aa9675b9578de2c2742dfa75f14b463b311 |  2c003588 | enoch
                                      Arma 3 Tanks |                 tank |       true |       true |             GAME DIR | f20f91e6d4de2f912c9aef10440b9f7cdd9186ba |  ee2006c9 | tank
                                    Arma 3 Tac-Ops |               tacops |       true |       true |             GAME DIR | e173f6dac22cbfba9a80f06ab6274f283a79ccf1 |  99fbe961 | tacops
                                Arma 3 Laws of War |               orange |       true |       true |             GAME DIR | 483d1b17bba31a73aca3382baca90726e5fb3b27 |  85779468 | orange
                                     Arma 3 Malden |                 argo |       true |       true |             GAME DIR | f70c5909dd0cf7f85041d1a6f8117fcddbefbeb4 |  119b97f7 | argo
                                       Arma 3 Jets |                 jets |       true |       true |             GAME DIR | 02935f9fd087965351eaf1af421fee2349cb46b7 |   a7400e7 | jets
                                       Arma 3 Apex |            expansion |       true |       true |             GAME DIR | ae333819e353cbcf64d25c1a18b182e1c48de485 |  dd4515be | expansion
                                   Arma 3 Marksmen |                 mark |       true |       true |             GAME DIR | 31fcc6f8175f2f8ca204c30f0d70656f23349084 |  afb3a14a | mark
                                Arma 3 Helicopters |                 heli |       true |       true |             GAME DIR | ed81c94ee14b0d6bcc0c09947bec1d80ac81285a |  fbdee859 | heli
                                      Arma 3 Karts |                 kart |       true |       true |             GAME DIR | 57fdc8d27afb5ec5890666c22efaa27555c6a60c |  be245321 | kart
                                       Arma 3 Zeus |              curator |       true |       true |             GAME DIR | 65c7e2c50ad25b4d727780b435533113ad1e9cf3 |  bb8e34f1 | curator
                                            Arma 3 |                   A3 |       true |       true |            NOT FOUND |                                          |           |

DLC data

---------------------------------------------------------- Dlcs ----------------------------------------------------------
 index                                                         name      appId   owned  installed  available   isDlc
     0                              Arma 3 Alpha Lite - expires now     228800      no         no         no     yes
     1                                                Arma 3 Server     233780     yes        yes         no     yes
     2                                                 Arma 3 Tools     233800     yes        yes         no     yes
     4                                            Arma 3 Soundtrack     249860      no         no         no     yes
     5                                                  Arma 3 Maps     249861      no         no         no     yes
     6                                        Arma 3 Tactical Guide     249862      no         no         no     yes
     7                                                  Arma 3 Zeus     275700     yes        yes        yes     yes
     8                                                 Arma 3 Karts     288520     yes        yes        yes     yes
     9                                           Arma 3 Helicopters     304380     yes        yes        yes     yes
    10                                          Arma 3 DLC Bundle 1     304400      no         no         no     yes
    11                                              Arma 3 Marksmen     332350     yes        yes        yes     yes
    12                                               Arma 3 Samples     390500     yes        yes         no     yes
    13                                                  Arma 3 Apex     395180     yes        yes        yes     yes
    14                                           Arma 3 Laws of War     571710     yes        yes        yes     yes
    15                                                  Arma 3 Jets     601670     yes        yes        yes     yes
    16                                          Arma 3 DLC Bundle 2     612480      no         no         no     yes
    17                                                Arma 3 Malden     639600     yes        yes        yes     yes
    18                                  Arma 3 Tac-Ops Mission Pack     744950      no         no        yes     yes
    19                                                 Arma 3 Tanks     798390      no         no        yes     yes
    20                                               Arma 3 Contact    1021790      no         no        yes     yes
    21   Arma 3 Creator DLC: Global Mobilization - Cold War Germany    1042220     yes        yes        yes     yes
    22                                    Arma 3 - Prague Content 2    1175380     yes        yes         no     yes

Event Timeline

kju-PvPscene updated the task description. (Show Details)
kju-PvPscene updated the task description. (Show Details)Jun 2 2020, 6:53 PM
Dscha added a subscriber: Dscha.Jun 2 2020, 6:55 PM
overflo added a subscriber: overflo.Jun 3 2020, 2:23 AM
dedmen added a project: Restricted Project.Jun 5 2020, 1:37 PM
dedmen moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jun 5 2020, 1:39 PM
dedmen set Ref Ticket to AIII-53002.Jun 7 2020, 2:54 PM
dedmen moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.

Related:

[Feature request] Extend modParams with modDir info

https://feedback.bistudio.com/T151841

getLoadedModsInfo ->

[
["CUP Units DEV Version r710 (r710-r710 UNITSSVN) (12|Jun|2020)","@[DEV] CUP Units",false,false,"GAME DIR","f3fb8a4c62443ac799c7c0e00f645b1f32cf1376","c96577b4","F:\Steam\SteamApps\common\Arma 3\!Workshop\@[DEV] CUP Units",0],
["CUP Weapons DEV Version r1486 (r1481-r1486 WEAPONSSVN) (12|Jun|2020)","@[DEV] CUP Weapons",false,false,"GAME DIR","6dbd7c052ce2ae68803e10f6a3653d0b046881d8","bb1c4965","F:\Steam\SteamApps\common\Arma 3\!Workshop\@[DEV] CUP Weapons",0],
["Community Base Addons v3.15.1","@CBA_A3",false,false,"GAME DIR","33eef5c0ed583d1222319460b184090513193287","131bbb64","F:\Steam\SteamApps\common\Arma 3\!Workshop\@CBA_A3",0],
["Arma 3 Contact (Platform)","enoch",true,true,"GAME DIR","a4ee0aa9675b9578de2c2742dfa75f14b463b311","2c003588","F:\Steam\SteamApps\common\Arma 3\enoch",1.02179e+006],
["Arma 3 Tanks","tank",true,true,"GAME DIR","f20f91e6d4de2f912c9aef10440b9f7cdd9186ba","ee2006c9","F:\Steam\SteamApps\common\Arma 3\tank",798390],
["Arma 3 Tac-Ops","tacops",true,true,"GAME DIR","e173f6dac22cbfba9a80f06ab6274f283a79ccf1","99fbe961","F:\Steam\SteamApps\common\Arma 3\tacops",744950],
["Arma 3 Laws of War","orange",true,true,"GAME DIR","483d1b17bba31a73aca3382baca90726e5fb3b27","85779468","F:\Steam\SteamApps\common\Arma 3\orange",571710],
["Arma 3 Malden","argo",true,true,"GAME DIR","f70c5909dd0cf7f85041d1a6f8117fcddbefbeb4","119b97f7","F:\Steam\SteamApps\common\Arma 3\argo",639600],
["Arma 3 Jets","jets",true,true,"GAME DIR","02935f9fd087965351eaf1af421fee2349cb46b7","a7400e7","F:\Steam\SteamApps\common\Arma 3\jets",601670],
["Arma 3 Apex","expansion",true,true,"GAME DIR","ae333819e353cbcf64d25c1a18b182e1c48de485","dd4515be","F:\Steam\SteamApps\common\Arma 3\expansion",395180],
["Arma 3 Marksmen","mark",true,true,"GAME DIR","31fcc6f8175f2f8ca204c30f0d70656f23349084","afb3a14a","F:\Steam\SteamApps\common\Arma 3\mark",332350],
["Arma 3 Helicopters","heli",true,true,"GAME DIR","ed81c94ee14b0d6bcc0c09947bec1d80ac81285a","fbdee859","F:\Steam\SteamApps\common\Arma 3\heli",304380],
["Arma 3 Karts","kart",true,true,"GAME DIR","57fdc8d27afb5ec5890666c22efaa27555c6a60c","be245321","F:\Steam\SteamApps\common\Arma 3\kart",288520],
["Arma 3 Zeus","curator",true,true,"GAME DIR","65c7e2c50ad25b4d727780b435533113ad1e9cf3","bb8e34f1","F:\Steam\SteamApps\common\Arma 3\curator",275700],
["Arma 3","A3",true,true,"GAME DIR","","","F:\Steam\SteamApps\common\Arma 3\A3",0]
]

The path and steamID at the end will not be possible tho. Paths could contain private info of the user, and I hoped the steamID would also be the workshop itemID of the thing... sad.

Nvm, workshop item ID's

[
["CUP Units DEV Version r710 (r710-r710 UNITSSVN) (12|Jun|2020)","@[DEV] CUP Units",false,false,"GAME DIR","f3fb8a4c62443ac799c7c0e00f645b1f32cf1376","c96577b4","887203548"],
["CUP Weapons DEV Version r1486 (r1481-r1486 WEAPONSSVN) (12|Jun|2020)","@[DEV] CUP Weapons",false,false,"GAME DIR","6dbd7c052ce2ae68803e10f6a3653d0b046881d8","bb1c4965","887202115"],
["Community Base Addons v3.15.1","@CBA_A3",false,false,"GAME DIR","33eef5c0ed583d1222319460b184090513193287","131bbb64","450814997"],
["Arma 3 Contact (Platform)","enoch",true,true,"GAME DIR","8fa14ecbb80ba87d1b643437d1dbe7687dbc0e16","2ebeb205","1021790"],
["Arma 3 Tanks","tank",true,true,"GAME DIR","922656e32ab1ffba1cb609a94156e4070606f330","f1bdf96a","798390"],
["Arma 3 Tac-Ops","tacops",true,true,"GAME DIR","3a978a0512ad56e2b6eb1b3ee382d6fd0e5db3e5","3ba6df15","744950"],
["Arma 3 Laws of War","orange",true,true,"GAME DIR","fd404a4823eb7e82ba2a4bf6b90d0572e827f702","caa6b963","571710"],
["Arma 3 Malden","argo",true,true,"GAME DIR","87d54843358b92653df24d651692aceb8e81f376","20e908ca","639600"],
["Arma 3 Jets","jets",true,true,"GAME DIR","7315dfa53d341f62df8c2fe96ee47c1c4cd39e82","4325bc4e","601670"],
["Arma 3 Apex","expansion",true,true,"GAME DIR","34826169c3ef4ed3928cbf4ff6eafaca0efb8128","de36e2c9","395180"],
["Arma 3 Marksmen","mark",true,true,"GAME DIR","876c3dff9822d8e3d978515b786a8f201fff0bb0","ac2c9552","332350"],
["Arma 3 Helicopters","heli",true,true,"GAME DIR","fc4d9bd3dd9407e4dd84d4d871e87dfc38b2cba0","9d495e30","304380"],
["Arma 3 Karts","kart",true,true,"GAME DIR","516153813147b7606c22dd89aaf492be72b69f82","2794af84","288520"],
["Arma 3 Zeus","curator",true,true,"GAME DIR","0cdb6541843d91f60c923d0dafb9d581543e2616","12094d13","275700"],
["Arma 3","A3",true,true,"GAME DIR","","","0"]
]
dedmen claimed this task.Jun 21 2020, 5:02 PM
dedmen changed the task status from New to Assigned.

@dedmen thanks a lot!

Paths could contain private info of the use

Possible to have a relative to Arma 3 game dir and if outside just the folder name?
Or otherwise "origin" to be fixed:

Important: fullPath should most likely not get exposed. If turned into a local path, it would be useful as it would indicate if its a workshop or a local mod (as origin shows "GAME DIR" for both).

Community Base Addons v3.15.1 |              @CBA_A3 |      false |      false |             GAME DIR | 33eef5c0ed583d1222319460b184090513193287 |  131bbb64 | D:\Games\Steam\steamapps\common\Arma 3\!Workshop\@CBA_A3
                         @EMM |                 @EMM |      false |      false |             GAME DIR | 679ce56c46ac9fa54f22f51b03562bf87beea1d9 |  1dab14b5 | F:\workspaceArma\sqf_serverbrowser\@EMM
                  @DevCon_old |          @DevCon_old |      false |      false |             GAME DIR | bcffe19e907671977b0992a9426676e7f7e39317 |  9a08ca72 | D:\Games\Steam\steamapps\common\Arma 3\@DevCon_old

Possible to have a relative to Arma 3 game dir and if outside just the folder name?

no. If you need to access the folder you could only do with a extension, and at that just search for a "origin" named folder in Arma dir and Arma/!Workshop dir.
A folderpath relative to Arma dir would in 90+% of cases just be !Workshop/origin or origin so don't see the need to add a entry.

dedmen moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jun 28 2020, 3:21 PM
dedmen closed this task as Resolved.Jun 28 2020, 3:25 PM
dedmen changed Resolution from Open to Fixed.