• Advertisement

Archived

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

How to create a Pack File! Help please!

This topic is 6422 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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
And where can i find ZLIB!! and how can i go to crystalspace, it´s a site or what! please, any help! thank´s for trying!



Share this post


Link to post
Share on other sites
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

  • Advertisement