What can depend on vars?

Pharanesch

Member
Messages
25
Reactions
26
Points
13
To describe my question a bit more, I basically want find out anything that need some specific var to be present in the "AddonPackages" folder. Like, one var can depend on another, a preset in the custom folder can depend on a var. But are there more places?
And what are the easiest way of finding the dependencies? For var files, I can just look at dependency in meta.json. For presets, I currently think you have to just search through the file for any references to vars.
 
Any file storing an information can depend on a var. Anything: all presets, scenes, subscenes... everything : )

There is no way to find dependencies for "flat files" in VAM.
 
I'll try to figure out the different cases then. So far, a regex like r'"([^"]+):/[^"]*"' seems to find every var name in .vap files.
Will everything be placed in the custom folder as default? Presets, subscenes and the like?
I can see the Saves\scene folder contains .json, but those seem to fall under the same format as the .vap files.
 
You can simply do a "search in files" with notepad++ with .[0-9]+:/

This is how var path are made :
"assetUrl" : "hazmhox.thechristmasroom.1:/...."

So you just need to catch the ".1:/"
 
Back
Top Bottom