ModRex
From OpenSimulator
(Difference between revisions)
Line 7: | Line 7: | ||
===Linux=== | ===Linux=== | ||
− | |||
mkdir /opt/opensim opt/opensim/simulator /opt/opensim/authentication /opt/opensim/avatarstorage /opt/opensim/builds | mkdir /opt/opensim opt/opensim/simulator /opt/opensim/authentication /opt/opensim/avatarstorage /opt/opensim/builds | ||
− | + | cd /opt/opensim/builds/8218 | |
− | svn co http://opensimulator.org/svn/opensim/trunk | + | svn co http://opensimulator.org/svn/opensim/trunk . |
− | runprebuild.sh | + | sh runprebuild.sh |
nant | nant | ||
− | * | + | mkdir modrex modrex/build |
+ | cp -R bin/*.dll modrex/build | ||
+ | cd modrex | ||
svn checkout http://forge.opensimulator.org/svn/modrex/trunk . | svn checkout http://forge.opensimulator.org/svn/modrex/trunk . | ||
− | + | cd ModularRex | |
− | mono ../../bin/Prebuild.exe /target | + | vi prebuild.xml |
− | + | * Change each ../../../bin to ../../build, and each ../../bin to ../build, save and exit | |
− | * | + | mono ../../bin/Prebuild.exe /target monodev |
+ | * Open /opt/opensim/builds/8218/OpenSim.sln with MonoDevelop | ||
+ | * Add existing project > modrex/ModularRex/RexFramework/ModularRex.RexFramework.mdp | ||
+ | * Add existing project > modrex/ModularRex/NHibernate/ModularRex.NHibernate.mdp | ||
+ | * Add existing project > modrex/ModularRex/RexOdePlugin/ModularRex.RexOdePlugin.mdp | ||
+ | * Add existing project > modrex/ModularRex/ModularRex.mdp | ||
+ | * Change the runtime version for these projects to mono 3.5 | ||
+ | * Remove the broken OpenSim reference in the ModularRex project, and add the OpenSim project as reference | ||
+ | |||
+ | |||
* Download and build the authentication service | * Download and build the authentication service | ||
svn co https://realxtendserver.svn.sourceforge.net/svnroot/realxtendserver/authentication/tags/0.4 /opt/opensim/authentication | svn co https://realxtendserver.svn.sourceforge.net/svnroot/realxtendserver/authentication/tags/0.4 /opt/opensim/authentication | ||
− | bin/Prebuild.exe /target nant | + | cd /opt/opensim/authentication |
+ | mono bin/Prebuild.exe /target nant | ||
nant | nant | ||
− | * Create a mysql database | + | * Create a mysql database "authentication" |
+ | cd bin | ||
+ | mono Authentication.exe | ||
* Setup authentication | * Setup authentication | ||
MySql_SqlHandler.dll (or SQLite_SqlHandler.dll. MySql_SqlHandler.dll gives not implemented messages but seems to work ok) | MySql_SqlHandler.dll (or SQLite_SqlHandler.dll. MySql_SqlHandler.dll gives not implemented messages but seems to work ok) | ||
Line 42: | Line 55: | ||
* Download and build the avatarstorage service | * Download and build the avatarstorage service | ||
svn co https://realxtendserver.svn.sourceforge.net/svnroot/realxtendserver/avatarstorage/tags/0.4 /opt/opensim/avatarstorage | svn co https://realxtendserver.svn.sourceforge.net/svnroot/realxtendserver/avatarstorage/tags/0.4 /opt/opensim/avatarstorage | ||
+ | cd /opt/opensim/avatarstorage | ||
bin/Prebuild.exe /target nant | bin/Prebuild.exe /target nant | ||
nant | nant | ||
− | * Create a database | + | * Create a database "avatarstorage" |
+ | cd bin | ||
+ | mono AvatarStorage.exe | ||
* Setup avatarstorage | * Setup avatarstorage | ||
MySql_SqlHandler.dll | MySql_SqlHandler.dll | ||
Line 60: | Line 76: | ||
<enter>(ssl False) | <enter>(ssl False) | ||
''The avatarstorage daemon should run by now'' | ''The avatarstorage daemon should run by now'' | ||
+ | |||
+ | |||
* Setup OpenSim in standalone mode(Grid is not working yet); add these lines to OpenSim.ini: | * Setup OpenSim in standalone mode(Grid is not working yet); add these lines to OpenSim.ini: | ||
<source lang="bash"> | <source lang="bash"> |
Revision as of 02:15, 3 February 2009
Contents |
Overview
ModRex is a joint effort between RealXtend and OpenSim devs to make OpenSim aware of RealXtend specific functionality. It will not only enable the best of both worlds, but also speeds up the development of a solid standard for virtual worlds.
This is still pre-alpha code, so some features may not work.
Procedure
Linux
mkdir /opt/opensim opt/opensim/simulator /opt/opensim/authentication /opt/opensim/avatarstorage /opt/opensim/builds cd /opt/opensim/builds/8218 svn co http://opensimulator.org/svn/opensim/trunk . sh runprebuild.sh nant mkdir modrex modrex/build cp -R bin/*.dll modrex/build cd modrex svn checkout http://forge.opensimulator.org/svn/modrex/trunk . cd ModularRex vi prebuild.xml
- Change each ../../../bin to ../../build, and each ../../bin to ../build, save and exit
mono ../../bin/Prebuild.exe /target monodev
- Open /opt/opensim/builds/8218/OpenSim.sln with MonoDevelop
- Add existing project > modrex/ModularRex/RexFramework/ModularRex.RexFramework.mdp
- Add existing project > modrex/ModularRex/NHibernate/ModularRex.NHibernate.mdp
- Add existing project > modrex/ModularRex/RexOdePlugin/ModularRex.RexOdePlugin.mdp
- Add existing project > modrex/ModularRex/ModularRex.mdp
- Change the runtime version for these projects to mono 3.5
- Remove the broken OpenSim reference in the ModularRex project, and add the OpenSim project as reference
- Download and build the authentication service
svn co https://realxtendserver.svn.sourceforge.net/svnroot/realxtendserver/authentication/tags/0.4 /opt/opensim/authentication cd /opt/opensim/authentication mono bin/Prebuild.exe /target nant nant
- Create a mysql database "authentication"
cd bin mono Authentication.exe
- Setup authentication
MySql_SqlHandler.dll (or SQLite_SqlHandler.dll. MySql_SqlHandler.dll gives not implemented messages but seems to work ok) <enter>(AuthenticationEngine=AuthenticationEngine.dll) <enter>(logging enabled=False) <enter>(def. region x 1000) <enter>(def. region y 1000) <enter>(avatarstorageurl 172.16.1.65:10000) <enter>(default gridurl 172.16.1.65:9000) <enter>(default dns) <enter>(dbserver 127.0.0.1) <enter>(dbname authentication) <enter>(dbuser root) *******(dbpw for root) 172.16.1.65 (httpsettings LAN-IP)
The authentication daemon should run by now
- Download and build the avatarstorage service
svn co https://realxtendserver.svn.sourceforge.net/svnroot/realxtendserver/avatarstorage/tags/0.4 /opt/opensim/avatarstorage cd /opt/opensim/avatarstorage bin/Prebuild.exe /target nant nant
- Create a database "avatarstorage"
cd bin mono AvatarStorage.exe
- Setup avatarstorage
MySql_SqlHandler.dll <enter>(AuthenticationEngine.dll) <enter>(Inventory True) <enter>(PersonalInventoryService.dll) PersonalInventory.SQLITE.dll <enter>(logging_enabled False) <enter>(dbserver 127.0.0.1) avatarstorage (dbname) <enter>(dbuser root) ********(dbpw root) 172.16.1.65 (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:
[realXtend] enabled=true
- You can use this rex serverscript 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
- Avatar is stored, but appearance changes only after viewer restart