Page 1 of 1

Problems with Irrlicht and zips

Posted: Mon Apr 17, 2006 2:02 pm
by Das Gurke
Now, according to the 2nd tutorial a file inside a zip added via

Code: Select all

IrrDevice->getFileSystem()->addZipFileArchive("level/00.gxlevel");
should be "found" by the program straight away. Or am I mistaken here already?

Anyway, my Code:

Code: Select all

IrrDevice->getFileSystem()->addZipFileArchive("level/00.gxlevel");			

texMapPreview = IrrDriver->getTexture("00.bmp");
imgMapPreview->draw();
::PlaySoundW(L"snd/lvlchange.wav", NULL, SND_ASYNC);
The archives get loaded correctly, just checked with the debugger, they return a value != NULL. And there is a file called 00.bmp inside the archive.

Posted: Sat Apr 22, 2006 4:16 pm
by Das Gurke
Sorry but *bump* Maybe this is wrong in the beginners help section?