Load OpenSim Regions (OARs) directly from the web November 27, 2009Posted 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,
- The scripts don’t appear to start up and
- 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.