Problems with Irrlicht and zips

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
Das Gurke
Posts: 21
Joined: Sun Mar 05, 2006 7:39 pm

Problems with Irrlicht and zips

Post 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.
Das Gurke
Posts: 21
Joined: Sun Mar 05, 2006 7:39 pm

Post by Das Gurke »

Sorry but *bump* Maybe this is wrong in the beginners help section?
Post Reply