rd Build /s /q
md Build
md Build\Source
md Build\Source\Plugin
md Build\Source\Shaders
rd GameData\KSPWheel /s /q
rd GameData\000_TexturesUnlimited /s /q
cd..
cd KSPWheel
git checkout master
xcopy GameData ..\SSTULabs\GameData /e /i
git checkout dev
cd..
cd TexturesUnlimited
git checkout master
xcopy GameData ..\SSTULabs\GameData /e /i /y
git checkout dev
cd..
cd SSTULabs
xcopy GameData Build\GameData /e /i
copy LICENSE-ASSETS.txt Build\GameData\SSTU\LICENSE-ASSETS.txt
copy LICENSE-SOURCE.txt Build\GameData\SSTU\LICENSE-SOURCE.txt
copy Installation_Instructions.txt Build\Installation_Instructions.txt
xcopy Plugin\SSTUTools\SSTUTools Build\Source\Plugin /e /i
rd Build\Source\Plugin\bin /s /q
rd Build\Source\Plugin\libs /s /q
rd Build\Source\Plugin\obj /s /q
rd Build\GameData\SSTU-OptionalPatches /s /q
rd Build\GameData\SSTU-TextureSets /s /q
rd Build\GameData\SSTU-PBR /s /q
rd Build\GameData\TexturesUnlimitedFX /s /q
rd Build\GameData\BlendShapeModelLoader /s /q
del Build\GameData\000_TexturesUnlimited\Plugins\BlendshapeModelLoader.dll
del Build\Source\Plugin\.gitignore
del Build\Source\Plugin\SSTUTools.csproj
del Build\Source\Plugin\SSTUTools.csproj.user
xcopy CustomShaders Build\Source\Shaders
rem powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::CreateFromDirectory('Build', '../SSTU.zip'); }"
rem rd build /s /q
rem pause