From OpenSimulator

Revision as of 01:39, 7 January 2009 by Phrearch (Talk | contribs)

Jump to: navigation, search



ModRex is a joint effort - in the form of a module - to make OpenSim aware of RealXtend specific functionality. It will allow us to use the best of both worlds. RealXtend with features like meshes, uv-mapping, particle-scripts, python-scripting, bots, and OpenSim-trunk with up-to-date codebase, and features like region webloading, mysql, hypergrid and webmaps.

This is still pre-alpha code, so some features may not work.



If you're on windows, download the module from the forge, and compile using visual studio.


At the moment branch 0.2 is used, but normally check out trunk. I use this directory structure for RealXtend now:

mkdir /opt/opensim opt/opensim/simulator /opt/opensim/authentication /opt/opensim/avatarstorage /opt/opensim/builds
  • Check out and compile OpenSim:
svn co /opt/opensim/builds/7xxx
  • Make a directory 'modrex' in your checked out OpenSim dir, and from there check out modrex(or check out a branch, if current)
svn checkout .
  • Prepare the code for nant(There should be a prebuild.xml file):
mono ../../bin/Prebuild.exe /target nant
  • Copy bin/Debug/ModularRex.dll to /opt/opensim/simulator
  • Download and build the authentication service
svn co /opt/opensim/authentication
bin/Prebuild.exe /target nant
  • Create a mysql database for authentication(authentication?) and start the service with mono
  • Setup authentication
MySql_SqlHandler.dll (or SQLite_SqlHandler.dll. MySql_SqlHandler.dll gives not implemented messages but seems to work ok)
<enter>(logging enabled=False)
<enter>(def. region x 1000)
<enter>(def. region y 1000)
<enter>(default gridurl
<enter>(default dns)
<enter>(dbname authentication)
<enter>(dbuser root)
*******(dbpw for root) (httpsettings LAN-IP)

The authentication daemon should run by now

  • Download and build the avatarstorage service
svn co /opt/opensim/avatarstorage
bin/Prebuild.exe /target nant
  • Create a database for avatarstorage(avatarstorage?) and start the service with mono
  • Setup avatarstorage
<enter>(Inventory True)
<enter>(logging_enabled False)
avatarstorage (dbname)
<enter>(dbuser root)
********(dbpw root) (httpsettings LAN-IP)
<enter>(http port 10000)
<enter>(ssl False)

The avatarstorage daemon should run by now

  • Setup OpenSim in standalone mode(Grid is not working yet); add these lines to OpenSim.ini:
  • You can use this mooxtd little script to manage and start the services(uses screen)
  • Create a user in the authentication console
create user

the 'Account' part is the first part in your rex-username(account@myauthenticationdaemonuri) Once the three services are running, an initial user was made, fire up the realXtend client with wine and login.

Known Quirks

  • Shift-copy a mesh leaves a prim behind
  • Meshes are persistant only after a clean shutdown
  • Mesh collision doesn't work yet
Personal tools
About This Wiki