Resource requires running a bat file. Make sure you trust the creator and apply your own security measures.

Private Hub Dependencies​

Keep large private VAR libraries outside your active VaM setup and copy only the dependencies you actually need.

A performance-focused extension of AutoGetDependencies by everlaster.
Screenshot 2026-09-18 193906.png


Features
  • Scan dependencies from package meta.json files
  • Scan dependencies from unpackaged saved scene .json files
  • Copy missing dependencies from private local VAR libraries
  • Support multiple private source folders
  • Support source folders and subfolders
  • Fast repeated local copies through the package index
  • Local version resolution options
  • Works alongside normal VaM Hub dependency handling
  • Keeps the active AddonPackages folder smaller and cleaner

Overview
PrivateHubDependencies is a VaM session plugin that extends AutoGetDependencies with private and local package sources.

It can scan dependencies from package meta.json files and normal unpackaged saved scene .json files. Missing packages can be copied from one or more private VAR libraries into AddonPackages, allowing large collections to stay outside the active VaM installation.

This is useful for private archives, backup libraries,
Screenshot 2026-09-18 193959.png
multi-installation setups, and any library that is too large to keep permanently in AddonPackages.


How It Works
VaM plugins are sandboxed and cannot directly access arbitrary external folders.

PrivateHubDependencies uses a helper junction / SymLink structure inside PluginData. This allows it to:

- access one or more private source folders
- search source folders and subfolders for matching VAR files
- copy required VAR files into AddonPackages
- rescan packages so VaM can recognize newly copied files

Source files are copied, never moved.


Fast Local Package Index

When Co
Screenshot 2026-09-18 191824.png
py local missing dependencies is used for the first time, the plugin scans all configured source folders and subfolders once and builds an in-memory index of available VAR packages.
Screenshot 2026-09-18 194129.png

Later local copy operations reuse this index, making dependency lookup much faster even with very large libraries. Progress and the final package and VAR count are shown in the plugin UI.
Use Rebuild local index after adding, removing, or changing VAR files in a source folder. The index is kept for the current VaM session and is rebuilt automatically when needed.

Local Version Resolution

Screenshot 2026-09-18 191909.png
The plugin offers three local version resolution modes:

- Exact versions only
- Exact first, otherwise newest
- Always newest available

These modes apply to packages found in the configured local sources.

Safety note:

The optional setup batch file creates junctions / SymLinks inside your VaM folder structure. This allows the plugin to read from configured private source folders and copy VAR files into AddonPackages.

Setup​

  1. Install the plugin as a VaM session plugin.
  2. Run CreatePrivateHubDependenciesSymLinks.bat, or create the required junction / SymLink structure manually.
  3. Add one or more private source folders when prompted.
  4. Load flurol.PrivateHubDependencies in VaM.
  5. Use Select scene/meta.json to scan a saved scene or package, or use Scan loaded scene.
  6. Select the desired Local version resolution mode.
  7. Click Copy local missing dependencies. The local package index is built automatically on first use.
  8. Click Rescan packages so VaM detects the copied VAR files.

Notes​

  • Source files are copied, not moved.
  • The plugin does not create junctions automatically; the batch file is an optional setup helper.
  • Use Rebuild local index after changing a local source folder.
  • The helper setup can be removed with RemovePrivateHubDependenciesSymLinks.bat.
  • Remove the SymLinks helper structure before packaging the plugin into a VAR.
  • Only use source folders and plugins you trust.

Credits & License​

Adapted from AutoGetDependencies by everlaster
Original license: CC BY 4.0
Original resource:
https://hub.virtamate.com/resources/autogetdependencies.51304/

Additional credits:
  • SymLinks / junction workflow inspired by BrowserAssist by JayJayWon
  • Includes MacGruber_Utils by MacGruber
  • Modified and extended by flurol

1777321703583.png


1777321907386.png


What the batch file does​

CreatePrivateHubDependenciesSymLinks.bat is a convenience setup tool. It does not modify private source files.

It creates this helper structure:

- Saves/PluginData/flurol/PrivateHubDependencies/SymLinks
- SymLinks/AddonPackages: junction to VaM's real AddonPackages folder
- SymLinks/Quelle: folder containing one or more source junctions such as Source1, Source2, and Source3

This lets the plugin access private source folders and copy matching VAR files into AddonPackages.

Manual setup alternative​

If you do not want to run the batch file, you can create the same structure manually.

Required structure​

Create this folder:

Saves/PluginData/flurol/PrivateHubDependencies/SymLinks

Inside it, create:

  • a junction named AddonPackages pointing to your real AddonPackages folder
  • a folder named Quelle
  • one or more source junctions inside Quelle, such as Source1, Source2, and Source3
Each source junction should point to one private VAR source folder.

Example structure​

Saves/PluginData/flurol/PrivateHubDependencies/SymLinks/AddonPackages
-> points to VaM/AddonPackages

Saves/PluginData/flurol/PrivateHubDependencies/SymLinks/Quelle/Source1
-> points to your first private source folder

Saves/PluginData/flurol/PrivateHubDependencies/SymLinks/Quelle/Source2
-> points to your second private source folder

Example commands​

Example Windows junction commands:
mklink /J "F:\VaM\Saves\PluginData\flurol\PrivateHubDependencies\SymLinks\AddonPackages" "F:\VaM\AddonPackages"
mklink /J "F:\VaM\Saves\PluginData\flurol\PrivateHubDependencies\SymLinks\Quelle\Source1" "F:\MyPrivateVars"
mklink /J "F:\VaM\Saves\PluginData\flurol\PrivateHubDependencies\SymLinks\Quelle\Source2" "F:\OtherPrivateVars"

The batch file simply automates this setup.
  Resource requires running a bat file. Make sure you trust the creator and apply your own security measures.
Images and attachments
  • 1777321491565.png
    1777321491565.png
    307.7 KB · Views: 0
  • 1777321601174.png
    1777321601174.png
    309.3 KB · Views: 0
  • 1777321874096.png
    1777321874096.png
    113.4 KB · Views: 0
React to this content...

Share this resource

Latest updates

  1. Version 3: Fast local package index and multi-source support

    Version 3 introduces a local package index for much faster dependency copies from large private...
  2. Added support for unpackaged scene .json dependency scanning

    This update adds support for unpackaged saved scene .json files. PrivateHubDependencies can now...
Back
Top Bottom