could not create archive for map-20kdm2.pk3??? help please

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
huoda
Posts: 12
Joined: Sun Aug 08, 2010 5:06 pm
Location: Canelones, Uruguay

could not create archive for map-20kdm2.pk3??? help please

Post by huoda »

Hi again!! :)
I'm making the practice of the tutorial N°2, and when I run it sais:

Could not create archive for ../../media/map-20kdm2.pk3
Could not load mesh... (Of course, if U can't "create" the pk3 file ¬¬)

and the "Draw window" shows itself totaly in a beautyful GRAY!!!

this is the code (exactly as the tutorial hehe :oops: )

...
device->getFileSystem()->addZipFileArchive("../../media/map-20kdm2.pk3");
scene::IAnimatedMesh *mesh = smgr->getMesh("20kdm2.bsp");
scene::ISceneNode *node = 0;
...

what can be the problem?
thanks a lot!!!
huoda
Posts: 12
Joined: Sun Aug 08, 2010 5:06 pm
Location: Canelones, Uruguay

SOLVED!!!

Post by huoda »

Sorry , but I solved it.

The problem was that The directoy where I was working is not the same of Irrlicht directory (here are the maps, and the headers, and the blah blah blah), I need to write ../../Irlicht-1.7.1/media... , 'cuz I have it in the desktop, same the Programming/IrrTest. :)

Now I can see the Scene
Thanks anyway
Post Reply