layout editor

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

User avatar
rogerdv
Quite a regular
Quite a regular
Posts: 62
Joined: Thu Mar 31, 2005 23:21
Contact:

layout editor

Postby rogerdv » Sat Nov 24, 2007 15:03

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?

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Sat Nov 24, 2007 16:02

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.
Check out my released snake game using Cegui!

User avatar
fjeronimo
CEGUI Tools Developer (Retired)
Posts: 59
Joined: Tue Sep 11, 2007 16:57
Location: Lisbon, Portugal
Contact:

Postby fjeronimo » Sun Nov 25, 2007 21:37

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. :)
Frederico Jerónimo
Ignite Games - http://www.ignite-games.com
Ignite Games Institutional Site - http://we.ignite-games.com


Return to “Help”

Who is online

Users browsing this forum: No registered users and 40 guests