problem with first run

irado

30-11-2006 19:24:19

i am try running the demo, but when i run the appear the message:


-----------------------------------
Details:
-----------------------------------
Error #: 8
Function: FileSystemArchive::changeDirectory
Description: Cannot open requested directory C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/terrains/hf129_3.
File: ..\src\OgreFileSystem.cpp
Line: 141
Stack unwinding: <<beginning of stack>>
16:07:17: *-*-* OGRE Shutdown


i search one solution in forum and find this topic:

http://www.ogre3d.org/phpBB2addons/view ... ght=hf1293

i try all solution the post, and continue this error:

i change too, the name the files hf_129_3 and hf_129_3.gen for hf129_3 and hf129_3, and i edit too the line:

LandScapeFileName=hf_129_3


in the files, but the error continue.

i RUN the MapSplitter after the each change but the same error continue. My resources.cfg is:



# 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/materials/textures/ravanica
FileSystem=../../media/models
FileSystem=../../media/overlays
FileSystem=../../media/particle
FileSystem=../../media/gui
FileSystem=../../media/DeferredShadingMedia
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

FileSystem=C:/OgreSDK/NewtonSDK/OgreNewt/demos/Media/primitives

Zip=C:/OgreSDK/NewtonSDK/OgreNewt/demos/Media/packs/cubemapsJS.zip

[PLSM2]
FileSystem=C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2

#FileSystem=C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/gui
#FileSystem=C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/fonts
FileSystem=C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/models
FileSystem=C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/overlays
FileSystem=C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/materials
FileSystem=C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/materials/scripts
FileSystem=C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/materials/textures
FileSystem=C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/materials/programs

FileSystem=C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/datasrcs
FileSystem=C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/terrains



i am using the SDK, what the solution for this problem???

tuan kuranes

01-12-2006 08:03:23

does that folder exists ?
if not that means that mapsplitter didn't try to create it of fail to, in this case check if it is listed in maptools.cfg and look at what says mapsplitter.log.

irado

01-12-2006 12:15:28

tha files paginglandscape2.cfg and maptool.cfg are in:

C:\OgreSDK\paginglandscape\Samples\Media\paginglandscape2

the file paginglandscape2.cfg is:



DefaultMap=hf

European_Alpes=Alpes
Terrain_Scene_Manager_Terrain=TsmTerrain
hf=hf_129_3

# need to download datasrc.zip from http://tuan.kuranes.free.fr/ogre.html for those
puget_sound=ps_height_1k
grand_canyon=gcanyon_height_4k2k
terragen_genrated=terragen16bits


# resource group name where to find map definition
GroupName=PLSM2

# Try forbidden textureformat combinations
TextureFormatDebug=no



and file maptool.cfg is:



DefaultMap=European_Alpes

European_Alpes=Alpes.gen
#TSMTerrain=TsmTerrain.gen
hf_129_3=hf_129_3.gen
TsmTerrain=TsmTerrain.gen

# need to download datasrc.zip from http://tuan.kuranes.free.fr/ogre.html for those
puget_sound=puget_1k.gen
grand_canyon=gcanyon_height_4k2k.gen
terragen_genrated=terragen16bits.gen

# resource group name
GroupName=PLSM2

#do you want to run it on all maps listed here
BatchMode=yes



MapSplitter.log



09:09:17: Creating resource group General
09:09:17: Creating resource group Internal
09:09:17: Creating resource group Autodetect
09:09:17: Registering ResourceManager for type Material
09:09:17: Registering ResourceManager for type Mesh
09:09:18: Registering ResourceManager for type Skeleton
09:09:18: MovableObjectFactory for type 'ParticleSystem' registered.
09:09:18: Loading library OgrePlatform.dll
09:09:18: OverlayElementFactory for type Panel registered.
09:09:18: OverlayElementFactory for type BorderPanel registered.
09:09:18: OverlayElementFactory for type TextArea registered.
09:09:18: Registering ResourceManager for type Font
09:09:18: ArchiveFactory for archive type FileSystem registered.
09:09:18: ArchiveFactory for archive type Zip registered.
09:09:18: DevIL version: Developer's Image Library (DevIL) 1.6.7 Nov 9 2005
09:09:18: 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
09:09:18: Registering ResourceManager for type HighLevelGpuProgram
09:09:18: Registering ResourceManager for type Compositor
09:09:18: MovableObjectFactory for type 'Entity' registered.
09:09:19: MovableObjectFactory for type 'Light' registered.
09:09:19: MovableObjectFactory for type 'BillboardSet' registered.
09:09:19: MovableObjectFactory for type 'ManualObject' registered.
09:09:19: MovableObjectFactory for type 'BillboardChain' registered.
09:09:19: MovableObjectFactory for type 'RibbonTrail' registered.
09:09:19: Loading library .\RenderSystem_Direct3D9
09:09:19: D3D9 : Direct3D9 Rendering Subsystem created.
09:09:19: D3D9: Driver Detection Starts
09:09:19: D3D9: Driver Detection Ends
09:09:19: Loading library .\RenderSystem_GL
09:09:19: OpenGL Rendering Subsystem created.
09:09:21: Loading library .\Plugin_ParticleFX
09:09:21: Particle Emitter Type 'Point' registered
09:09:21: Particle Emitter Type 'Box' registered
09:09:21: Particle Emitter Type 'Ellipsoid' registered
09:09:21: Particle Emitter Type 'Cylinder' registered
09:09:22: Particle Emitter Type 'Ring' registered
09:09:22: Particle Emitter Type 'HollowEllipsoid' registered
09:09:22: Particle Affector Type 'LinearForce' registered
09:09:22: Particle Affector Type 'ColourFader' registered
09:09:22: Particle Affector Type 'ColourFader2' registered
09:09:22: Particle Affector Type 'ColourImage' registered
09:09:22: Particle Affector Type 'ColourInterpolator' registered
09:09:22: Particle Affector Type 'Scaler' registered
09:09:22: Particle Affector Type 'Rotator' registered
09:09:22: Particle Affector Type 'DirectionRandomiser' registered
09:09:22: Particle Affector Type 'DeflectorPlane' registered
09:09:22: Loading library .\Plugin_BSPSceneManager
09:09:22: Registering ResourceManager for type BspLevel
09:09:22: Loading library .\Plugin_OctreeSceneManager
09:09:23: Loading library .\Plugin_CgProgramManager
09:09:23: *-*-* OGRE Initialising
09:09:23: *-*-* Version 1.2.2 (Dagon)
09:09:23: Creating resource group Bootstrap
09:09:23: Added resource location '../../media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
09:09:23: Added resource location '../../media' of type 'FileSystem' to resource group 'General'
09:09:23: Added resource location '../../media/fonts' of type 'FileSystem' to resource group 'General'
09:09:24: Added resource location '../../media/materials/programs' of type 'FileSystem' to resource group 'General'
09:09:24: Added resource location '../../media/materials/scripts' of type 'FileSystem' to resource group 'General'
09:09:24: Added resource location '../../media/materials/textures' of type 'FileSystem' to resource group 'General'
09:09:24: Added resource location '../../media/materials/textures/ravanica' of type 'FileSystem' to resource group 'General'
09:09:24: Added resource location '../../media/models' of type 'FileSystem' to resource group 'General'
09:09:25: Added resource location '../../media/overlays' of type 'FileSystem' to resource group 'General'
09:09:25: Added resource location '../../media/particle' of type 'FileSystem' to resource group 'General'
09:09:25: Added resource location '../../media/gui' of type 'FileSystem' to resource group 'General'
09:09:25: Added resource location '../../media/DeferredShadingMedia' of type 'FileSystem' to resource group 'General'
09:09:26: Added resource location 'C:/OgreSDK/NewtonSDK/OgreNewt/demos/Media/primitives' of type 'FileSystem' to resource group 'General'
09:09:26: Added resource location '../../media/packs/cubemap.zip' of type 'Zip' to resource group 'General'
09:09:26: Added resource location '../../media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
09:09:26: Added resource location '../../media/packs/dragon.zip' of type 'Zip' to resource group 'General'
09:09:26: Added resource location '../../media/packs/fresneldemo.zip' of type 'Zip' to resource group 'General'
09:09:26: Added resource location '../../media/packs/ogretestmap.zip' of type 'Zip' to resource group 'General'
09:09:26: Added resource location '../../media/packs/skybox.zip' of type 'Zip' to resource group 'General'
09:09:27: Added resource location 'C:/OgreSDK/NewtonSDK/OgreNewt/demos/Media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
09:09:27: Creating resource group PLSM2
09:09:27: Added resource location 'C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2' of type 'FileSystem' to resource group 'PLSM2'
09:09:27: Added resource location 'C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/models' of type 'FileSystem' to resource group 'PLSM2'
09:09:27: Added resource location 'C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/overlays' of type 'FileSystem' to resource group 'PLSM2'
09:09:27: Added resource location 'C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/materials' of type 'FileSystem' to resource group 'PLSM2'
09:09:27: Added resource location 'C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/materials/scripts' of type 'FileSystem' to resource group 'PLSM2'
09:09:28: Added resource location 'C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/materials/textures' of type 'FileSystem' to resource group 'PLSM2'
09:09:28: Added resource location 'C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/materials/programs' of type 'FileSystem' to resource group 'PLSM2'
09:09:28: Added resource location 'C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/datasrcs' of type 'FileSystem' to resource group 'PLSM2'
09:09:28: Added resource location 'C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/terrains' of type 'FileSystem' to resource group 'PLSM2'



the error continue.

tuan kuranes

01-12-2006 12:37:14

does that folder exists ?

C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/terrains/hf129_3

irado

01-12-2006 13:27:43

this folder dont exists.

in
C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/terrains

are many files of terrains, how h_129_3.cfg and h_129_3.gen.cfg.

i change this name of the files because there are one line that have the name the file that plsm search. When i change this line the error change the message the error:

when the line is:

[coe]
LandScapeFileName=hf_129_3


the error is:
Error #: 8
Function: FileSystemArchive::changeDirectory
Description: Cannot open requested directory C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/terrains/hf_129_3.

and when the line is:

[coe]
LandScapeFileName=hf129_3


the error is:
Error #: 8
Function: FileSystemArchive::changeDirectory
Description: Cannot open requested directory C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/terrains/hf129_3.

into i dont know what i can do.

tuan kuranes

01-12-2006 16:56:39

you have to do exactly what the last post on the thead link you posted above said:
add the h_129_3 config file to maptools.cfg, and relaunch mapsplitter to that it generates C:/OgreSDK/paginglandscape/Samples/Media/paginglandscape2/terrains/hf129_3

irado

03-12-2006 02:10:46

sorry, but i dont understand what you say.

if you can write what i must do in the files i thank you.

I try others changes and run mapsplitter and dont get one solution.

thanks.

tuan kuranes

06-12-2006 14:07:28

The problem was fixed by adding this to the maptool.cfg file:

Code:

hf_129=hf_129_3.gen
TsmTerrain=TsmTerrain.gen


Then running the map splitter to generate the 2 lots of data that weren't being generated before.