• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. 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.
Resource icon

Plugins + Scripts Varbsorb

Go to download
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.

More resources from Acid Bubbles

Share this resource

Latest reviews

Positive
Version: v1.1.10
Posted:
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
Positive
Version: v1.1.10
Posted:
Very useful, but use this wisely i would recommend backup before running
Upvote 0
Back
Top Bottom