Problem in running mapsplitter at first time [SOLVED]

kintaro

25-05-2006 19:16:30

Hi, I am trying to install PLSM2, I am using microsoft visual studio 2003 and OGRE 1.2.0. Everething compiled ok, I didn't download the map editor. When I try to run MapSplitter at first time it gives an error, but I couldn't solve this. Here is my log file:

14:24:21: Creating resource group General
14:24:21: Creating resource group Internal
14:24:21: Creating resource group Autodetect
14:24:21: Registering ResourceManager for type Material
14:24:21: Registering ResourceManager for type Mesh
14:24:21: Registering ResourceManager for type Skeleton
14:24:21: MovableObjectFactory for type 'ParticleSystem' registered.
14:24:21: Loading library OgrePlatform.dll
14:24:21: OverlayElementFactory for type Panel registered.
14:24:21: OverlayElementFactory for type BorderPanel registered.
14:24:21: OverlayElementFactory for type TextArea registered.
14:24:21: Registering ResourceManager for type Font
14:24:21: ArchiveFactory for archive type FileSystem registered.
14:24:21: ArchiveFactory for archive type Zip registered.
14:24:21: DevIL version: Developer's Image Library (DevIL) 1.6.7 Oct 28 2005
14:24:21: DevIL image formats: bmp dib cut dcx dds gif hdr ico cur jpg jpe jpeg lif mdl mng jng pcx pic pix png pbm pgm pnm ppm psd pdd psp pxr sgi bw rgb rgba tga vda icb vst tif tiff wal xpm raw
14:24:21: Registering ResourceManager for type HighLevelGpuProgram
14:24:21: Registering ResourceManager for type Compositor
14:24:21: MovableObjectFactory for type 'Entity' registered.
14:24:21: MovableObjectFactory for type 'Light' registered.
14:24:21: MovableObjectFactory for type 'BillboardSet' registered.
14:24:21: MovableObjectFactory for type 'ManualObject' registered.
14:24:21: MovableObjectFactory for type 'BillboardChain' registered.
14:24:21: MovableObjectFactory for type 'RibbonTrail' registered.
14:24:21: Loading library .\RenderSystem_Direct3D9
14:24:21: D3D9 : Direct3D9 Rendering Subsystem created.
14:24:21: D3D9: Driver Detection Starts
14:24:21: D3D9: Driver Detection Ends
14:24:21: Loading library .\RenderSystem_GL
14:24:21: OpenGL Rendering Subsystem created.
14:24:21: Loading library .\Plugin_ParticleFX
14:24:21: Particle Emitter Type 'Point' registered
14:24:21: Particle Emitter Type 'Box' registered
14:24:21: Particle Emitter Type 'Ellipsoid' registered
14:24:21: Particle Emitter Type 'Cylinder' registered
14:24:21: Particle Emitter Type 'Ring' registered
14:24:21: Particle Emitter Type 'HollowEllipsoid' registered
14:24:21: Particle Affector Type 'LinearForce' registered
14:24:21: Particle Affector Type 'ColourFader' registered
14:24:21: Particle Affector Type 'ColourFader2' registered
14:24:21: Particle Affector Type 'ColourImage' registered
14:24:21: Particle Affector Type 'ColourInterpolator' registered
14:24:21: Particle Affector Type 'Scaler' registered
14:24:21: Particle Affector Type 'Rotator' registered
14:24:21: Particle Affector Type 'DirectionRandomiser' registered
14:24:21: Particle Affector Type 'DeflectorPlane' registered
14:24:21: Loading library .\Plugin_CgProgramManager
14:24:21: Loading library .\Plugin_PagingLandScapeSceneManager2
14:24:21: *-*-* OGRE Initialising
14:24:21: *-*-* Version 1.2.0 (Dagon)
14:24:21: Creating resource group Bootstrap
14:24:21: Added resource location '../../media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
14:24:21: Added resource location '../../media' of type 'FileSystem' to resource group 'General'
14:24:21: Added resource location '../../media/fonts' of type 'FileSystem' to resource group 'General'
14:24:21: Added resource location '../../media/materials/programs' of type 'FileSystem' to resource group 'General'
14:24:21: Added resource location '../../media/materials/scripts' of type 'FileSystem' to resource group 'General'
14:24:21: Added resource location '../../media/materials/textures' of type 'FileSystem' to resource group 'General'
14:24:21: Added resource location '../../media/models' of type 'FileSystem' to resource group 'General'
14:24:21: Added resource location '../../media/overlays' of type 'FileSystem' to resource group 'General'
14:24:21: Added resource location '../../media/particle' of type 'FileSystem' to resource group 'General'
14:24:21: Added resource location '../../media/gui' of type 'FileSystem' to resource group 'General'
14:24:21: Creating resource group PLSM2
14:24:21: Added resource location '../../Media/paginglandscape2' of type 'FileSystem' to resource group 'PLSM2'
14:24:21: Added resource location '../../Media/paginglandscape2/gui' of type 'FileSystem' to resource group 'PLSM2'
14:24:21: Added resource location '../../Media/paginglandscape2/fonts' of type 'FileSystem' to resource group 'PLSM2'
14:24:21: Added resource location '../../Media/paginglandscape2/models' of type 'FileSystem' to resource group 'PLSM2'
14:24:21: Added resource location '../../Media/paginglandscape2/overlays' of type 'FileSystem' to resource group 'PLSM2'
14:24:21: Added resource location '../../Media/paginglandscape2/materials' of type 'FileSystem' to resource group 'PLSM2'
14:24:21: Added resource location '../../Media/paginglandscape2/materials/scripts' of type 'FileSystem' to resource group 'PLSM2'
14:24:21: Added resource location '../../Media/paginglandscape2/materials/textures' of type 'FileSystem' to resource group 'PLSM2'
14:24:21: Added resource location '../../Media/paginglandscape2/materials/programs' of type 'FileSystem' to resource group 'PLSM2'
14:24:21: Added resource location '../../Media/paginglandscape2/datasrcs' of type 'FileSystem' to resource group 'PLSM2'
14:24:21: Added resource location '../../Media/paginglandscape2/terrains' of type 'FileSystem' to resource group 'PLSM2'
14:24:44: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 8
Function: ResourceGroupManager::openResource
Description: Cannot locate resource hf129_3.png in resource group PLSM2 or any other group..
File: \Programming\Ogre\ogrenew\OgreMain\src\OgreResourceGroupManager.cpp
Line: 583
Stack unwinding: <<beginning of stack>>


Thanks for help

Falagard

25-05-2006 19:24:33

Did you download the datasrcs zip and extract it and put it in the right place?

MapSplitter running from the right place?

kintaro

26-05-2006 01:21:29

Hi, thanks for help Falagard, I really runned the mapsplitter.exe from a wrong folder. Now I tried from the folder: samples/common/bin/debug of ogre, and what is happening now is that the mapsplitter runs and at some moment it stops, but in the log file there is no error. Here is the mapslitter log file:

20:31:14: Creating resource group General
20:31:14: Creating resource group Internal
20:31:14: Creating resource group Autodetect
20:31:14: Registering ResourceManager for type Material
20:31:14: Registering ResourceManager for type Mesh
20:31:14: Registering ResourceManager for type Skeleton
20:31:14: MovableObjectFactory for type 'ParticleSystem' registered.
20:31:14: Loading library OgrePlatform_d.dll
20:31:14: OverlayElementFactory for type Panel registered.
20:31:14: OverlayElementFactory for type BorderPanel registered.
20:31:14: OverlayElementFactory for type TextArea registered.
20:31:14: Registering ResourceManager for type Font
20:31:14: ArchiveFactory for archive type FileSystem registered.
20:31:14: ArchiveFactory for archive type Zip registered.
20:31:14: DevIL version: Developer's Image Library (DevIL) 1.6.7 Oct 28 2005
20:31:14: DevIL image formats: bmp dib cut dcx dds gif hdr ico cur jpg jpe jpeg lif mdl mng jng pcx pic pix png pbm pgm pnm ppm psd pdd psp pxr sgi bw rgb rgba tga vda icb vst tif tiff wal xpm raw
20:31:14: Registering ResourceManager for type HighLevelGpuProgram
20:31:14: Registering ResourceManager for type Compositor
20:31:14: MovableObjectFactory for type 'Entity' registered.
20:31:14: MovableObjectFactory for type 'Light' registered.
20:31:14: MovableObjectFactory for type 'BillboardSet' registered.
20:31:14: MovableObjectFactory for type 'ManualObject' registered.
20:31:14: MovableObjectFactory for type 'BillboardChain' registered.
20:31:14: MovableObjectFactory for type 'RibbonTrail' registered.
20:31:14: Loading library .\RenderSystem_Direct3D9
20:31:14: D3D9 : Direct3D9 Rendering Subsystem created.
20:31:14: D3D9: Driver Detection Starts
20:31:14: D3D9: Driver Detection Ends
20:31:14: Loading library .\RenderSystem_GL
20:31:14: OpenGL Rendering Subsystem created.
20:31:14: Loading library .\Plugin_ParticleFX
20:31:14: Particle Emitter Type 'Point' registered
20:31:14: Particle Emitter Type 'Box' registered
20:31:14: Particle Emitter Type 'Ellipsoid' registered
20:31:14: Particle Emitter Type 'Cylinder' registered
20:31:14: Particle Emitter Type 'Ring' registered
20:31:14: Particle Emitter Type 'HollowEllipsoid' registered
20:31:14: Particle Affector Type 'LinearForce' registered
20:31:14: Particle Affector Type 'ColourFader' registered
20:31:14: Particle Affector Type 'ColourFader2' registered
20:31:14: Particle Affector Type 'ColourImage' registered
20:31:14: Particle Affector Type 'ColourInterpolator' registered
20:31:14: Particle Affector Type 'Scaler' registered
20:31:14: Particle Affector Type 'Rotator' registered
20:31:14: Particle Affector Type 'DirectionRandomiser' registered
20:31:14: Particle Affector Type 'DeflectorPlane' registered
20:31:14: Loading library .\Plugin_BSPSceneManager
20:31:14: Registering ResourceManager for type BspLevel
20:31:14: Loading library .\Plugin_OctreeSceneManager
20:31:14: Loading library .\Plugin_CgProgramManager
20:31:14: Loading library .\Plugin_PagingLandScapeSceneManager2
20:31:14: *-*-* OGRE Initialising
20:31:14: *-*-* Version 1.2.0 (Dagon)
20:31:14: Creating resource group Bootstrap
20:31:14: Added resource location '../../../media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
20:31:14: Creating resource group CeguiMeshViewer
20:31:14: Added resource location '../../../Media/ceguimeshviewer' of type 'FileSystem' to resource group 'CeguiMeshViewer'
20:31:14: Added resource location '../../../media' of type 'FileSystem' to resource group 'General'
20:31:14: Added resource location '../../../media/fonts' of type 'FileSystem' to resource group 'General'
20:31:14: Added resource location '../../../media/materials/programs' of type 'FileSystem' to resource group 'General'
20:31:14: Added resource location '../../../media/materials/scripts' of type 'FileSystem' to resource group 'General'
20:31:14: Added resource location '../../../media/materials/textures' of type 'FileSystem' to resource group 'General'
20:31:14: Added resource location '../../../media/models' of type 'FileSystem' to resource group 'General'
20:31:14: Added resource location '../../../media/overlays' of type 'FileSystem' to resource group 'General'
20:31:14: Added resource location '../../../media/particle' of type 'FileSystem' to resource group 'General'
20:31:14: Added resource location '../../../media/gui' of type 'FileSystem' to resource group 'General'
20:31:14: Added resource location '../../../media/DeferredShadingMedia' of type 'FileSystem' to resource group 'General'
20:31:14: Added resource location '../../../media/packs/cubemap.zip' of type 'Zip' to resource group 'General'
20:31:14: Added resource location '../../../media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
20:31:14: Added resource location '../../../media/packs/dragon.zip' of type 'Zip' to resource group 'General'
20:31:14: Added resource location '../../../media/packs/fresneldemo.zip' of type 'Zip' to resource group 'General'
20:31:14: Added resource location '../../../media/packs/ogretestmap.zip' of type 'Zip' to resource group 'General'
20:31:14: Added resource location '../../../media/packs/skybox.zip' of type 'Zip' to resource group 'General'
20:31:14: Creating resource group PLSM2
20:31:14: Added resource location '../../../Media/paginglandscape2' of type 'FileSystem' to resource group 'PLSM2'
20:31:14: Added resource location '../../../Media/paginglandscape2/gui' of type 'FileSystem' to resource group 'PLSM2'
20:31:14: Added resource location '../../../Media/paginglandscape2/fonts' of type 'FileSystem' to resource group 'PLSM2'
20:31:14: Added resource location '../../../Media/paginglandscape2/models' of type 'FileSystem' to resource group 'PLSM2'
20:31:14: Added resource location '../../../Media/paginglandscape2/overlays' of type 'FileSystem' to resource group 'PLSM2'
20:31:14: Added resource location '../../../Media/paginglandscape2/materials' of type 'FileSystem' to resource group 'PLSM2'
20:31:14: Added resource location '../../../Media/paginglandscape2/materials/scripts' of type 'FileSystem' to resource group 'PLSM2'
20:31:14: Added resource location '../../../Media/paginglandscape2/materials/textures' of type 'FileSystem' to resource group 'PLSM2'
20:31:14: Added resource location '../../../Media/paginglandscape2/materials/programs' of type 'FileSystem' to resource group 'PLSM2'
20:31:14: Added resource location '../../../Media/paginglandscape2/datasrcs' of type 'FileSystem' to resource group 'PLSM2'
20:31:14: Added resource location '../../../Media/paginglandscape2/terrains' of type 'FileSystem' to resource group 'PLSM2'


Thanks for help

tuan kuranes

26-05-2006 16:47:59

can you try to run it in Debug mode, it should give more info in the log.

kintaro

26-05-2006 19:05:22

I tried to run in debug and give this log file. Again it says that h129_3.png but in my computer there not this file.

Maybe this information help, in datasrc there is only three files:

alpes.raw

gcanyon_height_4k2k.png

gcanyon_texture_4k2k.png

Below it is the mapsplitter.log file:

14:25:09: Creating resource group General
14:25:09: Creating resource group Internal
14:25:09: Creating resource group Autodetect
14:25:09: Registering ResourceManager for type Material
14:25:09: Registering ResourceManager for type Mesh
14:25:09: Registering ResourceManager for type Skeleton
14:25:09: MovableObjectFactory for type 'ParticleSystem' registered.
14:25:09: Loading library OgrePlatform_d.dll
14:25:09: OverlayElementFactory for type Panel registered.
14:25:09: OverlayElementFactory for type BorderPanel registered.
14:25:09: OverlayElementFactory for type TextArea registered.
14:25:09: Registering ResourceManager for type Font
14:25:09: ArchiveFactory for archive type FileSystem registered.
14:25:09: ArchiveFactory for archive type Zip registered.
14:25:09: DevIL version: Developer's Image Library (DevIL) 1.6.7 Oct 28 2005
14:25:09: DevIL image formats: bmp dib cut dcx dds gif hdr ico cur jpg jpe jpeg lif mdl mng jng pcx pic pix png pbm pgm pnm ppm psd pdd psp pxr sgi bw rgb rgba tga vda icb vst tif tiff wal xpm raw
14:25:09: Registering ResourceManager for type HighLevelGpuProgram
14:25:09: Registering ResourceManager for type Compositor
14:25:09: MovableObjectFactory for type 'Entity' registered.
14:25:09: MovableObjectFactory for type 'Light' registered.
14:25:09: MovableObjectFactory for type 'BillboardSet' registered.
14:25:09: MovableObjectFactory for type 'ManualObject' registered.
14:25:09: MovableObjectFactory for type 'BillboardChain' registered.
14:25:09: MovableObjectFactory for type 'RibbonTrail' registered.
14:25:09: Loading library .\RenderSystem_Direct3D9
14:25:09: D3D9 : Direct3D9 Rendering Subsystem created.
14:25:09: D3D9: Driver Detection Starts
14:25:09: D3D9: Driver Detection Ends
14:25:09: Loading library .\RenderSystem_GL
14:25:09: OpenGL Rendering Subsystem created.
14:25:09: Loading library .\Plugin_ParticleFX
14:25:09: Particle Emitter Type 'Point' registered
14:25:09: Particle Emitter Type 'Box' registered
14:25:09: Particle Emitter Type 'Ellipsoid' registered
14:25:09: Particle Emitter Type 'Cylinder' registered
14:25:09: Particle Emitter Type 'Ring' registered
14:25:09: Particle Emitter Type 'HollowEllipsoid' registered
14:25:09: Particle Affector Type 'LinearForce' registered
14:25:09: Particle Affector Type 'ColourFader' registered
14:25:09: Particle Affector Type 'ColourFader2' registered
14:25:09: Particle Affector Type 'ColourImage' registered
14:25:09: Particle Affector Type 'ColourInterpolator' registered
14:25:09: Particle Affector Type 'Scaler' registered
14:25:09: Particle Affector Type 'Rotator' registered
14:25:09: Particle Affector Type 'DirectionRandomiser' registered
14:25:09: Particle Affector Type 'DeflectorPlane' registered
14:25:09: Loading library .\Plugin_BSPSceneManager
14:25:09: Registering ResourceManager for type BspLevel
14:25:09: Loading library .\Plugin_OctreeSceneManager
14:25:09: Loading library .\Plugin_CgProgramManager
14:25:10: Loading library .\Plugin_PagingLandScapeSceneManager2
14:25:10: *-*-* OGRE Initialising
14:25:10: *-*-* Version 1.2.0 (Dagon)
14:25:10: Creating resource group Bootstrap
14:25:10: Added resource location '../../../media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
14:25:10: Creating resource group CeguiMeshViewer
14:25:10: Added resource location '../../../Media/ceguimeshviewer' of type 'FileSystem' to resource group 'CeguiMeshViewer'
14:25:10: Added resource location '../../../media' of type 'FileSystem' to resource group 'General'
14:25:10: Added resource location '../../../media/fonts' of type 'FileSystem' to resource group 'General'
14:25:10: Added resource location '../../../media/materials/programs' of type 'FileSystem' to resource group 'General'
14:25:10: Added resource location '../../../media/materials/scripts' of type 'FileSystem' to resource group 'General'
14:25:10: Added resource location '../../../media/materials/textures' of type 'FileSystem' to resource group 'General'
14:25:10: Added resource location '../../../media/models' of type 'FileSystem' to resource group 'General'
14:25:10: Added resource location '../../../media/overlays' of type 'FileSystem' to resource group 'General'
14:25:10: Added resource location '../../../media/particle' of type 'FileSystem' to resource group 'General'
14:25:10: Added resource location '../../../media/gui' of type 'FileSystem' to resource group 'General'
14:25:10: Added resource location '../../../media/DeferredShadingMedia' of type 'FileSystem' to resource group 'General'
14:25:10: Added resource location '../../../media/packs/cubemap.zip' of type 'Zip' to resource group 'General'
14:25:10: Added resource location '../../../media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
14:25:10: Added resource location '../../../media/packs/dragon.zip' of type 'Zip' to resource group 'General'
14:25:10: Added resource location '../../../media/packs/fresneldemo.zip' of type 'Zip' to resource group 'General'
14:25:10: Added resource location '../../../media/packs/ogretestmap.zip' of type 'Zip' to resource group 'General'
14:25:11: Added resource location '../../../media/packs/skybox.zip' of type 'Zip' to resource group 'General'
14:25:11: Creating resource group PLSM2
14:25:11: Added resource location '../../../Media/paginglandscape2' of type 'FileSystem' to resource group 'PLSM2'
14:25:11: Added resource location '../../../Media/paginglandscape2/gui' of type 'FileSystem' to resource group 'PLSM2'
14:25:11: Added resource location '../../../Media/paginglandscape2/fonts' of type 'FileSystem' to resource group 'PLSM2'
14:25:11: Added resource location '../../../Media/paginglandscape2/models' of type 'FileSystem' to resource group 'PLSM2'
14:25:11: Added resource location '../../../Media/paginglandscape2/overlays' of type 'FileSystem' to resource group 'PLSM2'
14:25:11: Added resource location '../../../Media/paginglandscape2/materials' of type 'FileSystem' to resource group 'PLSM2'
14:25:11: Added resource location '../../../Media/paginglandscape2/materials/scripts' of type 'FileSystem' to resource group 'PLSM2'
14:25:11: Added resource location '../../../Media/paginglandscape2/materials/textures' of type 'FileSystem' to resource group 'PLSM2'
14:25:11: Added resource location '../../../Media/paginglandscape2/materials/programs' of type 'FileSystem' to resource group 'PLSM2'
14:25:11: Added resource location '../../../Media/paginglandscape2/datasrcs' of type 'FileSystem' to resource group 'PLSM2'
14:25:11: Added resource location '../../../Media/paginglandscape2/terrains' of type 'FileSystem' to resource group 'PLSM2'
14:26:54: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 8
Function: ResourceGroupManager::openResource
Description: Cannot locate resource hf129_3.png in resource group PLSM2 or any other group..
File: c:\programming\ogre\ogrenew\ogremain\src\ogreresourcegroupmanager.cpp
Line: 583
Stack unwinding: <<beginning of stack>>
14:26:57: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 8
Function: ResourceGroupManager::openResource
Description: Cannot locate resource hf129_3.png in resource group PLSM2..
File: c:\programming\ogre\ogrenew\ogremain\src\ogreresourcegroupmanager.cpp
Line: 588
Stack unwinding: <<beginning of stack>>

kintaro

29-05-2006 18:30:24

What folder hf129_3.png is suppoused to be in?

Where do I can download this?

One thing is that when I unzipped the datascr folder, it gives some errors, and in the folder it has only three files, is that correct?


Thanks for help

Falagard

29-05-2006 19:46:17

try downloading it again, it should have 7 files including your missing file

kintaro

30-05-2006 20:41:25

Thanks Falagard, it worked very well. I downloaded it again and everything is ok now. Thanks again.