Dependency Manager [Download Link]

Tyrelio

Member
Dec 2, 2020
106
38
(COVER ART)

Quite often you come across var archives with dependencies that are not freely available, and you have to either endure the Error Log or manually cut them out of meta.json.

1737817829967.png

This is how this mini-script was born, it is written in Python, so the interface is lame, but it does its job.

So, how it works:

1) Copy all the text from the Error Log and click Process. Packages with missing dependencies will be displayed below.
2) Specify the folder containing var - \VAM\AddonPackages and click Choose. The script will search for packages containing missing files.
3) Select the archive and click Open - A brief summary with dependencies from the meta.json file from the archive will be displayed on the right and dependencies that are missing will be highlighted in red.
The meta.json from the archive will be unzipped to the folder that was selected above.
4) In the window on the right, you can select the dependencies that you want to exclude from the archive and click the Remove Selected button, or delete all missing ones by clicking Remove All.
5) Click the Save button. If you do not click it, no changes will be made to meta.json.



1737819627671.png

After clicking the save button, you can reopen the archive and make sure that the missing dependencies have been removed.


1737819684077.png

They are not in the meta,json itself either:
1737819721452.png

Aaaand, it's clean here:

1737820535665.png


Link:
Inside exe file and py script with comments.


During debugging, there were cases when the modified package was damaged, and because of this, VAM may stop seeing all other packages. To solve this, this package had to be downloaded again, so for your own peace of mind, a backup is desirable
 

Boss963

Snake
Uploader
Donor
Oct 7, 2022
9,219
51,831
Moved to Tools & Tutorials. I appreciate the idea though I see no point, you are silencing the error, not fixing it.
 
  • Like
Reactions: yasolori