CELayoutUpgrader
From CEGUIWiki
Contents |
[edit]
Introduction
CELayoutUpgrader is a python script that can upgrade XML layout files to the Unified Coordinate System. Hopefully it will make life a little easier. See this message board threadfor discussion.
[edit]
Download
[edit]
Dependencies
[edit]
Usage
python CELayoutUpgrader.py FILES
FILES can be a glob-style pattern or a list of files.
[edit]
Example
If you have a directory with a bunch of .layout files in it, stick the script in that directory and run it like this:
python CELayoutUpgrader.py *.layout
[edit]
How it works
It will parse the layout files you specified searching for old-style properties. It will convert each one to the Unified Coordinate System equivalent. If the file already has some Unified Coordinate System properties, it will leave them in place. After upgrading each file, it will report how many properties it upgraded.

