feely_pona/build_assets.bat

16 lines
694 B
Batchfile

@echo off
setlocal
set script_dir_backslash=%~dp0
set script_dir=%script_dir_backslash:~0,-1%
set sprite_packer=%script_dir%\build\feely_pona_sprite_packer.exe
if not exist "%sprite_packer%" (
echo "Sprite packer does not exist at '%sprite_packer%', build the project first"
exit /B 1
)
%sprite_packer% 4096x4096 %script_dir%\Data\Textures\sprite_spec.txt %script_dir%\Data\Textures\terry_resized_25%% || exit /b 1
%sprite_packer% 4096x2048 %script_dir%\Data\Textures\sprite_spec.txt %script_dir%\Data\Textures\terry_merchant_resized_25%% || exit /b 1
%sprite_packer% 4096x2048 %script_dir%\Data\Textures\sprite_spec.txt %script_dir%\Data\Textures\smoochie_resized_25%% || exit /b 1