Re: How to use filesystem boost copy_file with qrc resources
Posted: 16 Oct 2013, 17:01
heh, great. I'm not sure how to store anything in mCfgMgr, and no idea how to read from it. I think I will pass this time. Sorry for wasted time.
OpenMW Forum
https://forum.openmw.org/
I assume you mean "resources" instead of "help".a) I have a switch that appears to work for help.
The default value would be an empty path, which is what you get anyway. Nothing to do here.c) I should initalize this variable with default value when not using switch.
Not really, since no other part of OpenCS is using the Editor class. Instead you should pass the value down through the constructors of those members of Editor that need it (that would be the DocumentManager in this case).I should make a public method to return path.
These are the global resources, used in both OpenMW and OpenCS. We use this switch, so we can easily pull them from the installed software or locally (running without installing). I don't see what is cryptic about that.a) --resources sounds a bit cryptic for a simply default filters. Do we want to implement any other "resources"?
I have no idea what you mean by that.b) we can make content dir switch in the editor.
Right. Mind if I add a little bit of description in OpenCS? Just explaining what this switch does in case of this application.These are the global resources, used in both OpenMW and OpenCS. We use this switch, so we can easily pull them from the installed software or locally (running without installing). I don't see what is cryptic about that.
Sorry. I meant the:I have no idea what you mean by that.
The --resources switch dose exactly the same in OpenCS as it does in OpenMW. Therefore it should have the same description in both programs. If you want expand it a bit, that is fine with me.Right. Mind if I add a little bit of description in OpenCS? Just explaining what this switch does in case of this application.
Already implemented.Sorry. I meant the:
--data arg (=data) set data directories (later have higher priority)
My impression is that it allow to choose alternative "data files" path.