# HG changeset patch # User sam # Date 1712333985 -25200 # Node ID d01d318c90f0bbe1e74c8e7a90d99af80e65ce2c # Parent 9c56698e8ba2b0f7e2f5e47bf6a27f9a6dc3fb42 did: small improvment to steam asset templats diff -r 9c56698e8ba2 -r d01d318c90f0 tools/export_steam_assets.sh --- a/tools/export_steam_assets.sh Fri Apr 05 21:41:15 2024 +0700 +++ b/tools/export_steam_assets.sh Fri Apr 05 23:19:45 2024 +0700 @@ -1,4 +1,5 @@ # krita --new-image RGBA,U8,200,200 +set -e # CAPSULES # header_capsule: 460x215, png @@ -23,8 +24,13 @@ # trailer: mp4, 1920x1080 60Hz, 5000+ Kbps # screenshots: 5 images, 1920x1080, png -OUTPUT_DIR=$PWD/$1 -INPUT_DIR=$2 +if [ "$#" -ne 2 ]; then + echo Usage: $0 ' ' + exit 1 +fi + +INPUT_DIR=$1 +OUTPUT_DIR=$2 rm -rf $OUTPUT_DIR mkdir -p $OUTPUT_DIR diff -r 9c56698e8ba2 -r d01d318c90f0 tools/steam_asset_templates.zip Binary file tools/steam_asset_templates.zip has changed diff -r 9c56698e8ba2 -r d01d318c90f0 tools/steam_assets.zip Binary file tools/steam_assets.zip has changed