Difference between revisions of "How to start CELayoutEditor2"

From CEGUI Wiki - Crazy Eddie's GUI System (Open Source)
Jump to: navigation, search
(initial version with the worst formatting I have ever seen)
(No difference)

Revision as of 13:56, 20 January 2011

CELayoutEditor1 (wxWidgets, C++) is no longer being developed. Instead CrazyEddie has created CELayoutEditor2 in python and Qt, using PyCEGUI to interface with CEGUI.

Whilst the code is alpha quality and your experience may be rough with some crashing, etc... I personally believe that the editor is more usable and has a much quicker workflow than the old one. Since PyCEGUI is officially packaged as a MSI file, it's fairly easy to get the editor running on Windows.

1) download and install Python 2.6.6 - the 32bit version for Windows (I will be focusing on Python 2.6, I have had some weird issues with 2.7 but your mileage may vary)
2) download and install PyQt4 - binary 32bit package for Windows and Python 2.6
3) download and install PyCEGUI - 0.7.5, version for python 2.6

Now you have all the dependencies installed and the whole environment is setup up.

Checkout the CELE2 sources (using Subversion) from https://crayzedsgui.svn.sourceforge.net/svnroot/crayzedsgui/CELayoutEditorII/trunk into a folder called CELE2. Right now you should hav a CELE2 folder with several files inside (LICENSE, AUTHORS, etc...) and a folder called "layouteditor" inside. Since CELE2 is a pure python application, you will need a simple bat file to start it, unless you intend to always start it from the command line.

Create a file called start.bat in the same folder files LICENSE and AUTHORS is. Edit it and insert this inside: "C:\Python26\python.exe layouteditor/CELayoutEditorII.py", save and double click it (I assume python 2.6 is installed at the default location). CELE2 should pop up.

Remember to keep svn updating your CELE2 folder as new changes and bugfixes get upstream. We would appreciate any bug reports/patches/fixes, please submit them to CEGUI mantis tracker