jump to navigation

Load OpenSim Regions (OARs) directly from the web November 27, 2009

Posted by justincc in oars, opensim-dev, virtual-environments, virtual-worlds.

Hi folks.  A little known feature of the “load oar” command for loading OpenSim region archives is the ability to load an OAR directly from the web.

Inspired by OpenVCE and Clever Zebra’s release of a conference/education OAR yesterday, I’ve now tweaked the code to make such direct web loading a bit easier (essentially I just removed strict policing of the MIME type).

So to try out OpenVCE/Clever Zebra’s region, all you need to do is start up an OpenSim instance and on the OpenSim command line type

load oar http://openvce.net/resources/downloads/opensim-openvce.oar

This will fetch the OAR directly from the web and load it into your current region.  Here’s a picture of my load of the OpenVCE/Clever Zebra OAR using the command above.

Unfortunately, this OAR load does have some issues.  Namely,

  1. The scripts don’t appear to start up and
  2. Odd chunks of the terrain that were previously on the region sometimes remain.  For instance, in the picture the raised bit of land just outside the ampitheatre is a left over from before the OAR load!

The scripts problem needs investigation though it’s not universal – I’ve recently loaded other OARs where scripts do correctly start up.  The terrain issue is a more general problem that also needs work.  However, the terrain is being correctly stored in the simulator – you just need to relog your viewer to get rid of any anomolies.

Of course, loading via the web doesn’t just work with the OpenVCE/Clever Zerba OAR – you can load in any OAR available via HTTP.  There are some more available via OpenSimWorlds and rexxed.  For example

load oar http://www.gomaya.com/glyph/opensim_dp/maya3.oar
load oar http://www.secondlifelab.it/downloads/cyberlandia.tar.gz

The cyberlandia OAR appears to have some prim corruption issues though it does successfully load.  And the nuathens.zip on these sites will not load directly because it’s actually a zip of an OAR rather than the OAR itself!

I’m quite excited about this functionality, if only because I’m very lazy and one command is far better than two (or three, or four). As well as being available in trunk this functionality will be in the next OpenSim release.  I’m also planning to put the same ability into OpenSim Inventory Archive (IAR) loading.



1. Tweets that mention Load OpenSim Regions (OARs) directly from the web | justincc.org -- Topsy.com - November 27, 2009

[…] This post was mentioned on Twitter by Julius Balogh, Justin Clark-Casey. Justin Clark-Casey said: New blog post – Load OpenSim Regions (OARs) directly from the web – http://bit.ly/8Ovh9C […]

2. rich - November 27, 2009

If executed via a script this would seem to not be terribly far off from the dynamic sculpty loading! A mashup of sorts between dynamic textures and something along these lines

3. justincc - November 27, 2009

@rich – Unfortunately, the principles will be different since the sculptie upload will need to convert from texture to jpeg2000 format, as well as other miscellaneous operations.

4. justincc - November 27, 2009

via Twitter, @RichWhite just pointed me at a very interest blog post of his showing Cobalt doing something very similar to this! Of course, in my cause I’m waiting for viewer developers to provide the fancy interface :).

Seriously, if anybody out there does want to do it then please contact me and I can make the functionality available via a capability.

5. justincc - November 27, 2009

Oops, I should say that the blog post is http://roots.greenbush.us/?p=867

6. links for 2009-11-27 | Metaverse3d.com - November 28, 2009

[…] Load OpenSim Regions (OARs) directly from the web | justincc.org […]

7. Diigo Update (weekly) « - November 29, 2009

[…] Load OpenSim Regions (OARs) directly from the web | justincc.org […]

8. This Week in OpenSim Dev - week ending Saturday 28th November 2009 | justincc.org - November 30, 2009

[…] removed strict MIME type checking when loading OpenSim Archives (OARs) directly from the web.  This functionality was present previously but this change makes things a little easier […]

9. justincc - December 1, 2009

On further testing, it looks like the scripts do start up (I can touch the screen near the middle of the region and get a response). However, the chair scripts may be slightly wonky – if I sit immediately I end up facing the wrong way, but if I edit a chair script and then sit, I sit in the correct position.

Not sure why this is – could be a general OpenSim bug rather than anything OAR related.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: