Home Artists Posts Import Register

Content

VAM Plugin: Delete Scenes & Appearances

A small plugin that adds a "Delete Scene" and "Delete Package" button when you press on the gear icon in the Select Scene dialog.

Update v1.3:
Added settings to backup packages and appearances (see bottom of page)

Update v1.2:
- Critical Fix: "Delete Package" has been removed from Appearances as it would undesirably delete all the Appearances

It also adds a "Delete Appearance" and "Delete Package" button when you press on the gear icon of a look / an appearance after you press the "Load Look..." button, see screenshots below.

This lets you conveniently delete all of the scenes and looks that you may have downloaded, but you don't like anymore, without the need to remove them manually with a file manager.

Delete Package

If you press the "Delete Package" button, then the whole Package (the .var file in the AddonPackages subdirectory), that the chosen scene or appearance is stored in, will be permanently deleted from your hard drive.

Please be aware that this will also delete all the other contents and dependencies that exist in that package (e.g. hair, clothes, etc.).

Delete Scene / Appearance

If you press the "Delete Scene" or "Delete Appearance" button, then the chosen scene or appearance will only be removed from the Package that it is stored in, but the other contents of the Package will remain untouched.

Basically, the zipped .var-Package will be extracted, then the chosen scene or appearance will be deleted and the .var-Package will be zipped into a .var-Package again.

Please note: as this is the first version of this plugin, I strongly recommend that you backup your packages first, before using the Delete function.


Update v1.1: Deletion of Packages is now also possible in the Hub Browser

Update v1.3: Added settings to backup packages and appearances.

Note: the backup is disabled by default. If you want to enable the backup, you need to add the settings script to your Session Plugins and tick the checkboxes for backing up Packages and/or Appearances.

Packages will be backed up from subfolder:
AddonPackages to: AddonPackagesDeleted.

Your own saved appearances will be backed up from:
Saves\Person\appearance to: AddonPackagesDeleted\Appearances

Appearances stored within packages will not be backed up.

Comments

Nagsugo

I dont have the delete appearance option, only delete scene and packages...

ASX500

Hi I can see the cog wheel and the option to delete scenes, however on the load up of VAM I get this error message !> Exception during compile of BepInEx/plugins/DeleteScenes.dll: System.Security.SecurityException: Security Check Failed (NamespaceRestriction) : [DeleteScenes, DeleteScenes.dll] : The namespace 'System.IO' is prohibited and cannot be referenced at DynamicCSharp.ScriptDomain.SecurityCheckAssembly (System.Byte[] assemblyData, Boolean throwOnError) [0x00000] in :0 !> Exception during compile of BepInEx/plugins/DeleteObsoletePackages.dll: System.Security.SecurityException: Security Check Failed (NamespaceRestriction) : [DeleteObsoletePackages, DeleteObsoletePackages.dll] : The namespace 'System.IO' is prohibited and cannot be referenced at DynamicCSharp.ScriptDomain.SecurityCheckAssembly (System.Byte[] assemblyData, Boolean throwOnError) [0x00000] in :0 Can also take a look in the 'Package Manager' .. I just removed a bunch as well. (Can delete directly in-game)

Reer15

Works as intended, I wonder if you can add "installed tab" in hub section. Because right now, my only option to browse installed hairs\clothes is through package manager without icons and hub description :(