RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

How to compile RunUO using notepad

Peoharen

Sorceror
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.
 

Attachments

  • Image1.jpg
    Image1.jpg
    241 KB · Views: 476
  • Image2.jpg
    Image2.jpg
    122.8 KB · Views: 465

Peoharen

Sorceror
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>
 

Attachments

  • Image3.jpg
    Image3.jpg
    156.7 KB · Views: 206
  • Image4.jpg
    Image4.jpg
    20.2 KB · Views: 136
Top