/iHV

(Unofficial) VAR file management for Virt-A-Mate (VAM) software. Manage versions, manage duplicate content, and automate global preferences using open, editable Powershell scripts.

Primary LanguageRich Text FormatCreative Commons Zero v1.0 UniversalCC0-1.0

iHV

VAR file management for Virt-A-Mate (VAM) software. Manage versions, manage duplicate content, and automate global preferences using open, editable Powershell scripts.

Utilities for File Management

Pick one or more. You don’t have to use all. Though, there are some dependencies between them.

The following script works only with VAR & archive files

  1. RationalizeVARversions.ps1 – remove previous versions of VAR files.

The following scripts don’t work with VAR files. Content must first be extracted from VARs for the scripts to work.

  1. RemoveVarPaths.ps1 –enable VAM to find resources that have been extracted/moved out VARs.

  2. Normalize4VR.ps1 – Big dog changes. See _0a iHate VARS README.rtf file above.

Once one of the above scripts is run, you can use:

  1. Normalize4VR-CleanUp.ps1 – remove empty/duplicate items after running NormalizeVAM4VR.ps1 (see attached .RFT file)

  2. MoveDupScenes.ps1 – move duplicates to a recycle bin.

  3. MoveUnusedFiles.ps1 – move “orphaned” resources that are not linked to a VAM instruction file

  4. NormalizeFolder.ps1 –flatten folders by moving content from subfolders into the parent folder

  5. VerifyPaths.ps1 – scans VAM instruction files for dependencies and tells you what’s missing

Requirements

  • Windows PowerShell must be installed and authorized for use on your device
  • PowerShell editor (e.g., Notepad+, I suggest Windows PowerShell ISE)
  • JSON editor (e.g., Notepad+, I suggest Sublime Text as some of the VAM files are large)
  • Zip file manager (e.g., WinRAR, 7Zip)
  • .NET must be installed for the Normalize scripts
  • Some knowledge about JSON structures and about VAR and VAM file architecture
  • Some knowledge about PowerShell – more if you wish to tune the scripts safely