i have a bunch of bitmaps and wavs for my game. for now they sit in appropriately named folders like - sprites\ship .. etc

i would like to know how peple deal with making "resource files" i dont mean the resource file in vb design enviroment. i mean .dat or what ever files to store all game realted data such as bitmaps etc.

i came across one idea where all the pics etc are written in a file a sbinary then "extracted" at run time. well the thing is what happens if the game crashes ... who is supposed to delete the files that were extracted ...

well then again you can extract them and then CreateSurfaceFromFile then delete them ...

is this how it is done ... are there better ways ?

thanks