TA的每日心情 | 奋斗 2024-7-12 19:41 |
---|
签到天数: 78 天 [LV.6]常住居民II 鲜花( 2) 鸡蛋( 0)
|
How To Download and Compile the RunUO SVN
Note that these instructions are specific to Windows.
1. Download and install Tortoise SVN.
TortoiseSVN
2. Create an empty folder to hold your local copy of the SVN code. Right click it and select "SVN Checkout".
3. For URL of repository, use:
http://svn.runuo.com/repos/runuo/devel
4. Select "OK". The newest version of the RunUO core and script base will now download to your computer.
5. Now you want to create a working directory (you don't want to mess with the SVN repository you just downloaded because that is where you will store all the updates the RunUO team makes). So create a new directory. Then right click the original SVN directory and select "Tortoise SVN/Export". For the directory choose the new directory you just made. Now you will have a copy of the SVN that you can use to make all your edits and changes to.
6. Now you need to compile the core. The easiest way to compile the SVN:
Create a batch file as below. Modify the drive/path as needed. Place it in your server root directory (same directory as the "Data" and "Scripts" directory. Run it to compile. You don't even need to have Visual C# installed for this to work.
Code:
del server.exec:\windows\microsoft.net\Framework\v2.0.50727\csc.exe /unsafe /out:Server.exe /recurse:server\*.cs /win32icon:Server\runuo.ico
"Server.exe" is now created.
7. There are 2 files that you need are not included in the SVN but they are in the downloadable version of RunUO. The files are zlib32.dll and zlib64.dll. Copy these over to your server root directory (same directory as the "Data" and "Scripts" directory.
8. Run Server.exe to start your server.
You'll want to periodically check the SVN for updates. To do this, just right click your SVN folder and select "SVN Update". |
|