VAR Manager

Other VAR Manager

That doesn't make any sense. This project is targeting .NET 7.0
Where did you see this? I'm looking through the code and everything is pointing to .NET 7.0
1698427416166.png


And after installing it. It worked.

Edit: I used the source in the .zip from the release.
Just a idea: It could be the check at the start that checks if version 5 is installed, but the build target is 7.

Edit2: Just did a grep on the source and opend dotpeek all say it's .net 5:
Code:
$ grep 'net5.0' -R *
VAMvarmanager-1.0.25/VAMvarmanager/VAMvarmanager - Backup.csproj:    <TargetFramework>net5.0-windows</TargetFramework>
VAMvarmanager-1.0.25/VAMvarmanager/VAMvarmanager.csproj:    <TargetFramework>net5.0-windows</TargetFramework>

JSON:
{
  "runtimeTarget": {
    "name": ".NETCoreApp,Version=v5.0/win-x64",
    "signature": ""
  },
  "compilationOptions": {},
  "targets": {
    ".NETCoreApp,Version=v5.0": {},
    ".NETCoreApp,Version=v5.0/win-x64": {
      "VAMvarmanager/1.0.25": {
        "runtime": {
          "VAMvarmanager.dll": {}
        }
      }
    }
  },
  "libraries": {
    "VAMvarmanager/1.0.25": {
      "type": "project",
      "serviceable": false,
      "sha512": ""
    }
  }
}

JSON:
{
  "runtimeOptions": {
    "tfm": "net5.0",
    "framework": {
      "name": "Microsoft.WindowsDesktop.App",
      "version": "5.0.0"
    },
    "configProperties": {
      "System.Reflection.Metadata.MetadataUpdater.IsSupported": false
    }
  }
}
 
Last edited:
View attachment 300576

And after installing it. It worked.

Edit: I used the source in the .zip from the release.
Just a idea: It could be the check at the start that checks if version 5 is installed, but the build target is 7.

Edit2: Just did a grep on the source and opend dotpeek all say it's .net 5:
Code:
$ grep 'net5.0' -R *
VAMvarmanager-1.0.25/VAMvarmanager/VAMvarmanager - Backup.csproj:    <TargetFramework>net5.0-windows</TargetFramework>
VAMvarmanager-1.0.25/VAMvarmanager/VAMvarmanager.csproj:    <TargetFramework>net5.0-windows</TargetFramework>

JSON:
{
  "runtimeTarget": {
    "name": ".NETCoreApp,Version=v5.0/win-x64",
    "signature": ""
  },
  "compilationOptions": {},
  "targets": {
    ".NETCoreApp,Version=v5.0": {},
    ".NETCoreApp,Version=v5.0/win-x64": {
      "VAMvarmanager/1.0.25": {
        "runtime": {
          "VAMvarmanager.dll": {}
        }
      }
    }
  },
  "libraries": {
    "VAMvarmanager/1.0.25": {
      "type": "project",
      "serviceable": false,
      "sha512": ""
    }
  }
}

JSON:
{
  "runtimeOptions": {
    "tfm": "net5.0",
    "framework": {
      "name": "Microsoft.WindowsDesktop.App",
      "version": "5.0.0"
    },
    "configProperties": {
      "System.Reflection.Metadata.MetadataUpdater.IsSupported": false
    }
  }
}

This code is old (version 25) latest is 37
I didn't do a full release on github for each version, let me do that.
 
View attachment 300576

And after installing it. It worked.

Edit: I used the source in the .zip from the release.
Just a idea: It could be the check at the start that checks if version 5 is installed, but the build target is 7.

Edit2: Just did a grep on the source and opend dotpeek all say it's .net 5:
Code:
$ grep 'net5.0' -R *
VAMvarmanager-1.0.25/VAMvarmanager/VAMvarmanager - Backup.csproj:    <TargetFramework>net5.0-windows</TargetFramework>
VAMvarmanager-1.0.25/VAMvarmanager/VAMvarmanager.csproj:    <TargetFramework>net5.0-windows</TargetFramework>

JSON:
{
  "runtimeTarget": {
    "name": ".NETCoreApp,Version=v5.0/win-x64",
    "signature": ""
  },
  "compilationOptions": {},
  "targets": {
    ".NETCoreApp,Version=v5.0": {},
    ".NETCoreApp,Version=v5.0/win-x64": {
      "VAMvarmanager/1.0.25": {
        "runtime": {
          "VAMvarmanager.dll": {}
        }
      }
    }
  },
  "libraries": {
    "VAMvarmanager/1.0.25": {
      "type": "project",
      "serviceable": false,
      "sha512": ""
    }
  }
}

JSON:
{
  "runtimeOptions": {
    "tfm": "net5.0",
    "framework": {
      "name": "Microsoft.WindowsDesktop.App",
      "version": "5.0.0"
    },
    "configProperties": {
      "System.Reflection.Metadata.MetadataUpdater.IsSupported": false
    }
  }
}

See latest release:
 
I create folders with new audio every so often to be used in new scenes. Over time many of the added files (music, effects, atmospheric) were not used in any scene creating a huge mess of unused files. Opening every scene to determine what audio file(s) is used then annotating the finding is an option but would be a very tedious task. Can this be used to locate unused audio (mp3, ogg, wav) files?
 
I create folders with new audio every so often to be used in new scenes. Over time many of the added files (music, effects, atmospheric) were not used in any scene creating a huge mess of unused files. Opening every scene to determine what audio file(s) is used then annotating the finding is an option but would be a very tedious task. Can this be used to locate unused audio (mp3, ogg, wav) files?

Nope, sorry for that! Not in the scope of VAR Manager.
 
This tool is absolutely amazing. It helps a lot with managing large .var collections. Thanks for making it!
 
Hey @bill_prime how does the Morph Preset Maker work? If I create a preset, what does it do?

Thank you very much for this EPIC tool!

EDIT: in testing some of my session and other used plugins were removed and not sure how to fix
 
Last edited:
@bill_prime , love your tool, been using it for years - thank you

Recently i had some file corruption and out of my ~15k vars about 1,000 were bad. Var Manager currently has the popup to identify "bad" or "corrupt" vars, would it be possible to add an option to MOVE those to a folder or recycling bin? I think this could be helpful in identifying what vars need to be deleted or re-downloaded in the event of damage or file corruption.

Thanks again for this great tool
 
Hey @bill_prime how does the Morph Preset Maker work? If I create a preset, what does it do?

Thank you very much for this EPIC tool!

EDIT: in testing some of my session and other used plugins were removed and not sure how to fix
Morph Preset Maker
  • Quickly create and save Morph Presets from one or more selected vars
  • Lists all vars with morphs and shows the number of morphs in each var
  • Filter to show only vars with default preload morphs on the package
  • Filter to sort vars by number of morphs
Basically, it will create a morph preset containing ALL of the morphs in the selected var(s).
You can set the default value for the morphs that will be saved in the Morph Preset, and can also save the Morph Preset as an Overlay preset.

This tool is VERY handy if you disable pre-load morphs on your vars, but still want to use those morphs sometimes. For example AshAuyrn's various expression .vars.
 
@bill_prime , love your tool, been using it for years - thank you

Recently i had some file corruption and out of my ~15k vars about 1,000 were bad. Var Manager currently has the popup to identify "bad" or "corrupt" vars, would it be possible to add an option to MOVE those to a folder or recycling bin? I think this could be helpful in identifying what vars need to be deleted or re-downloaded in the event of damage or file corruption.

Thanks again for this great tool

This is a good idea, I can create a new folder in the VAM directory called _brokenvars and ask the user if they would like to move the files there.
I'm not sure when I'll have time to add that, but it sounds like it might be worth doing.
 
This is a good idea, I can create a new folder in the VAM directory called _brokenvars and ask the user if they would like to move the files there.
I'm not sure when I'll have time to add that, but it sounds like it might be worth doing.
No rush, wouldn't have even thought of it if it hadn't happened to me. I have a 20tb raid 5 and had an ungraceful shutdown, but caching is TURNED OFF so it's odd that it even happened
 
I did "Move Old Versions..." and "Backup Unreferenced vars" and "Backup all Specific-Type vars" (after checking OR for each type), and I went from ~5000 to 291 vars. "Skip Favorites", "Backup Exceptions", and "Date Filter" are unchecked. So why are there still 291 vars?

EDIT: I don't have any "Creator Filters" or "Folder Filters", or "Scan Saves...", or "Scan UIAssist...", or "Scan Local Presets...".
EDIT2: For reference, a clean install has 18 vars.
EDIT3:
Load times for
3000 vars: 2:33 min:sec
291 vars: 19 sec
18 vars: 13 sec
 

Attachments

  • Screenshot 2024-05-14 142031.png
    Screenshot 2024-05-14 142031.png
    101.5 KB · Views: 0
  • Screenshot 2024-05-14 142458.png
    Screenshot 2024-05-14 142458.png
    81.7 KB · Views: 0
Last edited:
There should be an option to scan the default Session and Scene plugins presets for references.
Presently I am favoriting my session plugins and checking "Skip Favorites" to work around this.
Otherwise my session plugins won't be available.
 
I did "Move Old Versions..." and "Backup Unreferenced vars" and "Backup all Specific-Type vars" (after checking OR for each type), and I went from ~5000 to 291 vars. "Skip Favorites", "Backup Exceptions", and "Date Filter" are unchecked. So why are there still 291 vars?

EDIT: I don't have any "Creator Filters" or "Folder Filters", or "Scan Saves...", or "Scan UIAssist...", or "Scan Local Presets...".
EDIT2: For reference, a clean install has 18 vars.
EDIT3:
Load times for
3000 vars: 2:33 min:sec
291 vars: 19 sec
18 vars: 13 sec

I think I know what's going on.
VAR Manager does not overwrite files, so if the file already exists in the target directory it will not move the file.
You probably already have those 291 vars in your backup directory (or most of them).
And honest, if you just want a clean install just move everything manually.
 
There should be an option to scan the default Session and Scene plugins presets for references.
Presently I am favoriting my session plugins and checking "Skip Favorites" to work around this.
Otherwise my session plugins won't be available.

Yes good ideas for sure about the default Session/Scene plugins.
 
Bug report: search in the "Creator Exceptions" search box, select a creator, and then search for a different creator and select another creator, the first selection is ignored.

To recreate bug:
Step 1) Check "Backup Exceptions"
Step 2) Search for a creator not visible in the first page and check the box next to a creator, any creator ("creator1")
Step 3) Search for a 2nd creator and check the box next to their name ("creator2"), and leave search string in search box.
Step 4) "Backup Unreferenced vars"

Result:
Vars from "creator2" are not backed up (correct), but vars from "creator1" are backed up (incorrect).

Step 5) "Restore all vars"
Step 6) Repeat Step 4.

Result:
Vars from both creator are not backed up (correct)
 
Last edited:
bill_prime updated VAR Manager with a new update entry:

Added scanning of default Session Plugin Preset for references, added option to overwrite files.

  • All backup/restore functions will now scan the default Session Plugins Preset for var references
  • Added option to overwrite existing files.
    • Previously, if a .var exists in both the backup and the main folder, then it would not be moved.
    • Same goes for the Move Old Version of vars function
    • View attachment 402678

Read the rest of this update entry...
 
So old filter settings cant be used ???
Seems like filters cant be loaded or saved with latest version
 
Last edited:
Old filter settings should work fine?
Did your filters get reset? You may need to download old version 37 (into same directory) and then save your filters to an xml file.
Then replace with new version and restore filters from xml
Cant load or save filters with the new version
1724454684615.png

1724454413655.png
 
Strange? I don't have any issue. Try to restart computer or kill any other VAMvarmanager instances in Task Manager Processes
There is no other instances running i have not run VAMvarmanager sins last night and i got the update and had the problem right away.
 
Back
Top Bottom