Ask for a question?

jxw167

15-10-2009 04:24:04

When I compile ETMv2.3.1,It is right,but I run it,It cann't load brush.png in ET .
I use Ogre1.62.I don't know how the question resolve.
Please help me!
thank you!

CABAListic

15-10-2009 10:58:37

In resources.cfg, you need to add another resource group called ET and put in the contents of the media/ET folder.
For example:

# Put this into resources.cfg

[ET]
FileSystem=../../media/ET

Of course, you need to adjust the path accordingly.

jxw167

15-10-2009 12:29:47

I do it with you said

An exception has occured!

OGRE EXCEPTION(5:ItemIdentityException):Cannot locate a resource group called 'ET' for resource'brush.png' in ResourceGroupManager::OpenResource at f:\codingextra....

resources.cfg file

# Resource locations to be added to the 'boostrap' path
# This also contains the minimum you need to use the Ogre example framework
[Bootstrap]
Zip=../../media/packs/OgreCore.zip

# Resource locations to be added to the default path
[General]
FileSystem=../../media
FileSystem=../../media/fonts
FileSystem=../../media/materials/programs
FileSystem=../../media/materials/scripts
FileSystem=../../media/materials/textures
FileSystem=../../media/models
FileSystem=../../media/overlays
FileSystem=../../media/particle
FileSystem=../../media/gui
FileSystem=../../media/DeferredShadingMedia
FileSystem=../../media/PCZAppMedia
FileSystem=../../media/ET
Zip=../../media/packs/cubemap.zip
Zip=../../media/packs/cubemapsJS.zip
Zip=../../media/packs/dragon.zip
Zip=../../media/packs/fresneldemo.zip
Zip=../../media/packs/ogretestmap.zip
Zip=../../media/packs/skybox.zip

CABAListic

15-10-2009 19:55:44

No, you must insert it exactly as I posted. Copy the segment I posted to the end of the file. The [ET] is important, without it, it won't work.

jxw167

16-10-2009 01:51:02

I know,Thank you very much!