Resource icon
Varbsorb

Get rid of Virt-A-Mate Custom and Saves files that have been made available in a .var file. This will send duplicates to your recycle bin (you can empty it after once you're happy with the result) and update .json files so they reference .var files whenever possible.

Usage

First, make a backup. You never know!

In a command prompt (e.g. cmd or powershell):

> varbsorb.exe --vam C:\Vam

This will scan your Virt-A-Mate Saves and Custom folders as well as the .var packages in your AddonPackages folder. When it finds a file that exists in both the AddonPackages var files and your Saves/Custom folder, it will update the scene and delete the duplicated files.

Arguments:
  • --vam: The root path of Virt-A-Mate.
  • --include: Limit affected files to this path prefix, relative to vam (affects files that would be deleted or updated).
  • --exclude: Paths to skip, relative to vam (affects files that would be deleted or updated).
  • --verbose: Print more information.
  • --warnings: Print missing references found while scanning (usually broken scenes).
  • --noop: Does not actually delete or update anything.
  • --log: Log file operations to a file.
Note that if you don't specify the --vam argument, it will first check if it's in the same folder as VaM.exe. So if you have no idea how to run a command line tool, you can drop it in the Virt-A-Mate install folder and doube-click on it.

Gotchas

This will delete files on your system. Varbsorb tries very hard to ensure it's as safe as possible, but if you have symbolic links in your Saves or Custom folder, Varbsorb will follow them. You might want to make a backup of your Virt-A-Mate Saves and Custom folders, just in case (or add them to Git).

Folders starting with a "." such as ".git" will not be cleaned.

When multiple var version matches are found, the highest version will be selected. If multiple var packages are found, the one with the least files will be selected. The reasoning is if someone creates a var file with a look that contains morphs, textures and other things, but there's also a package that exists that only contains the textures, the latter is usually a better choice.
Author
Acid Bubbles
Downloads
2,406
Views
9,126
Version
v1.1.10
First release
Last update
Rating
5.00 star(s) 2 ratings

More resources from Acid Bubbles

Latest reviews

Trying to run this in powershell on windows 10:

The application to execute does not exist: 'C:\Users\<me>\AppData\Local\Temp\.net\varbsorb\pmmmxe4i.cu0\varbsorb.dll'.
Upvote 0
Very useful, but use this wisely i would recommend backup before running
Upvote 0
Back
Top Bottom