Managing a custom archive
1 reply to this topic
Members - Reputation: 124
Posted 01 June 2011 - 01:39 PM
For my game I'd like to hold all resources in one or a few files. I know plenty of game have these but I'm not sure how to go about doing it. I'm not doing this to protect against modding so as far as complex algorithms go I'm not concerned. I could store them in a .zip for all I care, so long as I don't have a million subdirectorys for sprites. I'd prefer to just have one archive for sprites, one for sounds, one for tilesets and keep it like that.
Members - Reputation: 326
Posted 01 June 2011 - 02:41 PM
A quick google search will turn up a number of different zip (or other archive format of preference) interface APIs which should do the trick for you, in any number of languages (C++/Java/C#/Perl/etc)
There was a saying we had in college: Those who walk into the engineering building are never quite the same when they walk out.