• Hi Guest!

    We are extremely excited to announce the release of our first Beta1.1 and the first release of our Public AddonKit!
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. For access to the Public AddonKit you must be a Creator tier member. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.
  • Hi Guest!

    VaM2 Resource Categories have now been added to the Hub! For information on posting VaM2 resources and details about VaM2 related changes to our Community Forums, please see our official announcement here.

VaM 1.x Additional dependencies occur during packaging

Threads regarding the original VaM 1.x

whitelemon

Well-known member
Joined
Jun 21, 2022
Messages
91
Reactions
513
As an independent look content creator, my scenes typically do not include dependencies from other authors' works. Throughout my workflow, the resources I have used mainly consist of textures from the jackaroo male base folder, as well as eye shadows and reflections from paledriver (with proper authorization). However, with the recent requirement to review package body dependencies for free VAR uploads, I have noticed that my projects contain various unused resources, such as assets related to vamx and splinevr. I am also a regular user of vamx and have installed numerous scenes created by other authors. I am uncertain whether this issue is caused by having too many scenes installed. I would appreciate it if any experts could provide clarification on this matter. Thank you.
 
Hair, clothing and morphs are the usual suspects for mushrooming dependency lists. Hair, especially seems to have so many duplicates on the hub that it's tricky to get the one from the original creator. If you just click the first one you see, it might be from somebody else's scene or look, which pulls in the whole scene. This causes tons of sub-dependencies. I looked at some of your older free looks. They have massive dependency lists, many of which are sub-dependencies. A simple look should not have > 100 dependencies.

What you have installed is only an issue in that you may have a lot of duplicate assets in there, leading to the above problem of not getting the original standalone item you wanted. The Package Builder only goes by what you put in the scene or look. You can examine the meta.json in the AddonPackagesBuilder folder after you create a var. It has all the info in there. If you see some referenced var with lots of stuff indented below that var's level, that's one of the culprits. You may have wanted only one item in that indented list, but it pulled in all of it, because you referenced the wrong one. The issue of duplicate content is one of Vam's serious weaknesses. As a content creator, it's up to you to be careful where you get your items to put in your scenes or looks.
 
Upvote 0
Try manually editing the scene.json and meta.json (of the .var). Just Ctrl+F to find the culprits in there. The structure and syntax of the meta.json is pretty simple and self explanatory.

Some resources have unnecessary sub dependencies listed which automatically get added to ones own dependencies when using them in a scene.

Imo manual editing is the best way to sort things out.
 
Upvote 0
Hand-editing json files is powerful, but there are land mines in there. The syntax is fairly simple, but easy to break. If you're going to do that, use a text editor that flags syntax errors in that format. In general, fixing the scene in Vam is still the best, IMO.
 
Upvote 0
Hand-editing json files is powerful, but there are land mines in there. The syntax is fairly simple, but easy to break. If you're going to do that, use a text editor that flags syntax errors in that format. In general, fixing the scene in Vam is still the best, IMO.
I find that rather often it isn't even possible to fix things properly within VAM. Stuff like badly packaged hair resources that have plugins, looks or whole scenes as dependencies. Only way to remove such things is manual editing.

Ofc things can break but we always can try again with a new copy of the scene or a new package.

Visual Studio Code is pretty good for the job. Syntax highlighting helps a lot with avoiding mistakes and understanding the block structure.
 
Upvote 0
Back
Top Bottom