feely_pona/build_assets.bat

14 lines
413 B
Batchfile
Raw Permalink Normal View History

@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% 5100x5100 %script_dir%\Data\Textures\sprite_spec.txt %script_dir%\Data\Textures\atlas || exit /b 1