Developer Documentation

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Updated the developer discussion links, added a link to OpenSimulator Discord channel)
(→‎Source Code Repository Access: cleaned up broken links and added updated repo info with correct browse/clone URLs)
 
Line 3: Line 3:
 
== Source Code Repository Access ==
 
== Source Code Repository Access ==
  
−
OpenSimulator uses git as its source code repository.
+
=== Official OpenSimulator Git Repository ===
  
−
git clone git://opensimulator.org/git/opensim
+
The official git repo uses an older git web UI called '''[https://web.archive.org/web/20161120202538/http://viewgit.fealdia.org/viewgit viewgit (2016 Wayback archive)]'''. Because of Viewgit's age, it will probably not be familiar to most developers used to working with modern git UIs like github or gitlab. The repo also uses the legacy git clone format, so you'll need to specify a <nowiki>'git://'</nowiki> prototype in the URL to clone instead of using HTTPS or SSH.
  
 +
  Browse: http://opensimulator.org/viewgit/?a=shortlog&p=opensim
  
−
See [[Source Code Repository]] for more details.  
+
  Clone:  '''git clone <nowiki>git://opensimulator.org/git/opensim</nowiki>'''
  
−
See [[Using Git]]&nbsp;for more Details on installing and using GIT&nbsp;with OpenSimulator.org
+
See [[Source Code Repository]], for more details on using the official repo,
  
−
You can also browse the source code for OpenSimulator [http://opensimulator.org/viewgit/?a=shortlog&p=opensim using a web browser].
+
=== Github Mirror ===
  
−
[[opensim-libs git repository]] contains the source code to some of the 3rd party libraries built and included in OpenSimulator.
+
The official OpenSimulator repository is mirrored to github, so that will be the easiest and fastest place to clone or fork the code for most developers. Note that large pull requests may not be accepted via github but smaller ones, like 1-line fixes, are sometimes accepted there. For larger pull requests you'll be expected to use the older method of creating a patch file and attaching it to bug report.
  
−
[https://bitbucket.org/opensimulator/libopenmetaverse libOpenMetaverse] contains the source code of libOpenMetaverse for versions  >= 0.9.1.0
+
  Github home for OpenSimulator: https://github.com/opensim
−
( the code for dotnet 6 needed for OpenSimulator 0.9.3.0 is on its branch dotnet6 )
+
  
−
'''See Also:'''
+
  Browse: https://github.com/opensim/opensim
  
−
[http://opensimulator.org/viewgit/?a=rss-log&p=opensim OpenSimulator git commits RSS feed]
+
  Clone (HTTPS): '''git clone <nowiki>https://github.com/opensim/opensim.git</nowiki>'''
 +
 
 +
  Clone (SSH): '''git clone git@github.com:opensim/opensim.git'''
 +
 
 +
'''See Also:'''
  
−
[https://www.openhub.net/p/opensimulator OpenSimulator Project Metrics] can be found on the Synopsys Black Duck Open Hub website.
+
* [[Using Git]] - more details on installing and using git for OpenSimulator.org development
 +
* [[opensim-libs git repository]] - details on repository containing some of the 3rd party libraries built and included in OpenSimulator
 +
* [https://bitbucket.org/opensimulator/libopenmetaverse libOpenMetaverse] - a BitBucket git repo containing the libOpenMetaverse library for OpenSimulator versions  >= 0.9.1.0
 +
* [https://github.com/opensim/opensim/forks?include=active&page=1&period=2y&sort_by=last_updated OpenSimulator forks] - List of OpenSimulator forks on github
 +
* [https://github.com/opensim/opensim/commits/master/ Recent Commits] - from OpenSimulator github mirror
 +
* [https://github.com/opensim/opensim/commits/master.atom ATOM Commit feed] - from OpenSimulator github mirror
 +
* [http://opensimulator.org/viewgit/?a=rss-log&p=opensim RSS commit feed] - from OpenSimulator official repo
 +
* [https://openhub.net/p/opensimulator OpenHub Metrics for OpenSimulator Project] - commit and contributor statistics for OpenSimulator official repo
  
 
== Contributing ==
 
== Contributing ==

Latest revision as of 08:04, 5 December 2026

Contents

[edit] Source Code Repository Access

[edit] Official OpenSimulator Git Repository

The official git repo uses an older git web UI called viewgit (2016 Wayback archive). Because of Viewgit's age, it will probably not be familiar to most developers used to working with modern git UIs like github or gitlab. The repo also uses the legacy git clone format, so you'll need to specify a 'git://' prototype in the URL to clone instead of using HTTPS or SSH.

 Browse: http://opensimulator.org/viewgit/?a=shortlog&p=opensim
 Clone:  git clone git://opensimulator.org/git/opensim

See Source Code Repository, for more details on using the official repo,

[edit] Github Mirror

The official OpenSimulator repository is mirrored to github, so that will be the easiest and fastest place to clone or fork the code for most developers. Note that large pull requests may not be accepted via github but smaller ones, like 1-line fixes, are sometimes accepted there. For larger pull requests you'll be expected to use the older method of creating a patch file and attaching it to bug report.

 Github home for OpenSimulator: https://github.com/opensim
 Browse: https://github.com/opensim/opensim
 Clone (HTTPS): git clone https://github.com/opensim/opensim.git
 Clone (SSH): git clone git@github.com:opensim/opensim.git

See Also:

[edit] Contributing

[edit] Submitting Patches

Please review Submitting code to OpenSim

[edit] Feature Proposals

Larger changes may require feature proposals depending on whether they introduce or significantly change existing functionality. Please use your judgement to determine whether this is required.

For more details please see the Feature Proposals page.

[edit] Developer Discussions

[edit] Developer Documentation

Please be aware that some of this documentation may be out of date. If this appears to be the case then please ask for more information on the mailing lists or IRC channels (details are on the Main Page). If you can't find what you want here you might want to try looking in the User Documentation.

[edit] General

[edit] Development

  • Mantis Bug Tracking — Mantis is the issue tracking tool of OpenSimulator.
  • Continuous Integration — OpenSimulator's Jenkins installation builds the source base after each commit and runs the regression tests.

[edit] Testing

[edit] Architecture

[edit] Services

  • Connectors — A description of OpenSimulator's connector architecture, used for linking region code with services (asset, inventory, etc.) in both local (standalone) and distributed (grid) configurations.
  • Services - A description of the grid and simulator services used by OpenSimulator.

[edit] Communication

  • LLUDP ClientStack - Information on the LLUDP client stack used by OpenSimulator to send and receive UDP packets from viewers implementing the Linden Labs virtual environment protocol.
  • LLUDP Dissector - Lua code for a wireshark protocol dissector that can parse the message_template.msg file and use it to decode all the message fields from the LLUDP protocol
  • Communication Protocols - Introduction to the various communication protocols used by OpenSimulator. This includes viewer to OpenSimulator TCP and UDP protocols (e.g. login, agent update message exchange, asset fetch, etc.), inter-region protocols and grid service protocols. It also details methods by which arbitary UDP and TCP messages can be sent back and forth between clients/modified viewers and OpenSimulator region modules.
  • Agent Domain / Service - Details about the GridForge hosted Agent Domain/Service code (legacy doc since this LL inspired work has long been abandoned).

[edit] Database

  • Database Documentation — Information on the database schemas used in OpenSimulator
  • MonoSqlite — How the database model currently works.
  • LSL:PrimitiveParams — Notes on converting SL Edit GUI values and LSL PrimitiveParams to OpenSimulator PrimitiveBaseShape fields

[edit] Formats

  • OpenSim Archives - Opensim Region Archive (OAR) file format.
  • Inventory Archives - OpenSimulator Inventory Archive (IAR) file format
  • Asset Formats - OpenSimulator asset formats. This includes serialized object formats and appearance formats.

[edit] Integration

  • AuthIntegration - How to integrate external authentication systems (such as web frontends) with OpenSimulator's authentication system.
  • ClothingManipulation - How to set clothing on avatars using external ROBUST service calls.
  • UserManipulation - How to create users in OpenSimulator via external calls through ROBUST (only available when running in grid configuration).
  • RemoteAdmin - How to use the remote admin plug-in. Some functions (e.g. user creation) are only available when running in standalone configuration.
  • RegionIntegration - Integrating a region and the things within it (scene objects, etc.) with external sources of data and webpages.
  • RestConsole - Description how to use the REST remote console
  • REST - Information about the REST interface to assets, inventory, etc.
  • Webinterface - Integrating the external face of OpenSimulator with the web.
  • Services - Contains general information on the default OpenSimulator services (asset, inventory, etc.) and more detailed information of HTTP interfaces for some services.
  • Known Web Interfaces within OpenSim - The set of CAPS, XMLRPC, or REST entry points in the project.

[edit] Inventory

[edit] Map

[edit] Permissions

[edit] Physics

[edit] Regions/Scenes

[edit] Scripting

  • Scripting Documentation — How to use scripts and what limitations apply.
  • LSL Status — A list of LSL-functions that are available in OpenSimulator.
  • OSSL — Some information about the OpenSimulator Scripting Language, and how to implement an OSSL function
  • OSSL Script Library/ModSendCommand - A mechanism for in-world scripts to use a generic modSendCommand() and the link_message event to communicate with region modules.
  • OSSL_Script_Library/ModInvoke - A mechanism for region modules to make new functions available to in-world scripts without patching the OpenSimulator runtime.
  • ScriptEngines — Information about script engines (chiefly XEngine).
  • Scripts Performance - Factors that affect script performance, and how to measure them

[edit] Search

[edit] Sound

  • Sound Protocol - Technical information about the sound protocols (e.g. UDP messages between viewer and server).

[edit] Statistics

  • Stats Manager - Information about the main statistics monitor used in OpenSimulator and how to add/remove extra stats from modules.
  • Web Statistics Module - The web statistics module documentation and counter wish list.

[edit] Threading

  • Threading — Information on the way that threads are used in OpenSimulator.

[edit] Users

  • Appearance Troubleshooting - Also contains useful information about avatar behave and the relevant message exchanges between the viewer and the simulator.
  • Attachment Protocols - Information on the attachment protocols used by viewers and OpenSimulator.
  • Name Binding - Some information on how OpenSimulator (and Second Life) binds user UUIDs to names (e.g. 25bf6e60-91c0-4d28-8349-ba254cd4388e -> Jane Doe).
  • Userlevel — Explanation of permissions granted via "God Mode"/Admin Status.

[edit] More About the Dev Infrastructure

See the Infrastructure page for more details on the software infrastructure that supports OpenSimulator development.

[edit] Next Gen OpenSim

Development ideas and discussion related a a future "next gen" OpenSim

[edit] Recent Git Commits

add experimental PhysX physics module, donated by Fred K Beckhusen (UbitUmarov) (Sat, 05 Dec 2026 17:20:20 -0800)
add experimental PhysX physics module, donated by Fred K Beckhusen UbitUmarov <ajlduarte at sapo dot pt> OpenSim/Region/PhysicsModules/PhysX/LICENSE
avoid a null ref (UbitUmarov) (Sat, 05 Dec 2026 16:46:35 -0800)
avoid a null ref UbitUmarov <ajlduarte at sapo dot pt> .../LoadRegions/EstateLoaderFileSystem.cs
Merge pull request #91 from Tampa/fetchinv-cosmetics (Ubit Umarov) (Sat, 05 Dec 2026 11:58:43 -0800)
Merge pull request #91 from Tampa/fetchinv-cosmetics Cosmetics on FetchInventory Ubit Umarov <ajlduarte at gmail dot com> .../Handlers/FetchInventory/FetchInvDescHandler.cs
Cosmetics on FetchInventory (Vincent Sylvester) (Sat, 05 Dec 2026 08:28:06 -0800)
Cosmetics on FetchInventory Vincent Sylvester <vincentsylvester at zetamex dot com> .../Handlers/FetchInventory/FetchInvDescHandler.cs
a few changes to RequestTaskInventory. Thx Gavin (UbitUmarov) (Fri, 04 Dec 2026 03:25:02 -0800)
a few changes to RequestTaskInventory. Thx Gavin UbitUmarov <ajlduarte at sapo dot pt> .../Linden/Caps/BunchOfCaps/BunchOfCaps.cs
minor change on CreateTaskInventoryItem (UbitUmarov) (Tue, 01 Dec 2026 10:22:42 -0800)
minor change on CreateTaskInventoryItem UbitUmarov <ajlduarte at sapo dot pt> .../Linden/Caps/BunchOfCaps/BunchOfCaps.cs
add cap RequestTaskInventory. this should replace udp to get prims contents. Needs testing (UbitUmarov) (Mon, 30 Nov 2026 18:27:57 -0800)
add cap RequestTaskInventory. this should replace udp to get prims contents. Needs testing UbitUmarov <ajlduarte at sapo dot pt> .../Linden/Caps/BunchOfCaps/BunchOfCaps.cs
a few changes to the new CreateTaskInventoryItem(). May need more testing (UbitUmarov) (Sun, 29 Nov 2026 16:53:20 -0800)
a few changes to the new CreateTaskInventoryItem(). May need more testing UbitUmarov <ajlduarte at sapo dot pt> .../Linden/Caps/BunchOfCaps/BunchOfCaps.cs


Personal tools
General
About This Wiki