|
@echo off
|
|
ECHO ----------------------------------------
|
|
echo Creating Confluence 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 XPR File...
|
|
START /B /WAIT ..\..\Tools\XBMCTex\XBMCTex -input media -output media -noprotect
|
|
|
|
ECHO ----------------------------------------
|
|
ECHO Copying XPR File...
|
|
xcopy "media\Textures.xpr" "BUILD\Confluence\media\" /Q /I /Y
|
|
|
|
ECHO ----------------------------------------
|
|
ECHO Cleaning Up...
|
|
del "media\Textures.xpr"
|
|
|
|
ECHO ----------------------------------------
|
|
ECHO XPR Texture Files Created...
|
|
ECHO Building Skin Directory...
|
|
xcopy "720p" "BUILD\Confluence\720p" /E /Q /I /Y /EXCLUDE:exclude.txt
|
|
xcopy "NTSC16x9" "BUILD\Confluence\NTSC16x9" /E /Q /I /Y /EXCLUDE:exclude.txt
|
|
xcopy "PAL16x9" "BUILD\Confluence\PAL16x9" /E /Q /I /Y /EXCLUDE:exclude.txt
|
|
xcopy "fonts" "BUILD\Confluence\fonts" /E /Q /I /Y /EXCLUDE:exclude.txt
|
|
xcopy "backgrounds" "BUILD\Confluence\backgrounds" /E /Q /I /Y /EXCLUDE:exclude.txt
|
|
xcopy "sounds\*.*" "BUILD\Confluence\sounds\" /Q /I /Y /EXCLUDE:exclude.txt
|
|
xcopy "colors\*.*" "BUILD\Confluence\colors\" /Q /I /Y /EXCLUDE:exclude.txt
|
|
xcopy "language" "BUILD\Confluence\language" /E /Q /I /Y /EXCLUDE:exclude.txt
|
|
xcopy "scripts" "BUILD\Confluence\scripts" /E /Q /I /Y /EXCLUDE:exclude.txt
|
|
|
|
del exclude.txt
|
|
|
|
copy *.xml "BUILD\Confluence\"
|
|
copy *.txt "BUILD\Confluence\"
|