Storing resources into a single file
This is not a new idea or anything, but while I'm google'ing for it I'm thinking someone might have some knowledge on the subject. Instead of leaving the dozens of resources (bmp's, wav's, mid's) laying around my game's directory and whatnot, I'm going to opt in to dumping all of them into a single file (like pak and pk3 files) and load them during initialization. My question:
Should I load the resource in memory or extract them all to a temporary directory, load, and delete? I would prefer the former (unless there are good reasons not to) because I don't like the idea of creating/deleting such temp files every run.
What do you think? Please point me at any good resources that might assist in my quest. Thanks.
If you know of any resources detailing how to go about loading resources (BMP, WAV, MID) from memory, let me know.