# HG changeset patch # User sam # Date 1712333985 -25200 # Node ID c5655f79070dc00da831b165185c48ccda30bf32 # Parent 4fc5919300153f07b8949ee97a50c0edc9421989 did: small improvment to steam asset templats diff -r 4fc591930015 -r c5655f79070d 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 4fc591930015 -r c5655f79070d tools/steam_asset_templates.zip Binary file tools/steam_asset_templates.zip has changed diff -r 4fc591930015 -r c5655f79070d tools/steam_assets.zip Binary file tools/steam_assets.zip has changed