game resource package

Started by
4 comments, last by Spudder 19 years, 5 months ago
Many professional games have their own game resource package such as map003.abc... Does any tutorial talk about how to make like this?
Advertisement
you can use zip files with *.xyz ending. :D there are some api s to use zip files. and one tutorial on this site about using .bmp files from zip file.

other way if you want to make your own format, i am not sure but i think you may read files and wr,te them in some format to your file. there were questions about this do a forum search..
+-+-+-+-+-STR
ftp://ftp.freesoftware.com/pub/infozip/zlib/index.html
+-+-+-+-+-STR
Try this

http://www.flipcode.com/articles/article_vfs01.shtml
http://www.flipcode.com/articles/article_vfs02.shtml
http://www.flipcode.com/articles/article_vfs03.shtml

This articles explains how to build such a ressource file.
-----"Master! Apprentice! Heartborne, 7th Seeker Warrior! Disciple! In me the Wishmaster..." Wishmaster - Nightwish
This is quite good as well.
You could always modify an existing format - the Quake2 style PAK format is a very simple one, all you need to do is add a few fields to the file/entry headers to stop existing software from reconising it.

You will have to modify the code to read from the file to take whatever changes you made into accout but that's not going to be very hard.

This topic is closed to new replies.

Advertisement