VaM AddonPackages Scanner & Cleanup Tool

Plugins + Scripts VaM AddonPackages Scanner & Cleanup Tool

Download [<1 MB]

Bplus

Active member
Joined
Jul 11, 2023
Messages
49
Reactions
159
Bplus submitted a new resource:

VaM AddonPackages Scanner & Cleanup Tool - AddonPackages, Python

VaM AddonPackages Excel Scanner & Cleanup Tool

Are you tired of being flooded with red "Missing Dependency" errors every time you start Virt-A-Mate? Do you want to clean up your AddonPackages folder but aren't sure which .var files are safe to remove without breaking other packages?

This lightweight Python tool brings order to your VaM chaos! It scans your entire AddonPackages folder (without extracting any files) and generates a highly organized, filterable Excel...

Read more about this resource...
 
Two questions (for now):
Does it make any changes to AddonPackages, or just scan and report?
Does it work on packages that have been extracted to a folder with the same name as the var? (AddonPackages/ThisUsedToBeA.var/...)

Edit: The first question answers itself. All deletion is under user control. The script does not support folders with a valid meta.json It flags them as invalid, probably because it's always trying to unzip them.
 
Last edited:
Two questions (for now):
Does it make any changes to AddonPackages, or just scan and report?
Does it work on packages that have been extracted to a folder with the same name as the var? (AddonPackages/ThisUsedToBeA.var/...)

Edit: The first question answers itself. All deletion is under user control. The script does not support folders with a valid meta.json It flags them as invalid, probably because it's always trying to unzip them.
Hi SlimerJSpud, no, as you've already noticed, the script doesn't delete anything on its own. You have to actively delete the packages yourself. The script is just there to help you avoid tripping yourself up and constantly creating new missing dependencies when deleting packages. Version 1 only works with .var files. I’ve now modified the script, and if you have extracted .var files in a folder, you can now run the script in that folder as well.
 
Bplus updated VaM AddonPackages Scanner & Cleanup Tool with a new update entry:

Works now with extracted VAR files

You can now also scan extracted VAR files that are located in a folder. Important note! Only the files in the respective folder are taken into account. So if you have extracted VAR files that reference packages you haven't extracted, or that are located in a different folder, these will be classified as “missing packages.”

Read the rest of this update entry...
 
Bplus updated VaM AddonPackages Scanner & Cleanup Tool with a new update entry:

new feature

🚀 Update v3: The new "Expert Mode"!​

I've heavily reworked the script for this update to make it smarter and turn it into a true interactive Package Manager.

Here is the new highlight of this version:

🌟 NEW: The "Expert Mode" TabI added a third tab to the GUI that clearly lists every single package in your folder. This mode was specifically built so you can finally get rid of unwanted packages without blindly triggering a dependency crisis!

  • The...

Read the rest of this update entry...
 
It recognizes folders of unpacked vars now, but for me, it's not very useful. I often download scenes that call old versions of plugins. I usually don't let Vam download these old versions. Instead, I mark the package in package manager to ignore missing dependency errors. Then, I can play the original version of the scene without some asset I really didn't want, or an old plugin when the new one works better. What this means is that in order for your script to not mark such scenes as safe to delete, it would have to look for a corresponding file in AddonPackagesUserPrefs, looking for the line "ignoreMissingDependencyErrors" : "true". I'm not asking you to implement that. That's just my way of dealing with dependency hell, and keeping clutter out of my install.

I use a version of a Python script called List_Deps.py. It's more complicated to use. It tells me what other things call some asset it matched to a string.
 
Back
Top Bottom