#!/bin/bash GENERATE_ATLAS=/sparrow_path/util/atlas_generator/generate_atlas.rb OUTPUT_PATH=/application_path/media/graphics echo "" echo "-> Creating High Resolution Atlas ..." # no scale ${GENERATE_ATLAS} -m 2048x2048 atlas/*.png ${OUTPUT_PATH}/2x/atlas@2x.xml echo "" echo "-> Creating Standard Resolution Atlas ..." # shrink by 50% and copy ${GENERATE_ATLAS} -s 0.5 atlas/*.png ${OUTPUT_PATH}/1x/atlas.xml echo "" echo "Done!"