32 lines
1.2 KiB
Batchfile
32 lines
1.2 KiB
Batchfile
|
@echo off
|
||
|
ECHO ----------------------------------------
|
||
|
echo Creating Build Folder
|
||
|
rmdir BUILD /S /Q
|
||
|
md BUILD\skin.pm3.hd\media\
|
||
|
|
||
|
Echo .svn>exclude.txt
|
||
|
Echo Thumbs.db>>exclude.txt
|
||
|
Echo Desktop.ini>>exclude.txt
|
||
|
Echo dsstdfx.bin>>exclude.txt
|
||
|
Echo exclude.txt>>exclude.txt
|
||
|
|
||
|
ECHO ----------------------------------------
|
||
|
ECHO Creating XBT File...
|
||
|
START /B /WAIT ..\..\TexturePacker\TexturePacker -input media -output BUILD\skin.pm3.hd\media\Textures.xbt
|
||
|
|
||
|
ECHO ----------------------------------------
|
||
|
ECHO XBT Texture Files Created...
|
||
|
ECHO Building Skin Directory...
|
||
|
xcopy "720p" "BUILD\skin.pm3.hd\720p" /E /Q /I /Y /EXCLUDE:exclude.txt
|
||
|
xcopy "fonts" "BUILD\skin.pm3.hd\fonts" /E /Q /I /Y /EXCLUDE:exclude.txt
|
||
|
xcopy "backgrounds" "BUILD\skin.pm3.hd\backgrounds" /E /Q /I /Y /EXCLUDE:exclude.txt
|
||
|
xcopy "sounds\*.*" "BUILD\skin.pm3.hd\sounds\" /Q /I /Y /EXCLUDE:exclude.txt
|
||
|
xcopy "colors\*.*" "BUILD\skin.pm3.hd\colors\" /Q /I /Y /EXCLUDE:exclude.txt
|
||
|
xcopy "language" "BUILD\skin.pm3.hd\language" /E /Q /I /Y /EXCLUDE:exclude.txt
|
||
|
|
||
|
del exclude.txt
|
||
|
|
||
|
copy *.xml "BUILD\skin.pm3.hd\"
|
||
|
copy *.txt "BUILD\skin.pm3.hd\"
|
||
|
copy icon.png "BUILD\skin.pm3.hd\"
|
||
|
pause
|