-
Notifications
You must be signed in to change notification settings - Fork 2
/
DeployToBin.bat
59 lines (41 loc) · 1.32 KB
/
DeployToBin.bat
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
:: This script will copy built binaries of the patch for TSE 1.07 into the game's Bin directory
:: one level above this one, including a GRO package with all the needed resources packed
@echo off
set BUILTDIR=Bin\Release_TSE107\
set GAMEDIR=%~dp0..\
set BINDIR=%GAMEDIR%Bin\
:: Copy TSE 1.07 binaries
echo ClassicsCore
copy /B %BUILTDIR%ClassicsCore.dll %BINDIR%
echo ClassicsPatches
copy /B %BUILTDIR%ClassicsPatches.dll %BINDIR%
echo ClassicsExtras
copy /B %BUILTDIR%ClassicsExtras_Custom.dll %BINDIR%
echo DedicatedServer
copy /B %BUILTDIR%DedicatedServer_Custom.exe %BINDIR%
echo SeriousSam
copy /B %BUILTDIR%SeriousSam_Custom.exe %BINDIR%
echo SeriousEditor
copy /B %BUILTDIR%SeriousEditor_Custom.exe %BINDIR%
echo Shaders
copy /B %BUILTDIR%Shaders.dll %BINDIR%
echo EngineGUI
copy /B %BUILTDIR%EngineGUI.dll %BINDIR%
:: Copy mod files
echo Entities
copy /B %BUILTDIR%Entities_Custom.dll %BINDIR%
echo Game
copy /B %BUILTDIR%Game_Custom.dll %BINDIR%
echo GameGUI
copy /B %BUILTDIR%GameGUI_Custom.dll %BINDIR%
echo ClassicsPatchMod
robocopy Builds\TSE107\Mods %GAMEDIR%Mods\ /E
:: Copy TSE 1.07 plugins
mkdir %BINDIR%Plugins
copy /B %BUILTDIR%Plugins\*.dll %BINDIR%Plugins\
:: Copy SDL library
copy /B Extras\SDL2\lib\x86\SDL2.dll %BINDIR%
:: Pack resources
call Resources\DeployResources.bat %GAMEDIR%
echo.
echo Finished deploying!