Making a package system

unrealportal
05-31-2003, 02:17 AM
Okay in my game I want it load it's data (textures/sounds) from within packagefiles to avoid messing with loads of files...
What I want is to make a filemodule in my project that can load whatever filetype binary and store it within another 'package' file.
It's like archiving files into zips, except that I don't compress them.
In that way, a set of textures or sounds that belongs toghether can be stored in one single filed and loaded at any time.
I'm not very experienced with binary files (been doing something with ascii-files).
I need some help on coming up with how I can do this effectively.
I thought of in the beginning of the file making a 'header' that contains the filename entries that says at which position in the package the file begins and how it is.

GavinO
06-01-2003, 02:34 PM
I believe you're looking for .res (Resource) files. VB has a built-in facility for them, which you should find most helpful.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum