aboutsummaryrefslogtreecommitdiff
path: root/addons/skin.pm3-hd/build.bat
blob: 1448631d11598e292db6c33f2ce2baf55dbb3ded (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@echo off
ECHO ----------------------------------------
echo Creating PM3.HD Build Folder
rmdir BUILD /S /Q
md BUILD

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 ..\..\Tools\TexturePacker\TexturePacker -input media -output media\Textures.xbt

ECHO ----------------------------------------
ECHO Copying XBT File...
xcopy "media\Textures.xbt" "BUILD\PM3.HD\media\" /Q /I /Y

ECHO ----------------------------------------
ECHO Cleaning Up...
del "media\Textures.xbt"

ECHO ----------------------------------------
ECHO XBT Texture Files Created...
ECHO Building Skin Directory...
xcopy "720p" "BUILD\PM3.HD\720p" /E /Q /I /Y /EXCLUDE:exclude.txt
xcopy "fonts" "BUILD\PM3.HD\fonts" /E /Q /I /Y /EXCLUDE:exclude.txt
xcopy "backgrounds" "BUILD\PM3.HD\backgrounds" /E /Q /I /Y /EXCLUDE:exclude.txt
xcopy "sounds\*.*" "BUILD\PM3.HD\sounds\" /Q /I /Y /EXCLUDE:exclude.txt
xcopy "colors\*.*" "BUILD\PM3.HD\colors\" /Q /I /Y /EXCLUDE:exclude.txt
xcopy "language" "BUILD\PM3.HD\language" /E /Q /I /Y /EXCLUDE:exclude.txt

del exclude.txt

copy *.xml "BUILD\PM3.HD\"
copy *.txt "BUILD\PM3.HD\"