Code: Select all
// Setup the ZIP file "MyLevel.pk3" to be read directly
intro->getFileSystem()->addZipFileArchive("levels/MyLevel.pk3");
// Load the scene file from the archive
smgr->loadScene("MyLevel.irr");
This is my code:
Code: Select all
device->getFileSystem()->addZipFileArchive("media/models/maps/map.pk3");
smgr->loadScene("map.irr");
Unable to open scene file: map.irr
What am I doing wrong?[/code]