Crashing demos when put in ogreSKD bin/release

Kamazy

28-09-2007 14:14:13

Ok here's my problem, i'm tring to put the OgreAL and OgreSDK things all in the OgreSKD folder.

I'v comied the .exe and .dll from OgreAL to the OgreSDK bin/release, edited the resources.cfg to include the extra files such as audio folger and the new packs.

# Resource locations to be added to the default path
[Generic]
FileSystem=../../media
FileSystem=../../media/audio (OgreAL audios put in here)
FileSystem=../../media/fonts
FileSystem=../../media/materials/programs
FileSystem=../../media/materials/scripts (OgreAL Extra scripts put in here)
FileSystem=../../media/materials/textures (OgreAL extra textures in here)
FileSystem=../../media/models (OgreAL Models in here)
FileSystem=../../media/overlays
FileSystem=../../media/particle
FileSystem=../../media/gui (OgreAL font in here, if it's in the "fonts" foder causes all demos to give error)
FileSystem=../../media/DeferredShadingMedia
Zip=../../media/packs/cubemap.zip
Zip=../../media/packs/cubemapsJS.zip (OgreAL zip file moved to packs folder)
Zip=../../media/packs/bguires.zip (OgreAL zip file moved to packs folder)
Zip=../../media/packs/dragon.zip
Zip=../../media/packs/fresneldemo.zip
Zip=../../media/packs/ogretestmap.zip
Zip=../../media/packs/skybox.zip
Zip=../../media/packs/OgreCore.zip


even made the "path" variable point to "D:/dev/ogresdk/bin/release"

but nothing seems to work.

But the funny thing is that they work if for example i copy the OgreAL bin and media folders and put them anywhere else they work fine. (i'v compied the ogreSKD dlls into the OgreAL release folder)

This has something to do with the media folder and resources.cfg but i can't figgure out exactly what...

CaseyB

28-09-2007 19:27:14

What does the Ogre.log say? Did you remember to copy over the alut.dll?

Kamazy

28-09-2007 21:11:13

Ogre.log

13:09:04: Creating resource group General
13:09:04: Creating resource group Internal
13:09:04: Creating resource group Autodetect
13:09:04: SceneManagerFactory for type 'DefaultSceneManager' registered.
13:09:04: Registering ResourceManager for type Material
13:09:04: Registering ResourceManager for type Mesh
13:09:04: Registering ResourceManager for type Skeleton
13:09:04: MovableObjectFactory for type 'ParticleSystem' registered.
13:09:04: OverlayElementFactory for type Panel registered.
13:09:04: OverlayElementFactory for type BorderPanel registered.
13:09:04: OverlayElementFactory for type TextArea registered.
13:09:04: Registering ResourceManager for type Font
13:09:04: ArchiveFactory for archive type FileSystem registered.
13:09:04: ArchiveFactory for archive type Zip registered.
13:09:04: FreeImage version: 3.9.2
13:09:04: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
13:09:04: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi
13:09:04: DDS codec registering
13:09:04: Registering ResourceManager for type HighLevelGpuProgram
13:09:04: Registering ResourceManager for type Compositor
13:09:04: MovableObjectFactory for type 'Entity' registered.
13:09:04: MovableObjectFactory for type 'Light' registered.
13:09:04: MovableObjectFactory for type 'BillboardSet' registered.
13:09:04: MovableObjectFactory for type 'ManualObject' registered.
13:09:04: MovableObjectFactory for type 'BillboardChain' registered.
13:09:04: MovableObjectFactory for type 'RibbonTrail' registered.
13:09:04: Loading library .\RenderSystem_Direct3D9
13:09:04: Installing plugin: D3D9 RenderSystem
13:09:04: D3D9 : Direct3D9 Rendering Subsystem created.
13:09:04: D3D9: Driver Detection Starts
13:09:04: D3D9: Driver Detection Ends
13:09:04: Plugin successfully installed
13:09:04: Loading library .\RenderSystem_GL
13:09:04: Installing plugin: GL RenderSystem
13:09:04: OpenGL Rendering Subsystem created.
13:09:05: Plugin successfully installed
13:09:05: Loading library .\Plugin_ParticleFX
13:09:05: Installing plugin: ParticleFX
13:09:05: Particle Emitter Type 'Point' registered
13:09:05: Particle Emitter Type 'Box' registered
13:09:05: Particle Emitter Type 'Ellipsoid' registered
13:09:05: Particle Emitter Type 'Cylinder' registered
13:09:05: Particle Emitter Type 'Ring' registered
13:09:05: Particle Emitter Type 'HollowEllipsoid' registered
13:09:05: Particle Affector Type 'LinearForce' registered
13:09:05: Particle Affector Type 'ColourFader' registered
13:09:05: Particle Affector Type 'ColourFader2' registered
13:09:05: Particle Affector Type 'ColourImage' registered
13:09:05: Particle Affector Type 'ColourInterpolator' registered
13:09:05: Particle Affector Type 'Scaler' registered
13:09:05: Particle Affector Type 'Rotator' registered
13:09:05: Particle Affector Type 'DirectionRandomiser' registered
13:09:05: Particle Affector Type 'DeflectorPlane' registered
13:09:05: Plugin successfully installed
13:09:05: Loading library .\Plugin_BSPSceneManager
13:09:05: Installing plugin: BSP Scene Manager
13:09:05: Plugin successfully installed
13:09:05: Loading library .\Plugin_OctreeSceneManager
13:09:05: Installing plugin: Octree & Terrain Scene Manager
13:09:05: Plugin successfully installed
13:09:05: Loading library .\Plugin_CgProgramManager
13:09:05: Installing plugin: Cg Program Manager
13:09:05: Plugin successfully installed
13:09:05: *-*-* OGRE Initialising
13:09:05: *-*-* Version 1.4.4 (Eihort)
13:09:05: Creating resource group Generic
13:09:05: Added resource location '../../media' of type 'FileSystem' to resource group 'Generic'
13:09:05: Added resource location '../../media/audio' of type 'FileSystem' to resource group 'Generic'
13:09:05: Added resource location '../../media/fonts' of type 'FileSystem' to resource group 'Generic'
13:09:05: Added resource location '../../media/materials/programs' of type 'FileSystem' to resource group 'Generic'
13:09:05: Added resource location '../../media/materials/scripts' of type 'FileSystem' to resource group 'Generic'
13:09:05: Added resource location '../../media/materials/textures' of type 'FileSystem' to resource group 'Generic'
13:09:05: Added resource location '../../media/models' of type 'FileSystem' to resource group 'Generic'
13:09:05: Added resource location '../../media/overlays' of type 'FileSystem' to resource group 'Generic'
13:09:05: Added resource location '../../media/particle' of type 'FileSystem' to resource group 'Generic'
13:09:05: Added resource location '../../media/gui' of type 'FileSystem' to resource group 'Generic'
13:09:05: Added resource location '../../media/skins' of type 'FileSystem' to resource group 'Generic'
13:09:05: Added resource location '../../media/skins/qgui' of type 'FileSystem' to resource group 'Generic'
13:09:05: Added resource location '../../media/skins/qgui_demo' of type 'FileSystem' to resource group 'Generic'
13:09:05: Added resource location '../../media/DeferredShadingMedia' of type 'FileSystem' to resource group 'Generic'
13:09:05: Added resource location '../../media/packs/cubemap.zip' of type 'Zip' to resource group 'Generic'
13:09:05: Added resource location '../../media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'Generic'
13:09:05: Added resource location '../../media/packs/bguires.zip' of type 'Zip' to resource group 'Generic'
13:09:05: Added resource location '../../media/packs/dragon.zip' of type 'Zip' to resource group 'Generic'
13:09:05: Added resource location '../../media/packs/fresneldemo.zip' of type 'Zip' to resource group 'Generic'
13:09:05: Added resource location '../../media/packs/ogretestmap.zip' of type 'Zip' to resource group 'Generic'
13:09:05: Added resource location '../../media/packs/skybox.zip' of type 'Zip' to resource group 'Generic'
13:09:05: Added resource location '../../media/packs/OgreCore.zip' of type 'Zip' to resource group 'Generic'
13:09:05: Parsing scripts for resource group Autodetect
13:09:05: Finished parsing scripts for resource group Autodetect
13:09:05: Parsing scripts for resource group General
13:09:05: Finished parsing scripts for resource group General
13:09:05: Parsing scripts for resource group Generic
13:09:05: Parsing script Examples.program


for some reason it stops at "Parsing script Examples.program" but Examples.program is not a problem for any other Demo i'v tried... and it's not even a part of OgreAL... so i'm confused.