run demo error

is01sjjj

19-03-2006 10:43:57

I have followed PLSM instruction to unzip media correctly.
but always encounter this problem in run time:

-----------------------------------
Details:
-----------------------------------
Error #: 8
Function: FileSystemArchive::changeDirectory
Description: Cannot open requested directory ../../../Media/paginglandscape2/terrains/hf129_3.
File: \OgreDev\Dagon\OgreMain\src\OgreFileSystem.cpp
Line: 141

I know this is a path problem , but i have split terrain correctly and
in cfg file the path is correct too. why this happen?
(the error happen in path "../../../Media" which should be "../../Media")

tuan kuranes

20-03-2006 09:06:46

path error was in paginglandscape2/terrains/hf129_3.cfg file. (and other terrains)

Fixed in downloadable Demo and SDK.

is01sjjj

20-03-2006 15:14:46

ft...me find a bug? it's pretty new for me ,kaka
thanks for tuan kuranes, you are genius....

kelphi

02-04-2006 23:19:50

im getting the same error. i did "CVS Update" on the ogreaddons folder and there were a bunch of updates for paginglandscape that appeared on the download screen. I went and ran the program after that and the error is still there. Is there anything else i should do?

tuan kuranes

03-04-2006 08:31:30

did you ran mapslitter before ?

Ogli

04-04-2006 06:05:06

Whatever I do, when following the instructions on the website:

-----------------------------------
Details:
-----------------------------------
Error #: 8
Function: FileSystemArchive::changeDirectory
Description: Cannot open requested directory ../../Media/paginglandscape2/terrains/hf129_3.
File: ..\src\OgreFileSystem.cpp
Line: 141


I would like to see the demo. Must I use CVS and build it myself?

tuan kuranes

04-04-2006 08:21:22

Ogli: Demo ? Sdk ? Ran Mapslitter ?
and when editing path in paginglandscape2/terrains/hf129_3.cfg ?

Ogli

05-04-2006 00:50:03

ooops :oops:

forgot something. the map splitter.
demo is quite impressive.
you see: a total noob here...

only one problem with OpenGL on my Radeon9800pro:
:?:
When using OpenGL, there are some big artifacts with the shader that makes the offset in Y-direction.
The same error happens when I use the normal terrain manager (EXTERIOR_CLOSE), maybe it uses the same shader.

could not figure out what this caused - downloaded the latest ATI driver already and your OgreMain.dll and Plugin_CgProgramManager.dll are the latest already, I think. hmmm

tuan kuranes

05-04-2006 11:52:06

as said in wiki page : known ati driver bug.

Ogli

05-04-2006 15:49:44

:oops:

(double noob - just finished the tutorials...)

OvermindDL1

05-04-2006 18:18:54

as said in wiki page : known ati driver bug.

Yea, It happens on a 9200 I have here (don't look at me like that, it was given to me). My 9700 Pro does not have that issue though, I keep them both fully updated. I wonder what the differences are...

Klesk

10-04-2006 14:14:49

I got this error to, but I have run the mapsplitter....
any ideas?

-----------------------------------
Details:
-----------------------------------
Error #: 8
Function: FileSystemArchive::changeDirectory
Description: Cannot open requested directory ../../Media/paginglandscape2/terrains/hf129_3.
File: ..\src\OgreFileSystem.cpp
Line: 141

tuan kuranes

10-04-2006 14:20:28

@Klesk: demo ? SDK? CVS? OGRE SDK ? OGRE CVS ?
is there a hf129_3 folder somewhere in ogre media folder ?

Klesk

10-04-2006 14:42:33

I have run the demo.
But the error was on my site.
I have put the datasources in a wrong folder. demo works fine.
thank you tuan.

sengoku

23-04-2006 02:23:33

I was having this problem too, using the latest source (non-cvs) from Tuan's website (also obviously using Ogre 1.2 RC2).

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


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.

swakdaddy

18-05-2006 02:24:24

Hi, I'm having the exact same problem and no method on the forums has helped.


Error #: 8
Function: FileSystemArchive::changeDirectory
Description: Cannot open requested directory ../../../Media/paginglandscape2/terrains/hf129_3.
File: \OgreDev\Dagon\OgreMain\src\OgreFileSystem.cpp
Line: 141

(the error happen in path "../../../Media" which should be "../../Media")


I do not know where it is getting the "../../../" because the hf_129_3.cfg and hf_129_3.gen.cfg files have "../../" (just like all the other .cfg files).

I got the PLSM2 from Tuan's site (not CVS/SVN).

Any help would be great...thanks!

(On a positive note, all of PLSM2 compiled perfectly (finally! :-))

tuan kuranes

18-05-2006 08:45:20

Did you run mapsplitter prior demo launching ?

swakdaddy

18-05-2006 16:24:14

Yeah, mapsplitter is creating the error in the ogre.log file.
It runs for a bit then crashes and creates that log entry.

Interestingly, I was able to run the demo after a few mapsplitter crashes, but I wasn't able to do much with the demo. The terrain loaded and the camera was pointed down at it from very high up. I was not able to move the camera, but the little yellow dot (actor?) was able to move. I was able to change to the second terrain by hitting N.

Is this normal behavior for the demo? The camera controls listed in F1 seemed to do nothing.

Thanks.

tuan kuranes

18-05-2006 17:12:49

Yeah, mapsplitter is creating the error in the ogre.log file.
It runs for a bit then crashes and creates that log entry.

I cannot reproduce the bug and find where this path come from...

I was able to run the demo after a few mapsplitter crashes
??

I wasn't able to do much with the demo

use SPACE and CTRL key when you move

swakdaddy

18-05-2006 21:00:38


I cannot reproduce the bug and find where this path come from...


I went through every .cfg file I could find that had "../../../" and changed them ALL to "../../". I have NO idea where it is getting "../../../" from unless it is hard coded into it somewhere (doubt). It is definately mapsplitter though and not the demo.


Thanks for the tip on movement...I'll try it when I get off work.

tuan kuranes

19-05-2006 15:07:31

Cannot find a cfg file with "../../../" here...

swakdaddy

19-05-2006 21:47:52

Yeah, I can't find one either...oh well, I give up.

*MapSplitter works on the other terrains.
*PLSM2 seems to run OK.
*I'm gonna quit worrying about getting that one single terrain to work since I'm not going to use it in my projects anyway!

Thanks though... Now I'm off to learn how to use PLSM2 with my own terrains! :-)