[Solved]Layout editor - resource problem

mrmclovin

13-12-2009 15:39:24

Hi,
I have big trouble to get Layout editor on my other computer. I don't want the orginal directory structure. My looks like:

Layout editor/LayoutEditor.exe
Layout editor/resources.xml
Layout editor/media
Layout editor/media/Panels
Layout editor/media/Themes
Layout editor/media/CodeTemplates


resources.xml
<?xml version="1.0" encoding="UTF-8"?>

<Paths>
<Path root="true">/Media</Path>
</Paths>


Ogre.log
16:38:45: Loading library .\RenderSystem_GL_d
16:38:45: Installing plugin: GL RenderSystem
16:38:45: OpenGL Rendering Subsystem created.
16:38:45: Plugin successfully installed
16:38:45: *-*-* OGRE Initialising
16:38:45: *-*-* Version 1.6.0RC1 (Shoggoth)
16:38:45: Added resource location 'Media' of type 'FileSystem' to resource group 'General'
16:38:45: Creating resource group Bootstrap
16:38:45: OGRE EXCEPTION(7:InternalErrorException): Media/Common/packs/OgreCore.zip - error whilst opening archive: Unable to read zip file. in ZipArchive::checkZzipError at f:\codingextra\ogre\shoggoth_vc9\ogre\ogremain\src\ogrezip.cpp (line 259)


editor_location.xml
<?xml version="1.0" encoding="UTF-8"?>

<MyGUI type="Location">
<Location name="Panels" type="FileSystem" group="General"/>
<Location name="Themes" type="FileSystem" group="General"/>
</MyGUI>


There's no Mygui.log

Can I also ask why there are so many .xml? Can't you keep all resource-paths/location/file lists in one xml?


EDIT:
Okay i added the directory Common to my media/common (Why is OgrePack.zip needed for layout editor?). Now I get this in Mygui.log
[...]
16:56:54 | Core | Info | Loading library Plugin_HikariWidget_d.dll | .\src\MyGUI_DynLib.cpp | 51
16:56:54 | Core | Error | Plugin 'Plugin_HikariWidget_d.dll' not found | .\src\MyGUI_PluginManager.cpp | 66
16:56:54 | Core | Info | Load ini file 'AwesomiumWidgetPlugin.xml' | .\src\MyGUI_ResourceManager.cpp | 152
16:56:54 | Core | Info | Loading library Plugin_AwesomiumWidget_d.dll | .\src\MyGUI_DynLib.cpp | 51
16:56:54 | Core | Error | Plugin 'Plugin_AwesomiumWidget_d.dll' not found | .\src\MyGUI_PluginManager.cpp | 66
16:56:54 | Core | Info | Load ini file 'external_resources.xml' | .\src\MyGUI_ResourceManager.cpp | 152
16:56:54 | Core | Error | ResourceManager : 'external_resources.xml', not found | .\src\MyGUI_ResourceManager.cpp | 175
16:56:54 | Core | Info | load layout 'EditorToolTip.layout' | .\src\MyGUI_LayoutManager.cpp | 74
16:56:54 | Core | Critical | Child Widget Client not found in skin (Edit must have Client) | .\src\MyGUI_Edit.cpp | 128

mrmclovin

13-12-2009 16:32:51

Solved it. Added all the code resources like core_pointer, core_skin etc.