[Opensim-dev] Simpler configuration files

Fly Man fly.man.opensim at gmail.com
Wed Sep 30 23:52:01 UTC 2009


In short, we added the config-include so the modules that ppl can
download and compile themselves don't need to be in the large
OpenSim.ini file

At this moment, there's talk about a new development that might give
the user the possibility to create their own OpenSim.ini file just by
answering some simple questions at the start.

I have ensembled a small team for this to look at this option, so in
other words:

To be continued ....

2009/10/1 Melanie <melanie at t-data.com>:
> That would make things more complicated for the average user, who
> can't reliably copy parts of one text file to another.
>
> They would also again have to read the entire file to find the
> settings they need to change.
>
> config-include was a great boon on the way to simplicity, and it is
> the direction in which we will continue. We have no intention of
> going back to one monolithic config file a new user will take hours
> to read, and despair over it.
>
> Simplification is part of the distro makers, we, as platform
> designers, are under no such onus.
>
> Melanie
>
>
> Mircea Kitsune wrote:
>> This is a topic I wanted to bring up for a while, which I think is an important part of Opensim that may need to be tweaked. In my opinion Opensims configuration files are too many and too complex, and this makes it difficult to maintain your settings especially for newer users. There's too many ini files the owner needs to edit, as well as opensim.ini being too large and a lot of work being needed  to keep your changes between opensim.ini.example updates.
>>
>> I think the issue has worsened since the config-include folder system, which spreads a part of the configuration to even more files. The settings a user must tweak in order to run Opensim are currently split between three locations: opensim.ini, Regions\myRegion.xml and config-include\*.ini. Imo this is rather difficult to maintain, and I would suggest simplifying the configuration if possible to have it use less files spread to fewer places and without the user having to follow a big file to make changes. I thought about a way to do it and this would be my idea:
>>
>> config-include would be removed and opensim.ini.example become opensim.ini containing all settings again. However the user would not have to modify anything in opensim.ini, and instead write new settings to a new .ini file (eg: mycfg.ini) which is loaded after opensim.ini and overwrites its settings. Any setting from opensim.ini that the user would want to change he would copy to mycfg.ini with the new value. For instance, if the user would only want to enable "gridmode = false" (for the sake of example) instead of editing it from opensim.ini they would go to the empty mycfg.ini and add the lines "[Startup] | gridmode = true". The order of .ini files to be loaded could be specified in a separate ini file, which would list opensim.ini first and mycfg.ini second.
>>
>> This would allow the user to keep an updated opensim.ini with all default settings, without having to manually copy everything when updating from the example file. Also they wouldn't have to chase so many lines to find an important setting they wish to tweak, but tweak it from their own little list of settings. There could even be default templates, such as standalone.ini and grid.ini. When the user wants to connect to osgrid, they just select the grid.ini template and change the network settings there, then mycfg.ini would only include sim properties like physics settings. I think a single folder with all .inis would be the best way to go.
>>
>> Just my idea of it... I know the current config-include system is somehow similar to this, but all of the main settings are still tweaked from opensim.ini copied from opensim.ini.example and the configuration is spread between opensim.ini and the files in config-include instead of being in one place. I'd like to hear more opinions on this, and how and if the configuration of Opensim could be simplified. What do you think?
>>
>> _________________________________________________________________
>> Windows Live™: Keep your life in sync. Check it out!
>> http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Opensim-dev mailing list
>> Opensim-dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>



More information about the Opensim-dev mailing list