feely_pona/build_assets.bat

17 lines
824 B
Batchfile
Raw 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
)
2023-09-24 08:05:28 +00:00
%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
%sprite_packer% 4096x2048 %script_dir%\Data\Textures\sprite_spec.txt %script_dir%\Data\Textures\clinger_resized_25%% || exit /b 1