Archived

This topic is now archived and is closed to further replies.

Corrosive

How to create a Pack File! Help please!

Recommended Posts

Corrosive    122
Hi ! i´m here again! Well, my problem is this: I want to make a Pack file to insert data from many image, sound, data, etc files in an one big single file and i want to acess this files inside of the pack file! how can i do this! i have created a code, but it does not work! I need help with the structures, how can i verify the size of an entire directory, how can i alloc any type of file in this pack file, and how can i acess this files! Please any help will be Welcome! thank´s! Any source code...? bye!

Share this post


Link to post
Share on other sites
gimp    142
Just use zlib. For example on how to do it look at crystalspace. They do exactly what your after...

Share this post


Link to post
Share on other sites
A. Buza    122
Actually, the ''code on the cob'' series of articles on this site has a page or two (along with source code) of a pakfile system. Might help you out.

Share this post


Link to post
Share on other sites