Skip to content

Instantly share code, notes, and snippets.

@johnspickes
johnspickes / tts_get.sh
Created August 20, 2016 13:57
Bash script to get Images and Models for Tabletop Simulator
#!/bin/bash
# This script gets all the URLs named in a Tabletop Simulator Mod or Save json
# file and saves them in Models or Images directories, with filename munging
# intended to match that used by TTS. These files can then be (manually)
# copied or moved into your Mods/Images and Mods/Models directories. On my
# system, these are located in "~/My Games/Tabletop Simulator/Mods".
#
# These files will be used by the game instead of trying to retrieve the URLs
# at runtime. This can be useful to avoid problems with TTS failing to
# retrieve certain URLs (possibly reporting SSL errors) on some operating