How to create a Pack File! Help please!
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!
To code is to make things come to life ;)
Wasn''t Quakes PAK file just a zip file?
well u could open it and add files to it in winzip anyway...
-----------------------------
-cow_in_the_well
http://cowswell.gda.ods.org/
"If it's stupid but works, it's not stupid" - Murphey's Law
well u could open it and add files to it in winzip anyway...
-----------------------------
-cow_in_the_well
http://cowswell.gda.ods.org/
"If it's stupid but works, it's not stupid" - Murphey's Law
- Thomas Cowellwebsite | journal | engine video
Just use zlib. For example on how to do it look at crystalspace. They do exactly what your after...
Chris Brodie
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!
To code is to make things come to life ;)
quote:
Pak files are just .zip files.
actually they weren''t in quake and quake 2.
JoeMont001@aol.com www.polarisoft.n3.net
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement