Using CEED-Migrate

From CEGUI Wiki - Crazy Eddie's GUI System (Open Source)
Revision as of 09:22, 18 April 2015 by Ident (Talk | contribs) (Python ceed-migrate examples)

Jump to: navigation, search

Written for CEGUI 0.8


Works with versions 0.8.x (stable)

Works with latest CEGUI stable!

Written by Nickenstein79 (Working correctly as of 11th June, 2014)

If you have built CEED yourself (Guide here: http://cegui.org.uk/wiki/CEED , Windows-specific Guide here: http://cegui.org.uk/wiki/Building_CEED_for_Windows)

Then you can migrate your old CEGUI_0.7.x data files to be compatible with CEGUI_0_8 by running "python ceed-migrate [params]" or by creating a batch file similar to the runwrapper.bat file in your CEED\bin folder to process all of your old data files into the new format.

NOTE

The version of ceed-migrate that comes with 'CEED-Snapshot11' has known bugs and is very likely to fail when converting your data. So it is currently recommended that you build CEED yourself to get the latest bug-fixes. Follow the above mentioned guides for building your own fresh install of CEED.

Python ceed-migrate examples

   python ceed-migrate --sourceType "CEGUI layout 3" --targetType "CEGUI layout 4" layout MainMenu_0_7.layout MainMenu_0_8.layout
   python ceed-migrate scheme TaharezLook.scheme TaharezLook_0_8.scheme
   python ceed-migrate looknfeel TaharezLook.looknfeel TaharezLook_0_8.looknfeel
   python ceed-migrate font TimesNewRoman_12.font TimesNewRoman_12___V_0_8.font

If you use a pre-built version such as the 0.8.0 CEED Release then you have to call the commands without the "python" at the beginning.