Page 2 of 6

Re: Write an Morrowind.ini to openmw.cfg converter

Posted: 27 Dec 2011, 10:53
by XseuguhX
Understood. Let's do that way !

Re: Write an Morrowind.ini to openmw.cfg converter

Posted: 08 Jan 2012, 16:35
by Zini
I see your task has been flagged as in progress (with progress at 40%). But I don't see any commits from you on github.

Re: Write an Morrowind.ini to openmw.cfg converter

Posted: 17 Jan 2012, 21:22
by XseuguhX
Sorry for answer so late. I didn't see your reply.
In fact, I fight with github and with my computer to set me up a development environment. But I promise that when it will work, I will upload changes. For now, I continue my work, as you can see on the task's page.

Re: Write an Morrowind.ini to openmw.cfg converter

Posted: 17 Jan 2012, 21:49
by Zini
It would be better to sort out your problems first. Being able to use github and having a working development environment are kinda prerequisites for developing OpenMW. And github is definitely not something you should have to fight with. But no hurry! We moved your task to 0.13.0, which means you have a lot more time.

Re: Write an Morrowind.ini to openmw.cfg converter

Posted: 30 Mar 2012, 16:22
by swick
Since there is no progress on the task I would like to take it. Did anything change? Is there something new?

Re: Write an Morrowind.ini to openmw.cfg converter

Posted: 30 Mar 2012, 16:38
by Zini
Don't think so, but I also don't feel like reading through the whole thread again.

To sum it up again:

- command line tool (use boost program options); new applications in the apps/ directory
- read in Morrowind.ini file (get location from command line argument)
- read in openmw.cfg file (get location from command line argument)
- replace those settings in openmw.cfg file that are available in Morrowind.ini
- add a command line option to exclude master/plugin settings (or exclude them by default and add an option to include them)
- write out resulting openmw.cfg file
- Morrowind.ini settings that are not available in openmw.cfg should be ignored for now, but it should be made easy to add them later
- some Morrowind.ini settings will never be added to openmw.cfg
- the setting names in Morrowing.ini and openmw.cfg don't necessarily match

I assigned the task to you. I also might have some interesting follow up tasks for you, that might suite your skill level. But we can talk about that during 0.15.0.

Re: Write an Morrowind.ini to openmw.cfg converter

Posted: 30 Mar 2012, 16:43
by scrawl
While you're at it, you could read the weather settings in Morrowind.ini instead of hardcoding them in WeatherManager

Re: Write an Morrowind.ini to openmw.cfg converter

Posted: 30 Mar 2012, 16:45
by Zini
That is one of the follow up tasks I mentioned. There are a few twists to consider though. We will get to that when the basic importer is working.

Re: Write an Morrowind.ini to openmw.cfg converter

Posted: 30 Mar 2012, 17:38
by swick
is there some documentation for the ini and the cfg file syntax?

Re: Write an Morrowind.ini to openmw.cfg converter

Posted: 30 Mar 2012, 17:49
by Zini
Morrowind.ini: just your standard Windows ini file. Google should bring something up.

OpenMW.cfg: One setting per line.

Key=Value

# indicates a comment