A repost from VAM forum, you might find it interesting:
Being sick of lots of missing resources in VAM error log (due to saves from Easy Mate) I've created a simple tool, that fixes a lot of problems. Currently:
- it gathers all "cs", "cslist", "dll", "png", "tif", "vmb", "vap", "vaj", "vmi", "vam", "vac", "assetbundle", "mp3", "wav" file locations and searches all "url", "uid", "genitalsSpecularUrl", "genitalsGlossUrl", "genitalsNormalUrl", "id", "assetUrl", "faceDiffuseUrl", "torsoDiffuseUrl", "limbsDiffuseUrl", "faceDecalUrl" tags in JSONs for missing files and repoints them to existing copies found elsewhere inside VAM folder OR var packages.
- it copies around missing vmi to vmb or vice-versa.
- lists missing dependencies it can't handle
- It can also scan another directory/repository of unused saves/customs/addon packages and tell you (and soon copy automatically) missing resources into your "live" VaM folder.
So far I've had no problems with it (apart with missing timeline versions, which I repointed manually to newest timeline, which didn't really help) and now I have VaM without dangling references!
The question is - any more tags I should scan for paths? Any more file extensions?
Example output of a session (not much to see, as many deps have been already fixed):
Examining and fixing morphs ======================
E:\Games2\VAM\Custom\Atom\Person\Morphs\female\AUTO\Button InOut.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\female\AUTO\Button Size.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\female\AUTO\LY_Lumikki_Nipple.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\female\Breast Control for Genesis 2 Female(s)\Areola UpDown.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\female\Button Height.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\female\Chest-Mods\!Breast Width.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\female\Chest_Reloaded\Nipples_04_Small.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\female\DAZ\Clarissa\Clarissa Body.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\female\EasyFeet\G3F_SFD_FC_BF_DorsumShape.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\female\Feet 2.0\Left Big Toe Out.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\female\Feet 2.0\Left Pinky Out.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\female\Feet 2.0\Right Big Toe Out.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\female\Feet 2.0\Right Pinky Out.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\female\YY\Muscularity for Genesis 2 Female\CTRLMuscularityOnSWM.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\female_genitalia\Daryl-b1a15389-Genital.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\female_genitalia\Varla-30cfa2af-Genital.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\male\SimonWM\Muscularity for Genesis 2 Male\CTRLMuscularityOnSWM.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\male\SimonWM\Muscularity for Genesis 2 Male\PBMExternalObliqueThoraicicSWM.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\male_genitalia\AUTO\Base Up-Down.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\male_genitalia\Base_Girth.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\male_genitalia\GensMorphsControls\Male_genitalia\Base Up_Down.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\male_genitalia\X_Girth.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\male_genitalia\X_Lenght.vmi - MISSING vmb counterpart!
E:\Games2\VAM\Custom\Atom\Person\Morphs\male_genitalia\X_Size.vmi - MISSING vmb counterpart!
Examining refs in saves ======================
Plugin E:\Games2\VAM\Saves\Scene\Reddituser4616\threesome dark bedroom scenes\Menu.json refers non existing Custom\Textures\geesp0t\Main Menu\Person_2_Right_Right.png
Plugin E:\Games2\VAM\Saves\Scene\Unknown\Double BJ\Double BJ.json refers non existing Custom\Assets\stripclub privè.assetbundle
Missing resources list ==============================
Custom\Textures\geesp0t\Main Menu\Person_2_Right_Right.png
Custom\Assets\stripclub privè.assetbundle
Packages with missing resources ==============================
E:\Games2\VAM\Saves\Scene\Reddituser4616\threesome dark bedroom scenes\Menu.json
E:\Games2\VAM\Saves\Scene\Unknown\Double BJ\Double BJ.json