Merged in Governor-Tarkin/swg-src (pull request #17)
[swg-src.git] / tools / BuildBetaPatcherVersion.btm
blobe0fe240504cfde8ee95a873318eec18be401c4d0
1 @echo off
2 if not exist "SwgClient_r.exe" goto error
3 set dd=%_date
4 set dn=patcher_20%@instr[6,2,%dd]%@instr[0,2,%dd]%@instr[3,2,%dd]beta
6 inkey Press ESC to abort creating patcher version %dn:  %%key
7 if "%@ascii[%key]" == "27" goto :end
10 md \%dn
12 copy /u h:\gmcdaniel\public\patch_trees\*.tre \%dn
14 copy /u SwgClient_r.exe \%dn
15 copy /u dpvs.dll \%dn
16 copy /u dpvsd.dll \%dn
17 copy /u gl04_r.dll \%dn
18 copy /u dbghelp.dll \%dn
19 copy /u DllExport.dll \%dn
20 copy /u template_patcher_client.cfg \%dn\client.cfg
21 copy /u mss32.dll \%dn
22 md \%dn\miles
23 copy /u miles\*.* \%dn\miles\
27 goto end
29 :error
30 echo You must run this from the exe\win32 directory!
31 goto end
37 pushd /%dn
38 del \\sdlux2\projects\pc\patch\starwars\game\*.tre
39 copy /u *.* \\sdlux2\projects\pc\patch\starwars\game
40 popd
41 popd
42 start http://laser:7000
43 pause
44 :end