Skip to content

Instantly share code, notes, and snippets.

View honswlos's full-sized avatar

honswlos honswlos

View GitHub Profile
@honswlos
honswlos / TTS_cache_sync.ps1
Created December 10, 2025 06:08
Tabletop Simulator mod cache sync script
param(
[switch]$source,
[string]$manifest_file = (Join-Path $env:USERPROFILE "Documents\tts_cache_manifest.txt"),
[string]$tts_mod_path = (Join-Path $env:USERPROFILE "Documents\My Games\Tabletop Simulator\Mods"),
[string]$zip_file = (Join-Path $env:USERPROFILE "Documents\tts_cache_missing_files_$(Get-Date -Format 'yyyyMMdd_HHmmss').zip")
)
function Get-RelativePaths {
param([string]$path)