Tried installing open simulator on Mac OS X Lion today just to see if the new Mono really fixes the earlier database issues..

So yes, as the very long title says, I just tried installing open simulator on mac osx lion today, just to see if the new Mono really fixes the earlier database issues.

If you recall many of the earlier blog posts here and postings elsewhere by Mac people, the “Mono” environment had some issues running certain .NET functions on our beloved platform, so there was a need to do some workarounds to get it working, especially with databases such as OpenSimulator’s default DB of choice, SQLlite. Well, good news is, Mono just released an update, which fixes these problems, so databases now do what they are supposed to do, yay! Here is a quick step-by-step walkthrough how EASY it is to get OpenSimulator up and running on a Mac OS X 10.7 (Lion) machine:

Step 1- Download and unpack the latest OpenSim package.

You can download the OpenSim package here:

http://dist.opensimulator.org/opensim-0.7.1.1-bin.zip

I downloaded opensim 0.7.1.1 (pc zip archive), then unpacked it on my desktop. Next, I moved that folder to /opt/ — this is where OpenSim likes to be for Linux and Unix distributions, so, I put it here too. You don’t have to do any fancy stuff other than unpack the ZIP or TAR archive and put it there, that’s it, you’re done. You can put it anywhere you like, really, it doesn’t matter.

Step 2- Download and install Mono.

You can get the latest version of Mono (the one I downloaded, at the time of this posting) here:

http://download.mono-project.com/archive/2.10.5/macos-10-x86/0/MonoFramework-MRE-2.10.5_0.macos10.xamarin.x86.dmg

I downloaded the Runtime Environment 2.10.5 (which is a Mac .dmg file), then mounted it by double-clicking it, then installed it. To install it, you just launch the package icon, and it does its own self-install. Very straight forward, and you’re done.

Step 3- Now we open a terminal prompt (bash is the default command shell for Mac OS X) and you type in a few commands to get it fired up.

$ cd /opt/opensim-0.7.1.1-bin/bin

Right, I’m just changing directories to the bin folder, which is located inside the OpenSim distribution I unpacked earlier.

$ mono OpenSim.exe

This tells the “mono” runtime environment to run “OpenSim.exe” which is a Windows program coded in .NET — because .NET isn’t native to FreeBSD Unix (which our Macs are based on), our Macs don’t know what to do with such Windows programs. So, we use mono to run this, since it can tell our Mac how to make use of .exe files such as OpenSim. We run it from the command prompt so that we can see a running output of the commands, as well we need to enter some initial data into OpenSim as it creates our virtual world(s), so this is always the preferred way to launch it. You can make a script to auto-launch it later, but that simple task is beyond the scope of this little blog post!

Now you will see OpenSim scroll a whole bunch of interesting information about what it’s doing. On first launch, it’s going to ask us some information about the region (or sim) we are setting up. Just use the default values for now, you can always change them later.

When prompted for region name, enter something.

When prompted for estate name, enter something here too.

When prompted for estate owner, use the defaults or create your own avatar name (you may need to create the user or change the password later. I just used the defaults (user= “Test User” and made the password “test”)

So, if you were as successful as I was, you will see now everything looks good so far.. we did not edit any ini files, but viola, it’s good to go!

Step 4 – Load your viewer and login!

You can use whatever viewer you like. I just happen to have the Imprudence viewer handy so I used that, and it already had settings for a localhost login so I was good to go.

Once you login, you should be staring at a RUTH avatar on a rough mound of terrain. Welcome to your own stand-alone heh!

So, the new version of mono DOES fix the earlier database issues with SQLlite handling, so it’s easy once again to install a fully-working OpenSimulator stand-alone, right out of the box, with no post-install configuration or maddening tweaking needed.

That’s great news for people who want to install a region on their own computer, or builders who want a private, fast sandbox to build stuff in “offline” mode. Yippee!

You can read my earlier blog posts about some of the trials I’ve gone through in the past to get working installations on Mac OS X (that was Leopard, by the way, I’ve since upgraded to Lion).

I’ve also done lots of work exporting stuff from Linden’s Second Life grid and then imported my creations into OpenSimulator grids such as New World Grid, Inworldz, OSgrid, and the now defunct RolePlayWorlds grid. Neato stuff.

If you’re a struggling educator, non-profit, or otherwise trying to get OpenSimulator (or versions thereof, for example the Diva Distro), but are running into errors or issues, or even if you have some questions you can’t get answered, then by all means feel free to ask me for help, if it’s something I can help with, I’ll lend a hand. If it’s something I can’t help with, then I probably know other helpful people you could ask so that you get whatever projects or goals you have accomplished.

The new build of OpenSim also has improved hypergrid support, but that too is beyond the scope of this article.

Best regards,
-StarLord

Leave a Reply

Your email address will not be published. Required fields are marked *