|
-
Nov 2nd, 1999, 09:34 AM
#1
Thread Starter
Junior Member
How would I store Several files whether they be data, text, bmp, or anything into a single file and recall them from that file. An example of this would be the pak files from quake or the wad files from DOOM.
-
Nov 19th, 2002, 02:34 PM
#2
Junior Member
It can be done in VB. What you have to do is (to Pak the file):
- Open output file in binary mode
- Write any header you want to put (file version, num of files inside...)
- Open each input file in turn and write its name, length and then data
- Close output file
To UnPak the fie you:
- Work it out for yourself lazy!
-
Nov 19th, 2002, 02:35 PM
#3
Have you looked into using a Resouce File?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|