[HELP] Map Splitter

Jeff_Gos

16-10-2005 17:35:19

I've got the demo working, but there's no terrain

This is because i haven't run MapSplitter yet (right?)

I've copied the paginglandscape directory into media
this dir has sub-dirs
-datasrcs
-splat

I have set up the paths in resources.cfg

When running MapSplitter, I get an exception

MapSplitter.log says this:

18:25:28: Added resource location '../Media/paginglandscape/datasrcs' of type 'FileSystem' to resource group 'PLSM2'
18:25:28: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 8
Function: ResourceGroupManager::openResource
Description: Cannot locate resource alpes.raw in resource group PLSM2..
File: \SoftwareDevelopment\C++\OgreSDK\ogrenew\OgreMain\src\OgreResourceGroupManager.cpp
Line: 501
Stack unwinding: <<beginning of stack>>


I can't find any file named alpes.raw in the media dir?

Please Help.
Thanks...

tuan kuranes

17-10-2005 09:42:09

yes need mapsplitter.

datasrcs terrain samples are in a separated download (big files) that is linked on the Wiki. ( => http://tuan.kuranes.free.fr/Ogre.html )

Jeff_Gos

17-10-2005 17:21:11

oops, sorry about that - so simple

Ok i put the new datasrcs in with those files
into media\paginglandscape\datasrcs

but now when i run the map splitter, an exception is thrown

the log file gives no clue, but here it is anyway

17:36:18: Creating resource group General
17:36:18: Registering ResourceManager for type Material
17:36:18: Registering ResourceManager for type Mesh
17:36:18: Registering ResourceManager for type Skeleton
17:36:18: Loading library OgrePlatform.dll
17:36:18: OverlayElementFactory for type Panel registered.
17:36:18: OverlayElementFactory for type BorderPanel registered.
17:36:18: OverlayElementFactory for type TextArea registered.
17:36:18: Registering ResourceManager for type Font
17:36:18: ArchiveFactory for archive type FileSystem registered.
17:36:18: ArchiveFactory for archive type Zip registered.
17:36:18: DevIL version: Developer's Image Library (DevIL) 1.6.7 May 27 2004
17:36:18: DevIL image formats: bmp dib cut dcx dds gif 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
17:36:18: Registering ResourceManager for type HighLevelGpuProgram
17:36:18: Loading library .\RenderSystem_Direct3D7
17:36:18: Direct3D7 Rendering Subsystem created.
17:36:18: ----- DirectDraw Detection Starts
17:36:18: Detected DirectDraw driver Primary Display Driver
17:36:18: ----- DirectDraw Detection Ends
17:36:18: Loading library .\RenderSystem_Direct3D9
17:36:18: D3D9 : Direct3D9 Rendering SubSystem created.
17:36:18: D3D9: Driver Detection Starts
17:36:18: D3D9: Driver Detection Ends
17:36:18: Loading library .\RenderSystem_GL
17:36:19: OpenGL Rendering Subsystem created.
17:36:20: Loading library .\Plugin_ParticleFX
17:36:20: Particle Emitter Type 'Point' registered
17:36:20: Particle Emitter Type 'Box' registered
17:36:20: Particle Emitter Type 'Ellipsoid' registered
17:36:20: Particle Emitter Type 'Cylinder' registered
17:36:20: Particle Emitter Type 'Ring' registered
17:36:20: Particle Emitter Type 'HollowEllipsoid' registered
17:36:20: Particle Affector Type 'LinearForce' registered
17:36:20: Particle Affector Type 'ColourFader' registered
17:36:20: Particle Affector Type 'ColourFader2' registered
17:36:20: Particle Affector Type 'ColourImage' registered
17:36:20: Particle Affector Type 'ColourInterpolator' registered
17:36:20: Particle Affector Type 'Scaler' registered
17:36:20: Particle Affector Type 'Rotator' registered
17:36:20: Loading library .\Plugin_BSPSceneManager
17:36:20: Registering ResourceManager for type BspLevel
17:36:20: Loading library .\Plugin_OctreeSceneManager
17:36:20: TerrainSceneManager: Registered a new PageSource for type Heightmap
17:36:20: Loading library .\Plugin_CgProgramManager
17:36:20: Loading library .\Plugin_PagingLandScapeSceneManager2
17:36:20: *-*-* OGRE Initialising
17:36:20: *-*-* Version 1.0.5 (Azathoth)
17:36:20: Creating resource group Bootstrap
17:36:20: Added resource location '../Media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
17:36:20: Added resource location '../Media' of type 'FileSystem' to resource group 'General'
17:36:20: Added resource location '../Media/fonts' of type 'FileSystem' to resource group 'General'
17:36:20: Added resource location '../Media/materials/programs' of type 'FileSystem' to resource group 'General'
17:36:20: Added resource location '../Media/materials/scripts' of type 'FileSystem' to resource group 'General'
17:36:20: Added resource location '../Media/materials/textures' of type 'FileSystem' to resource group 'General'
17:36:20: Added resource location '../Media/models' of type 'FileSystem' to resource group 'General'
17:36:20: Added resource location '../Media/overlays' of type 'FileSystem' to resource group 'General'
17:36:20: Added resource location '../Media/particle' of type 'FileSystem' to resource group 'General'
17:36:20: Added resource location '../Media/gui' of type 'FileSystem' to resource group 'General'
17:36:20: Added resource location '../Media/packs/cubemap.zip' of type 'Zip' to resource group 'General'
17:36:20: Added resource location '../Media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
17:36:20: Added resource location '../Media/packs/dragon.zip' of type 'Zip' to resource group 'General'
17:36:20: Added resource location '../Media/packs/fresneldemo.zip' of type 'Zip' to resource group 'General'
17:36:20: Added resource location '../Media/packs/ogretestmap.zip' of type 'Zip' to resource group 'General'
17:36:20: Added resource location '../Media/packs/skybox.zip' of type 'Zip' to resource group 'General'
17:36:20: Creating resource group PLSM2
17:36:20: Added resource location '../Media/paginglandscape' of type 'FileSystem' to resource group 'PLSM2'
17:36:20: Added resource location '../Media/paginglandscape/splat' of type 'FileSystem' to resource group 'PLSM2'
17:36:20: Added resource location '../Media/paginglandscape/datasrcs' of type 'FileSystem' to resource group 'PLSM2'


And heres the maptool.cfg



DefaultMap=grand_canyon

puget_sound=puget_1k.gen
grand_canyon=gcanyon_height_4k2k.gen
terragen_genrated=terragen16bits.gen
European_Alpes=Alpes.gen

# resource group name
GroupName=PLSM2
#do you want to run it on all maps listed here
BatchMode=yes


Sorry to be a pain...

Thanks fr your help

tuan kuranes

17-10-2005 17:30:09

the exception doesn't yell something ?

do you have the gcanyon_height_4k2k.gen.cfg and other map config split files in the plsm2 resource group (in ../Media/paginglandscape or ../Media/paginglandscape/datasrcs)