Page 1 of 1

Read files from sources

Posted: Mon Mar 25, 2013 8:33 am
by mant
Hello Everyone, I want to pack my game files, such as IMG or MPQ,.....
How can I let Bullet/Irrlicht read these files with the read algorithm?

Re: Read files from sources

Posted: Mon Mar 25, 2013 11:25 am
by nullChar
What's an IMG file? What's an MPQ file? Did you create them? Do they store graphics/physics data? This doesn't sound strictly bullet-related, as it seems like more of a file format/file system type of question.
You'll want to load a file from disk into a data structure of your choosing, and then inject the contents of the data structure into your physics and graphics subsystems.