Page 1 of 1

CELayoutEditor.ini. Where?

Posted: Sun Jul 27, 2008 22:44
by jorrit5477

I just started out using the editor, very nice and helpful tool.
At first I set the data path to a value as requested in a popup window. After that I had to figure out the directory structure which is forced to use (what is the structure actually, I can't find it in the manual?)

But now I want to point the editor to another data path. I have searched the forum and read about the CELayoutEditor.ini file. But I can't find this file. Is the path set somewhere else (registry?). I feel kind of dumb I must say :oops:


Edit: I use CELayoutEditor 0.5, since this is the CEGUI version Ogre is using.
Edit2: Mmm, I am on Vista :? . Running the application as admin (no, I didn't turn off UAC) makes the application write an .ini file. But this still hasn't answered the question where the data path was written when I ran the application as a non-admin. :?

Posted: Mon Jul 28, 2008 07:16
by scriptkid

i think that Vista has stored your other INI file in a VirtualStore:

This line seems important:
"C:\Users\<your_account>\AppData\Local\VirtualStore\Program Files\<application>\Setup.ini"

The editor's datapath has already lead to numerous confusion moments amongst users. Therefor the latest release (0.6.1) includes a default setup. But that doesn't help you right now :)

A valid datafiles directory can for example be found in the Cegui samples directory. But this directory setup isn't a standard, you can choose whatever you feel comfortable with. However you need to set each path (ini file) to the correct directory.


Re: CELayoutEditor.ini. Where?

Posted: Thu Sep 03, 2009 03:42
by jheld
OKay Vista users, here's a little extra--

You have to change the ini file as scriptkid says. The path is correct. But unfortunately, the layout editor will reinstate the default path every time ceguiLayoutEditor loads. Or is this happening from somewhere in Vista? Either way, your options are,

1/ re-change the ini file to the path you want after every startup of the editor (blech)
2/ work frm the editor's default path, then cut & paste the results to the path you want

Annoying yes, but using the editor is still heaps better than making layouts by hand (and calibrated eyeball)

Re: CELayoutEditor.ini. Where?

Posted: Thu Sep 03, 2009 06:51
by scriptkid
Ah, silly me. The editor will indeed try to load the ini file in its startup folder, and then find out there isn't any. I need to update the editor not to read & write in its own directory. A quick seach came up with this: ... paths.html

I will give that a go soon, since i am already in editor mode because of the upcoming 0-7 release :)


Re: CELayoutEditor.ini. Where?

Posted: Thu Sep 03, 2009 14:39
by jheld
Thanks scriptkid! Looking forward to 0-7. I can live with a little cut & paste until then :) might also be a permission issue with some users. If their drive is protected, vista auto-sends it to the magic invisible folder.