Sign in to follow this  
TimChan

game resource package

Recommended Posts

Many professional games have their own game resource package such as map003.abc... Does any tutorial talk about how to make like this?

Share this post


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

Share this post


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

Share this post


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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this