You are not logged in (login or register) Sitemap | Help!

How to install Opensim on Mac OSX - The Easy Way...

...there is an easy way and a hard way, this is the easy way :)

Edited by: SP

Link

If you want to keep the Terminal commands to a minimum and want to retain some of your sanity for later use like getting creative, you can use this streamlined method. As with The Geeky Way, the first step is installing Mono.

1. Install the Mono Framework, you can get the .dmg file here

2. Download the conveniently prepared Opensim on Mac OSX Starter Kit and put all files into the home directory

  MayaSim

Download the dmg, double click the resulting disk icon to open it and drag the opensim folder onto your home directory icon. Drag the opensimstartup.sh icon into the same place.

The Starter Kit includes the Maya region OAR as on the http://www.rexxed.com/ shop. Perfect if you feel the sudden need to sacrifice some alts, hobbits or noobs....

 

3. Double-click the opensimstartup.sh icon to start the server.

Wait until you see the configuration prompt, then hit return for all default settings except region name, user name and password - choose your preferred entries for these.

(See the screenshots in The Geeky Way for more details)

 

4. Use the Hippo Viewer to see your world:

(Obviously you have to Download and install the Hippo Viewer if you have not already done so.)

When it opens, hit the Grids button on the bottom menu bar. In the window that pops up, use the top dropdown to choose "local" - the parameters of your server will populate the page. That is really just the internal IP address and port - 127.0.0.1:9000. If you will be using your local sim often, you can hit the default button at the top to make this the default region. Click Apply and OK. The window will disappear, and the background will be black.

Login using the username and password you entered at the prompts when you first started the server. You will arrive in your new world as Ruth - a generic avatar. Open inventory, go to Create at the top of the window, and create a new body shape and a new skin - this is necessary because otherwise they will be locked when you go to edit appearance. Right-click or control-click on the avatar, choose edit appearance, and you can make sure that you are no longer plain Ruth.

You will find yourself on one little circular island. Use edit terrain tools to change it, or load an OAR file (like the Maya Region OAR as included in the Starter Kit). Look at the instructions at the end of The Geeky Way for more tips.

GET OFF THE ISLAND - Load a pre-built sim to kickstart your own ideas

That little island is fun for about 5 seconds. Then you will want to edit the terrain (right-click or control-click on the ground, and choose edit terrain) or load a file to give you a more interesting island. There are a number of file formats that you can load. 

The Terminal window becomes the console for Opensim once you have started the server.  If type in the word help, and hit return, you get a list of commands that are available in the console. Here is a partial list, including the load and save commands.

image020

 

I have included my Maya sim (with Temple of the Inscriptions pyramid) in the bin folder.

Save your own sim first, by typing

save oar mysim.oar

then

load oar maya.oar

to transform your island to the Maya sim. To download other files to use, look at http://www.rexxed.com for xml or oar files. There you can find Nu Athens by Lordfly Digeridoo and some other oar and xml files. Note that there is no punctuation in these commands other than the "dot" before oar or xml.

Article tagged: OpenSim | howto | MacOSX | Tutorial | Standalone


16 comment(s) for “Opensim on Mac OSX - The Easy Way”


Gravatar of tenuki tenuki said on Friday, June 05, 2009 (3:24:07 PM)

Get the latest hippo viewer here

http://www.opensim.talentraspel.de/downloads
Gravatar of Kitsune Kitsune said on Friday, July 10, 2009 (1:19:41 AM)
When will the grid version be ready? will it be able to connect to the OSgrid?
Gravatar of Kitsune Kitsune said on Friday, July 10, 2009 (1:34:28 AM)
By the way...Thanks so much for this tutorial...It made life so much easier for me!
Gravatar of Adam Adam said on Monday, July 13, 2009 (2:59:51 PM)
Can I create a local network and bring other people into the virtual server? through terminal commands?
Gravatar of Adam Adam said on Tuesday, July 14, 2009 (2:17:00 PM)
Perfect tutorial I am enjoying and learning so much thanks to this starting point - my heartfelt thanks
Gravatar of Von Johin Von Johin said on Friday, August 07, 2009 (5:32:58 PM)
Can't get it to run on Mac OS X Leopard Server 10.5.8 on a Mac Mini Power PC G4 1.25 machine. The script runs wonderfully, I take the defaults, name the region, set a user and password, then it terminates and won't run. Any suggestions? Will it just not run on that machine? Is there an OS X version issue?
Gravatar of Von Johin Von Johin said on Friday, August 07, 2009 (5:37:04 PM)
Working great on my MacBook Pro Intel unibody 17" machine, though. FYI
Gravatar of Dave P Dave P said on Sunday, August 09, 2009 (3:36:39 PM)
I'm glad other Mac folks found this useful. Sorry I never followed up on the grid version. I may revisit it. But there is information on the OpenSim site.

At this point some of the people who got this to work could write their own tutorials, using the latest versions of Opensim. And yes, Von Johin, I suspect it is an OS version (server) issue.
Gravatar of Joe Photon Joe Photon said on Thursday, August 13, 2009 (2:01:34 PM)
I got this to work on my MacPro earlier, but I cannot get the installation to go on my new MacBook Pro.

The specific problem is that it does not accept the user name that I create initially.

When I attempt to run create user, I get the following:

12:56:02 - [USERSTORAGE]: Unable to add user via Sqlite Userdata(System.ArgumentException: Cannot cast from source type to destination type.. Couldn't store <00000000-0000-0000-0000-000000000000> in Column named 'homeRegionID'. Expected type is String. ---> System.InvalidCastException: Cannot cast from source type to destination type.
at System.Data.Common.DataContainer.GetContainerData (System.Object value) [0x00000]
at System.Data.Common.StringDataContainer.SetValue (Int32 index, System.Object value) [0x00000]
at System.Data.Common.DataContainer.set_Item (Int32 index, System.Object value) [0x00000]
at System.Data.DataColumn.set_Item (Int32 index, System.Object value) [0x00000]
--- End of inner exception stack trace ---
at System.Data.DataColumn.set_Item (Int32 index, System.Object value) [0x00000]
at System.Data.DataRow.set_Item (Int32 columnIndex, System.Object value) [0x00000]
at System.Data.DataRow.set_Item (System.String columnName, System.Object value) [0x00000]
at OpenSim.Data.SQLite.SQLiteUserData.fillUserRow (System.Data.DataRow row, OpenSim.Framework.UserProfileData user) [0x00000]
at OpenSim.Data.SQLite.SQLiteUserData.AddNewUserProfile (OpenSim.Framework.UserProfileData user) [0x00000]
at OpenSim.Framework.Communications.UserManagerBase.AddUser (System.String firstName, System.String lastName, System.String password, System.String email, UInt32 regX, UInt32 regY, UUID SetUUID) [0x00000] )
Gravatar of Matt Baucco Matt Baucco said on Wednesday, August 26, 2009 (2:11:47 PM)
It looks as if I am having the exact same problem as Joe Photon on my iMac, 2.4ghz core duo
Gravatar of SS SS said on Tuesday, September 22, 2009 (10:55:11 PM)
Always just get stuck on initializing addin manager.
Gravatar of SS SS said on Tuesday, September 22, 2009 (10:57:09 PM)
ohh, osx 10.5.8, iMac, btw.
Gravatar of 7 7 said on Sunday, October 04, 2009 (4:02:00 AM)
I think I have set everything up properly, but when trying to login it just reports "Unable to connect. Despite our best efforts something unexpected has gone wrong." Any ideas?
Gravatar of Gnome Gnome said on Wednesday, October 21, 2009 (9:02:48 PM)
I had this running once, however when I went to re-do it. And re-installed the files, and started it. It went through the configuration fine, but now when I start it. It gives me this:

03:00:04 - [APPLICATION]:
APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs

Exception: System.Net.Sockets.SocketException: The requested address is not valid in this context
at System.Net.Sockets.Socket.Bind (System.Net.EndPoint local_end) [0x00000]
at OpenSim.Region.ClientStack.LindenUDP.LLUDPServer.ServerListener () [0x00000]
at OpenSim.Region.ClientStack.LindenUDP.LLUDPServer.Start () [0x00000]
at OpenSim.OpenSimBase.CreateRegion (OpenSim.Framework.RegionInfo regionInfo, Boolean portadd_flag, Boolean do_post_init, IScene& mscene) [0x00000]
at OpenSim.OpenSimBase.CreateRegion (OpenSim.Framework.RegionInfo regionInfo, Boolean portadd_flag, IScene& scene) [0x00000]
at OpenSim.ApplicationPlugins.LoadRegions.LoadRegionsPlugin.PostInitialise () [0x00000]
at OpenSim.OpenSimBase.StartupSpecific () [0x00000]
at OpenSim.OpenSim.StartupSpecific () [0x00000]
at OpenSim.Framework.Servers.BaseOpenSimServer.Startup () [0x00000]
at OpenSim.Application.Main (System.String[] args) [0x00000]

Application is terminating: True

logout

[Process completed]



Is there a reason why this may be happening?
Gravatar of Kathy Shaw Kathy Shaw said on Thursday, November 12, 2009 (4:19:11 AM)
Ok, I am trying to learn how to use opensim to make a region for a non profit org.
I know nothing about using terminal but I want to learn:)
So I followed the directions and used my second life login and password and named the region kmstest.

When I try to login with hippo it says
Unable to connect. Despite our best efforts, something unexpected has gone wrong.

I used the hippo client to sign into second life and it worked ok so I don't think it is hippo.

So any ideas what I should do to get it running?
I am using os 10.5.8 on an imac 24
Hippo_OpenSim_Viewer_v0.5.2_OSX
Anybody out there willing to teach me how to set up and run an opensim region ?
Thanks
Kathy Shaw
kmsdesigns@aol.com


Gravatar of Zep Zhangsun Zep Zhangsun said on Sunday, December 13, 2009 (12:02:56 PM)
This is amazing, I am a graphic designer, and I was able to setup my own region!
Thank you, Thank you! Dave