<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://osimdev.org/wiki/index.php?action=history&amp;feed=atom&amp;title=OpenSimulator_Internals%2FCode_Map%2FOpenSim</id>
	<title>OpenSimulator Internals/Code Map/OpenSim - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://osimdev.org/wiki/index.php?action=history&amp;feed=atom&amp;title=OpenSimulator_Internals%2FCode_Map%2FOpenSim"/>
	<link rel="alternate" type="text/html" href="http://osimdev.org/wiki/index.php?title=OpenSimulator_Internals/Code_Map/OpenSim&amp;action=history"/>
	<updated>2026-08-04T15:31:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>http://osimdev.org/wiki/index.php?title=OpenSimulator_Internals/Code_Map/OpenSim&amp;diff=48&amp;oldid=prev</id>
		<title>Jwbshaw: adds</title>
		<link rel="alternate" type="text/html" href="http://osimdev.org/wiki/index.php?title=OpenSimulator_Internals/Code_Map/OpenSim&amp;diff=48&amp;oldid=prev"/>
		<updated>2026-06-29T20:46:58Z</updated>

		<summary type="html">&lt;p&gt;adds&lt;/p&gt;
&lt;a href=&quot;http://osimdev.org/wiki/index.php?title=OpenSimulator_Internals/Code_Map/OpenSim&amp;amp;diff=48&amp;amp;oldid=43&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Jwbshaw</name></author>
	</entry>
	<entry>
		<id>http://osimdev.org/wiki/index.php?title=OpenSimulator_Internals/Code_Map/OpenSim&amp;diff=43&amp;oldid=prev</id>
		<title>Jwbshaw: first</title>
		<link rel="alternate" type="text/html" href="http://osimdev.org/wiki/index.php?title=OpenSimulator_Internals/Code_Map/OpenSim&amp;diff=43&amp;oldid=prev"/>
		<updated>2026-06-28T10:10:29Z</updated>

		<summary type="html">&lt;p&gt;first&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= OpenSimulator Internals/Code Map/OpenSim =&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
OpenSim.exe is the region simulator process. It loads configuration, initialises the physics and script engines, loads region modules, connects to ROBUST services, and runs one or more regions.&lt;br /&gt;
&lt;br /&gt;
In standalone mode, service implementations run in-process. In grid mode, service connectors make HTTP calls to ROBUST. The same code runs both ways -- only the config differs.&lt;br /&gt;
&lt;br /&gt;
Source repository: https://github.com/opensim/opensim&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Entry Point ===&lt;br /&gt;
&lt;br /&gt;
 OpenSim/Region/Application/OpenSim.cs -- Main()&lt;br /&gt;
&lt;br /&gt;
-- to be documented --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Config Loading ===&lt;br /&gt;
&lt;br /&gt;
 OpenSim/Region/Application/OpenSimBase.cs&lt;br /&gt;
&lt;br /&gt;
Same layered config mechanism as ROBUST. Reads OpenSim.ini, then config-include/ files. Architecture is selected via Include-Architecture in OpenSim.ini -- this determines whether the sim runs standalone or connects to a grid.&lt;br /&gt;
&lt;br /&gt;
-- to be documented --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== HTTP Server ===&lt;br /&gt;
&lt;br /&gt;
One HTTP server per simulator instance, default port 9000. Each additional region adds a port (9001, 9002, etc.).&lt;br /&gt;
&lt;br /&gt;
-- to be documented --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Region Module Loading ===&lt;br /&gt;
&lt;br /&gt;
Region modules are plugins loaded at startup. They provide services to the scene -- asset access, inventory, physics, scripting, estate management, and more.&lt;br /&gt;
&lt;br /&gt;
-- to be documented --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Service Connector Setup ===&lt;br /&gt;
&lt;br /&gt;
In grid mode, outbound service connectors are loaded as region modules from config-include/GridHypergrid.ini. Each connector makes HTTP calls to ROBUST for grid data.&lt;br /&gt;
&lt;br /&gt;
 OpenSim/Region/CoreModules/ServiceConnectorsOut/&lt;br /&gt;
&lt;br /&gt;
See [[OpenSimulator Internals/Connector Architecture]] for the full connector pattern.&lt;br /&gt;
&lt;br /&gt;
-- to be documented --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Scene Initialisation ===&lt;br /&gt;
&lt;br /&gt;
 OpenSim/Region/Framework/Scenes/Scene.cs&lt;br /&gt;
&lt;br /&gt;
One Scene instance per region. The Scene holds all in-world state: objects, avatars, physics, scripts, terrain, parcels, and references to all service connectors.&lt;br /&gt;
&lt;br /&gt;
-- to be documented --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Main Loop ===&lt;br /&gt;
&lt;br /&gt;
-- to be documented --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Shutdown ===&lt;br /&gt;
&lt;br /&gt;
-- to be documented --&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[OpenSimulator Internals/Code Map]]&lt;br /&gt;
* [[OpenSimulator Internals/Reading the Code]]&lt;br /&gt;
* [[OpenSimulator Internals/Architecture Overview]]&lt;br /&gt;
* [[OpenSimulator Internals/Connector Architecture]]&lt;/div&gt;</summary>
		<author><name>Jwbshaw</name></author>
	</entry>
</feed>