A collection of PowerShell scripts to make a few niche things in the 5eTools project easier.
Each script has some comments at the top. Read them before use.
If you're on Windows, the script doesn't specify that it requires a PowerShell version above 5, and no command arguments are listed, you can right-click the script and select 'Run with PowerShell'.
Otherwise, you'll need to install the latest version (macOS/Linux here) and run the script via the command line.
This script applies images and tokens to a brew file in bulk by reading from a .csv
file. Useful for creature-heavy conversions and art updates.
This script looks throughout a brew file for entries
-like properties, and then proceeds to (try to) automatically tag things.
This script adds the hasFluff
and hasFluffImages
properties, as appropriate, to (most) datatypes with a referenced _<datatype>Fluff
object.
This script stitches 5eTools-style homebrew JSONs together to output a single JSON with all the content included, saving you having to lug around many files at once.
This script resizes all the masks outputted by the PDF Image Extractor to match the preceding image's size.
This script tests a file or directory of files for any bad @tag
s.
This script verifies that media URLs aren't dead.
Raise an issue if something's broken. Development ongoing. Additions welcome (in any language; I just use PowerShell because I'm lazy).