loading from memory

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.
CodyCer0
Posts: 41
Joined: Mon Dec 08, 2008 3:07 am

Ok I got it working...

Post by CodyCer0 »

It was a minor problem but I got it working with the mesh and texture. Daring me tried it on irrlicht dll file but I couldn't even get to the compiling step, it was too big to even save the .h, well I didn't try saving from notepad but I'm leaving it alone, 5 megs is quite a lot of data for the array after all.

I am gonna try it for the collision demo now, god I hope the 2 meg pk3 file isn't too big.
CodyCer0
Posts: 41
Joined: Mon Dec 08, 2008 3:07 am

Post by CodyCer0 »

Great, now I can't get it to work with the pk3 file because I don't know how to use the addZipFileArchive on the .h based pk3.
grassblade
Posts: 27
Joined: Mon Jan 09, 2006 11:17 am

Post by grassblade »

It seems that you are trying to include everything inside an executable. It won't lead to proper optimization. All data will be forced to be loaded at startup. It is better to go for multi files. Also there is no need to convert irrlicht dll to a header file. You can link statically. But think,do you really need it. And one more thing. This thread was started sometime back, and since then irrlicht code has changed. Now calling from memory is directly supported. Another beginner may get confused after reading the whole post. So as Vitek suggested it is better not to bump. Anyway glad that I can be of help and wish you success.
Post Reply