Go Back   RunUO - Ultima Online Emulation > RunUO > FAQ Forum

FAQ Forum A place to find answers to the most frequently asked questions, and a place to post said answers. Do NOT use this forum to ask questions.

Reply
 
Thread Tools Display Modes
Old 05-11-2008, 05:31 PM   #1 (permalink)
Account Terminated
 
Peoharen's Avatar
 
Join Date: Dec 2004
Location: USA
Age: 23
Posts: 911
Send a message via Yahoo to Peoharen
Default How to compile RunUO using notepad

1.
Open notepad.

2.
Paste in the following on the first line:
SET PATH=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
Note - If you did a custom install of .NET you may have to edit this to match your install's path.

3.
Paste in the following on the second line:
csc.exe /out:.\RunUO.exe /recurse:*.cs /win32icon:runuo.ico /optimize /unsafe

4.
Paste in the following on the third line:
PAUSE

5.
Click file, save as.
File Name should be Compile.bat
Save as type should be All Files
Save it in your (SVN) RunUO Server folder where ever that may be.

6.
Double click the Compile program and enjoy.
Attached Images
File Type: jpg Image1.jpg (241.0 KB, 53 views)
File Type: jpg Image2.jpg (122.8 KB, 42 views)
Peoharen is offline   Reply With Quote
Old 05-11-2008, 05:40 PM   #2 (permalink)
Account Terminated
 
Peoharen's Avatar
 
Join Date: Dec 2004
Location: USA
Age: 23
Posts: 911
Send a message via Yahoo to Peoharen
Default Got Errors?

The format used to list the errors is

File Name: (line, column): error number: error message
(see image3)

***

Compiling the ML update into RunUO? You'll have to add the Ultima library to do so.
Simple drop in the Ultima.dll (Jeff posted it somewhere on the forums) into your server folder and add /reference:Ultima.dll to the second line.

Code:
SET PATH=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
csc.exe /out:.\RunUO.exe /recurse:*.cs /win32icon:runuo.ico /optimize /unsafe /reference:Ultima.dll
PAUSE
***

Does the compiler simply not work at all? Probably your .NET install I mentioned in the first post.

See image4 for both where the default install location is, and which ones I personaly have installed by looking at the folders listed. If you have a v2.0.XXXX folder, edit the first line of the compiler to match your folder.

SET PATH=C:\WINDOWS\Microsoft.NET\Framework\<Your version here>
Attached Images
File Type: jpg Image3.jpg (156.7 KB, 17 views)
File Type: jpg Image4.jpg (20.2 KB, 8 views)

Last edited by Peoharen; 05-11-2008 at 07:08 PM.
Peoharen is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5