Created
April 7, 2015 16:11
-
-
Save Borod4r/16a53091aa54a40af804 to your computer and use it in GitHub Desktop.
Libgdx-TexturePacker-Batch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
SET GDX_PATH=D:\Work\Tools\libgdx | |
SET PACKER_SHORTCUT=java -cp %GDX_PATH%/gdx.jar;%GDX_PATH%/gdx-tools.jar com.badlogic.gdx.tools.texturepacker.TexturePacker | |
SET ASSETS=D:\Work\Borodar\Projects\Swiper\sources\android\assets | |
SET INPUT_DIR=.\ | |
SET OUTPUT_DIR=%ASSETS%\maps | |
SET PACK_FILENAME=forest_bg | |
REM inputDir [outputDir] [packFileName] | |
ECHO. | |
%PACKER_SHORTCUT% %INPUT_DIR% %OUTPUT_DIR% %PACK_FILENAME% | |
DEL %OUTPUT_DIR%\%PACK_FILENAME%.atlas | |
ECHO. | |
ECHO ============== | |
ECHO Done. | |
REM PAUSE > nul | |
TIMEOUT /t 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment