Use your preferred Node package manager to install the CLI globally
$ yarn global add @visbot/webvsc-cli || npm install --global @visbot/webvsc-cli
Once setup, you can run
webvsc --help to list available options:
$ webvsc Usage: webvsc [options] <file(s)> Options: -V, --version output the version number -v, --verbose <n> control the amount of output displayed -m, --minify minify generated JSON -q, --quiet print errors only -D, --no-date don't create date from file meta -H, --no-hidden don't extract hidden strings from fixed-size strings -h, --help output usage information
Commonly, you would run
webvsc "avs/**/*.avs" to convert a bunch of presets, or just one. When using wildcards, you might have to wrap the path in quotes.
When trying to convert a large number of files, you might run into an
EMFILE error. This is a well-documented issue that occurs whenever the number of maximum open files exceeds its limit. In such a case, you can use the following as workaround.
# Bash$# Windows$
All code is licensed under The MIT License