Thank you to the community who has helped me create my own Shard, now I will hope to enlighten all those who seek to create a shard of their own. This guide assumes you start with nothing, and know nothing. Questions and/or comments are greatly appreciated though I don't promise to be prompt on response
Step 1: Creating the Directory and Downloading the necessary files
- Create a folder somewhere easily reached:
(like your desktop or the root of your main hard drive (C:\)) called 'My UO Shard' Make sure to save all of the following in this folder !
Download the latest UO client here:
at this time it's 'The Legacy of Mondain' As it says.. largedownloads.ea.com .. do this first and get comfortable while we do the rest eh?
Download the 097 'Core' here.
don't unzip it yet just relax and lets download
the next item
Download the 097 'Distro' here.
again .. don't do anything with it..
Download UORice here
do nothing !
- Unzip the following to your 'My UO Shard' folder:
-Core
-Distro
-UORice
Make a folder called 'Original Downloads':
Or something as equally bland and obvious. Insert all of the .zip files into it so you have a reference in case problems occur (this is a sure thing my friends!)
Is UO done being a stupidly large DL ??:
It is! ok good go ahead and install it to its default path (C:\Program Files). When this is done move the uoml_setup file to the 'Original Downloads' folder for archival purposes.
Open the UORice folder and double click the executable:
You've just removed the client side encryption from UO ! awesome work. Navigate to UO directory (C:\Program Files\EA Games\Ultima Online Mondain's Legacy) and look for two icons 'No_Crypt_Client_2d' + 'No_Crypt_Client_3d'. if you see them then UORice has done it's job!! Lets clean up our work space and delete the 'UORice' folder from our 'My UO Shard' folder (If for some reason you need it again .. we have the zip file stored!)
Rename the '097-BasicSetup' folder:
To what you want the name of your shard to be ex. 'Kirins World' .. this is btw NOT a necessary step but it eases the mind and makes it less stressful to take in than '097-BasicSetup'.
Open then 'pol-core-097-2006-10-29-RC-Coregina' folder:
Copy all of the contents of this folder and paste t hem into the now renamed 'Kirins World' folder. It will ask you if you want to replace your 'scripts' folder , say yes. Go ahead and now delete the ever ridiculously named 'pol-core-097-2006-10-29-RC-Coregina' folder, as it has been properly gutted.
Ok now lets begin compiling the scripts that will maintain the various aspects/mechanics of your shard and help setup your 'realm'!
- Navigate to the 'scripts' folder:
In your 'My (kirins) World' directory. You'll see a file named 'example.cfg' but you'll note the type of the file is not a CFG instead it is an EXAMPLE file. Go ahead and open this in notepad. The first five lines tell the program 'ecompile' where to look for the various .src files to compile, it will look something like this:
You will now change where ecompile looks to the proper directory, in your case, following the examples in this tutorial it would come out as follows:Code: Select all
ModuleDirectory c:\cvsdistro\pol\scripts\modules IncludeDirectory c:\cvsdistro\pol\scripts PolScriptRoot c:\cvsdistro\pol\scripts PackageRoot c:\cvsdistro\pol\pkg PackageRoot c:\cvsdistro\pol\devpkg GenerateListing 1 GenerateDebugInfo 1 GenerateDebugTextInfo 1 DisplayWarnings 1 CompileAspPages 1 AutoCompileByDefault 1 UpdateOnlyOnAutoCompile 1 OnlyCompileUpdatedScripts 1 DisplaySummary 1 GenerateDependencyInfo 1 DisplayUpToDateScripts 0
Now that it knows where to look save the file as ecompile.cfg. Now some people depending on karma and such will have difficulty figuring out how to get it from type .example to type .cfg. If this is you then copy a .cfg file from somewhere else to your scripts directory and rename it ecompile.cfg. Open it in notepad or something else and replace the contents appropriately.Code: Select all
ModuleDirectory c:\My UO Shard\Kirins World\scripts\modules IncludeDirectory c:\My UO Shard\Kirins World\scripts PolScriptRoot c:\My UO Shard\Kirins World\scripts PackageRoot c:\My UO Shard\Kirins World\pkg PackageRoot c:\My UO Shard\Kirins World\devpkg GenerateListing 1 GenerateDebugInfo 1 GenerateDebugTextInfo 1 DisplayWarnings 1 CompileAspPages 1 AutoCompileByDefault 1 UpdateOnlyOnAutoCompile 1 OnlyCompileUpdatedScripts 1 DisplaySummary 1 GenerateDependencyInfo 1 DisplayUpToDateScripts 0
Now there are some lines missing from the vitalInit.src file so we must add them prior to compilation to make sure the emulator can read from them and consequently boot up properly !
Navigate to and open vitalInit.src:
For this example would be in: C:\My UO Shard\Kirins World\pkg\attributes\hooks. Add the following to the bottom of the file and save it:
Start StartHere.bat:Code: Select all
exported function GetHitsRegenRate(mobile) return 10000; endfunction exported function GetHitsMaximumValue(mobile) return 10000; endfunction
In your 'My(kirins) World' folder you'll find a file called 'starthere.bat'. Click it and you'll be presented with a menu select option 'b' and press return. Next, select option 'd' and press return in order to compile all the .src files you just told ecompile to look for. Close this out, you now have the barebones scripts for getting your world started !
Create a new folder:
In your 'My(kirins) World' folder called 'MUL'. Open it. In a new window navigate to your primary UO directory and copy the following files:
map0.mul
multi.idx
multi.mul
staidx0.mul
statics0.mul
tiledata.mul
verdata.mul
Into your MUL folder. Run the 'starthere.bat' program again and select 'a' RealmGen tools. A variety of options will come up this example assumes you're creating an emulated version of UO MOndains Legacy, and I will not cover how to do the others - it's straightforward and I'm sure you CAN figure it out. Select option 'e' for Britannia realm, and then select 'b' for the Mondains Legacy extensions. THIS PART TAKES A WHILE SO RELAX AND DONT PRESS ANYTHING! It will pause at "Initializing files:" so wait a bit then it will proceed to slowly slowly slowly convert the files we just put in the MUL folder to something readable by the emulator. Wait until this is done. After it finishes a 'primary conversion' some things will scroll and then again it will return to the 'Converting' dialog, this is normal just wait it out again . When it says 'press any key to continue... do so !
- Get back to the main menu of the 'starthere.bat' program:
Select option 'd' to 'start POL', Some things will scroll and you may get a NON FATAL error about a start.ecl file or starting script - this is for customized onLoad type options and won't hinder starting the server so disregard it for now. Lines will scroll and it should end all dandy with a line like:
Listening for HTTP requests on port 5000
This means as it says.. it's waiting for people to login. Minimize this window.
Open your main UO folder:
double click the icon produced by UORice entitled:
No_Crypt_Client_2d.exe
The loading screen for UO will appear and when prompted for a user name and password enter:
admin
admin
If there are any problems or inquiries I regret to inform you that I doubt I can help ! But if you feel the need to ask me directly then do so. The POL community is polite and helpful but we are all busy human beings. Patience and perserverance are all that is needed to enjoy the enormous work of this community !
Kindest Regards,
Kirin