Vamifier 3 - deduping and cleaning your VAM.
OK, so this is the third iteration of my Vamifier, this one works in completely different way, though, and is probably most useful for content creators and people that just like to play with VAM, not those that load every possible VAR.
What it does is it indexes all important VAM files, assets etc. (including inside VAR) in your repo directory (might be your VAM installation directory), takes only SINGLE INSTANCE of each asset (based on its hash) and copies it into designated "cleaned" directory with all dependencies, preserving proper VAM directory structure. So you can either create a clean vam installation and point vamifier there, or copy any directory into fresh VAM, when Vamifier is done.
This of course means that after running this app you'll end up with a directory containing all morphs, all clothes and all hair models from all your VARs extracted (but only one instance of each!). So if you're a guy that believes VARs are good thing you probably won't be interested in this app, buy yourself another hard drive! But if you relised that VARs are good only for utility modules, this app will shrink you VAM insallation significantly! No more dupes, clean directory structure (see technical details at the bottom).
It also has some neat utility functions that you may find in usage info below:
Usage: <main class> [options]
Options:
-c, --clean
main function: copy/clean/dedupe assets from repo directory to clean
directory
Default: false
-rd, --refresh-db
force rescan of repo directory, run when previous scan failed or new
files added.
Default: false
-fs, --find-skins
find good skins with normals, gens, etc. in CLEANED
Default: false
This will list skins that might be well-done, based on which types are present
-lm, --list-mocaps
list modules with mocaps in REPO
Default: false
This will list saves and modules that probably have mocaps in them
-ls, --list-scripts
list scripts indexed by DB
Default: false
-gv, --group-vars
move vars to subdirectories based on their content in REPO
Default: false
If you have a lot of VARs it might be pretty difficult to decide what to see or keep. This option will look into contents of the vars and group them into directories based by content. Most useful for utility only VARs!
-i, --generate-icons
generate preview icons from VARs to see what's inside in REPO
Default: false
Goest through your VARs and extracts /save icon from them, good to check what's inside a particular VAR.
-cp, --convert-pose
convert legacy poses from REPO to preset poses in CLEANED
Default: false
-t, --autoimport-textures
create auto-importable textures (warning: interactive) in CLEANED
Default: false
A smart renamer that will make your textures ready for autoload. If it can't guess a proper texture it will present you a list to choose from.
-h, --help
Technical info for experts:
This app does following things in order:
- processes morphs by creating missing VMB for any DSF and then taking unique (by hash) VMBs and copying together with required VMI to proper Custom/Atom/Person/Morphs/[fe]male[_genitalia]. File name not changed.
- processes cloting/hair VABs by taking unique (by hash) VABs, gathering all their dependencies from all their JSONs, together with their presets and copying them into Custom/XXXX/[fe]male/{creator}/{uid} directory.
Having deduplicated morphs, hair and clothes and a huge db of file names and hashes it then starts to process VAP files by resolving their dependencies into deduped cleaned components and copying them into the same location in cleaned directory. I tried that only for looks, but the preset type shouldn't really matter.
And that's it. Take it for a spin if you want, note that I was using it on a more run-and-modify base and added these command line options just for you, not tested. So if you find something not working, PM me.
You run it with:
java -jar Vamifier3.jar
If you see an exception with *pio* inside, you need a higher Java version.
Download:
You must be registered to see the links