[Opensim-dev] INI files modularity
Frank Nichols
j.frank.nichols at gmail.com
Fri Apr 10 19:39:43 UTC 2015
It’s even easier than that. Create a “config” directory in your bin directory. Place .ini files in it and they are automatically included with NO modification required in the OpenSim.ini. I have been including the “.ini” being discussed for a year or two now using that method.
Frank
> On Apr 10, 2015, at 3:32 PM, Michel Beauregard <gimisa at yahoo.fr> wrote:
>
> Hello
>
> .... I would love to see these documented in a separate INI file
>
> There is nothing preventing that now ....
>
> I believe INI files to be modular . All one need to do is slip in an include command in the gridCommun.ini with the name of the file saved in the config_includes directory and then edit that file appropriately with the specifics required. In my case I use quit a few one after the other among which a olsSript.ini to address Xengine customization.
>
> As I understand the opensim configuration routine overide the configuration data with the last information available in the chain of INI files. Diva use this method with myWorld.ini configuration INI.
>
> I don't edit directly the gridCommun.ini except to add an include line. I use a customization file for the simulator information. This file includes (gimisa.ini) the MySQL settings and point to oslScript.ini for additional Xengine section with OSL function allowing them with ESTATE_ or PARCEL_ options.
>
> What this email try to highlight is that there is nothing preventing any interested party to publish their own version of INI files .. including working example ....of these documented in a separate INI file as might deem to be useful.
>
> If you interested in mine please don't hesitate to point your viewer to 3d.gimisa.ca:9000
> Hope it help.
>
> GiMiSa
>
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at opensimulator.org
> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev
More information about the Opensim-dev
mailing list