-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathexportVistaEngine.bat
More file actions
39 lines (25 loc) · 919 Bytes
/
exportVistaEngine.bat
File metadata and controls
39 lines (25 loc) · 919 Bytes
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
39
if "%1"=="pass2" goto pass2
rmdir /Q /S Output
mkdir Output
del /Q /S CacheData\Models\*.*
del /Q /S CacheData\Textures\*.*
xcopy Resource\*.* Output\Resource\*.* /T /E
rmdir /Q /S Output\Resource\Worlds
mkdir Output\Resource\Worlds
rmdir /Q /S Output\Resource\Saves
mkdir Output\Resource\Saves
xcopy Resource\LocData\*.* Output\Resource\LocData\*.* /S /Y
xcopy Scripts\*.* Output\Scripts\*.* /S /Y
rmdir /Q /S Output\Scripts\contentLocal
rmdir /Q /S Output\Scripts\Engine\NSIS
del /Q /S Output\Scripts\TreeControlSetups\*.*
del /q Output\Scripts\Content\VistaEngine.scr
del /q Output\Scripts\Content\GameOptionsEditor
del /q /S Output\Scripts\Engine\Translations\tools
del /q Output\Scripts\Content\*.psf
for /R .\Output\Scripts %%k IN (.svn) DO if exist %%k rd %%k /S /Q
goto end
:pass2
xcopy CacheData\*.* Output\CacheData\*.* /S /Y
copy Resource\Worlds\qswl.scr Output\Resource\Worlds\qswl.scr
:end