forked from JustUO/JustUO
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Compile.WIN.bat
45 lines (29 loc) · 979 Bytes
/
Compile.WIN.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
@SET CURPATH=%~dp0
@SET CSCPATH=%windir%\Microsoft.NET\Framework\v4.0.30319\
@SET SRVPATH=%CURPATH%Server\
@SET SCRPATH=%CURPATH%Scripts\
@TITLE: JustUO - http://www.PlayUO.org
::##########
@ECHO:
@ECHO: Ready to Compile JustUO (WIN)
@ECHO:
@PAUSE
@DEL "%CURPATH%JustUO.exe"
@ECHO ON
%CSCPATH%csc.exe /win32icon:"%SRVPATH%justuo.ico" /r:"%CURPATH%OpenUO.Core.dll" /r:"%CURPATH%OpenUO.Ultima.dll" /r:"%CURPATH%OpenUO.Ultima.Windows.Forms.dll" /r:"%CURPATH%SevenZipSharp.dll" /target:exe /out:"%CURPATH%JustUO.exe" /recurse:"%SRVPATH%*.cs" /d:JustUO /d:Framework_4_0 /d:NEWTIMERS /d:NEWPARENT /nowarn:618 /debug /nologo /optimize /unsafe
@ECHO OFF
@ECHO:
@ECHO: Done!
@ECHO:
@PAUSE
@CLS
@ECHO:
@ECHO: The server core has been compiled.
@ECHO: If you have not run JustUOStartup.exe, you should run that now.
@ECHO: If you have already done this, you can just
@ECHO: run the JustUO.exe to start your server.
@ECHO:
@ECHO: Thanks, and Enjoy!
@ECHO:
@PAUSE
EXIT /B