forked from JustUO/JustUO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Compile.MONO.bat
72 lines (42 loc) · 1.36 KB
/
Compile.MONO.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
60
61
62
63
64
65
66
67
68
69
70
71
72
@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: Step 2 - Compile JustUO (MONO)
@ECHO:
@PAUSE
::#Append .MONO for people who test on WIN and host on MONO
@DEL "%CURPATH%JustUO.MONO.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.MONO.exe" /recurse:"%SRVPATH%*.cs" /d:MONO /d:Framework_4_0 /d:JustUO /nowarn:0618 /debug /nologo /optimize /unsafe
@ECHO OFF
@ECHO:
@ECHO: Done!
@ECHO:
@PAUSE
@CLS
::##########
@ECHO:
@ECHO: Step 3 - Compile Scripts (MONO)
@ECHO:
@PAUSE
@DEL "%SCRPATH%Output\Scripts.CS.dll"
@ECHO ON
%CSCPATH%csc.exe /r:"%CURPATH%JustUO.MONO.exe" /r:"%CURPATH%OpenUO.Core.dll" /r:"%CURPATH%OpenUO.Ultima.dll" /r:"%CURPATH%OpenUO.Ultima.Windows.Forms.dll" /r:"%CURPATH%SevenZipSharp.dll" /target:library /out:"%SCRPATH%Output\Scripts.CS.dll" /recurse:"%SCRPATH%*.cs" /d:MONO /d:Framework_4_0 /d:JustUO /nowarn:0618 /debug /nologo /optimize /unsafe
@ECHO OFF
@ECHO:
@ECHO: Done!
@ECHO:
@PAUSE
@CLS
::##########
@ECHO:
@ECHO: Step 4 - Launch JustUO (MONO)
@ECHO:
@PAUSE
@CLS
@ECHO OFF
%CURPATH%JustUO.MONO.exe