cc01120 make vts output formatting work with bsd column
~hnaguski pushed to ~hnaguski/vtt git
b3072a8 put server information into environment variables
~hnaguski pushed to ~hnaguski/vtt git
Small set of scripts to download and manage minecraft resource packs from vanillatweaks.net. Right now it works for downloading singlular packs, with no support for conflict resolution a la the vanillatweaks website. vtt also has the ability to "patch" resource packs by replacing the pack.png of any downloaded packs (in future more things will be able to be replaced). INSTALL ======= make REMOVE ====== make uninstall USAGE ===== Download list of resouce packs avaliable for 1.18: $ vtu Search for a resource pack by name or description: $ vts PACK Download a pack and replace the pack.png: $ vtd PACK Download a pack to a different directory: $ vtd PACK -o /path/to/download/pack Download a pack and don't replace the pack.png: $ vtd -n PACK Download multiple packs by merging them together (how the website does it), and save to a file called "mypacks.zip": $ vtd mypacks PACKS... Download multiple packs individually: $ vtd -i PACKS... Download multiple packs from a file, to a zip file called "mypacks.zip". The file just contains pack names, 1 per line: $ vtd -f mypacks.vtt Download multiple packs from a file, individually: $ vtd -f mypacks.vtt -i CUSTOMIZATION ============= Check the 3 scripts for all the environment variables that can be set. A few notable ones are: VTT_MCVER: Specify minecrat version to use VTT_CACHE: Specify where to store rpcategories.json VTT_TEMPLATEDIR: Specify where to store templates for custom pack info TEMPLATES ========= In the future, templates will be handled by adding any files in any given packs template directory to the downloaded pack. For example, any files in "templates/DarkUI" will get placed into the "DarkUI.zip" archive when it's downloaded. For now, only the pack.png file will be replaced when downloading a pack. NOTES ===== If you want to use the provided zsh autocompletion, you may need to add "$HOME/.local/share/zsh/site-functions" to your $FPATH variable. You could also just change where "_vtt" gets copied to in the makefile Tools in use: jq column POSIX sh zip curl wget (maybe only use 1 program to download stuff?)