comparison tools/export_steam_assets.sh @ 1087:c5655f79070d

did: small improvment to steam asset templats
author sam <sam@basx.dev>
date Fri, 05 Apr 2024 23:19:45 +0700
parents 4fc591930015
children
comparison
equal deleted inserted replaced
1086:4fc591930015 1087:c5655f79070d
1 # krita --new-image RGBA,U8,200,200 1 # krita --new-image RGBA,U8,200,200
2 set -e
2 3
3 # CAPSULES 4 # CAPSULES
4 # header_capsule: 460x215, png 5 # header_capsule: 460x215, png
5 # small_capsule: 231x87, png 6 # small_capsule: 231x87, png
6 # main_capsule: 616x353, png 7 # main_capsule: 616x353, png
21 22
22 # OTHER 23 # OTHER
23 # trailer: mp4, 1920x1080 60Hz, 5000+ Kbps 24 # trailer: mp4, 1920x1080 60Hz, 5000+ Kbps
24 # screenshots: 5 images, 1920x1080, png 25 # screenshots: 5 images, 1920x1080, png
25 26
26 OUTPUT_DIR=$PWD/$1 27 if [ "$#" -ne 2 ]; then
27 INPUT_DIR=$2 28 echo Usage: $0 '<source-directory> <output-directory>'
29 exit 1
30 fi
31
32 INPUT_DIR=$1
33 OUTPUT_DIR=$2
28 34
29 rm -rf $OUTPUT_DIR 35 rm -rf $OUTPUT_DIR
30 mkdir -p $OUTPUT_DIR 36 mkdir -p $OUTPUT_DIR
31 37
32 # capsule images 38 # capsule images