Page 1 of 1

layout editor

Posted: Sat Nov 24, 2007 15:03
by rogerdv
Is there some guide to configure layout editor? When i try to run it I always get this:
20:16:53: The file 'CELayoutEditor.ini' could not be found; default settings will apply now.
20:17:20: Can not enumerate files in directory 'I:\roger\projects\ark-test\media\gui/fonts/' (error 3: el sistema no puede hallar la ruta especificada.)
20:17:20: Can not enumerate files in directory 'I:\roger\projects\ark-test\media\gui/schemes/' (error 3: el sistema no puede hallar la ruta especificada.)

In the first run, then it works but constantly I got errors about fonts and strings, doesnt load layouts and basically it is useless. How should I create directory structure and organize files to make it work?

Posted: Sat Nov 24, 2007 16:02
by scriptkid
Hi,

the first time you started the editor, it should have prompted you with the fact that a folder must be selected, right? This folder is where the editor will start looking for CEGUI resources.

A sample of such a difectory setup is the Datafiles directory in the Samples folder of your CEGUI installation.

If not, you can manually set these directories in your ini file too. For example:

Code: Select all

ConfigsPath=D:\Projects\media\gui\datafiles/configs/
FontsPath=D:\Projects\media\gui\datafiles/fonts/
ImagesetsPath=D:\Projects\media\gui\datafiles/imagesets/
LookNFeelsPath=D:\Projects\media\gui\datafiles/looknfeel/
ScriptsPath=D:\Projects\media\gui\datafiles/lua_scripts/
SchemesPath=D:\Projects\media\gui\datafiles/schemes/


Also try to understand the errors you get. Maybe your resources have duplicate names. CEGUI requires unique names for fonts, schemes, imagesets and so on.

HTH.

Posted: Sun Nov 25, 2007 21:37
by fjeronimo
Hi rogerdv,

One of the next CELayoutEditor SVN updates will include important changes to the resource/datafile management inside the editor, which will greatly ease up the startup process for new users (and offer more detailed help as well) and will speed up development for experienced users working on different datafiles structures at the same time. :)