Miner49er
Active Member
Hi there folks,
I'm working on a game for use on the pandora (and any other computer). I have several things left to do on it and tidying up all the last bits is a bit ad-hock at the moment but right now as my game has lot's of other files it needs I am looking for a way of packaging them up so as it's all a bit neater.
Ideally, I would like the game to be a single file but I will be happy with a single 'data' file.
Now, my first thoughts were to just 'zip' all the files up and rename the file gameData.dat - is this the recommended way of doing it? If so, what libraries would I use to get at the files?
Any ideas would be great. I know I should work more on the game mechanics before doing this bit but like I said, it's all ad-hock hacking right now!
I'm coding in C++ under linux atm and I want this to be cross-platform, so I'm not interested in Exec()'ing tar -xjf etc.
cheers,
m
I'm working on a game for use on the pandora (and any other computer). I have several things left to do on it and tidying up all the last bits is a bit ad-hock at the moment but right now as my game has lot's of other files it needs I am looking for a way of packaging them up so as it's all a bit neater.
Ideally, I would like the game to be a single file but I will be happy with a single 'data' file.
Now, my first thoughts were to just 'zip' all the files up and rename the file gameData.dat - is this the recommended way of doing it? If so, what libraries would I use to get at the files?
Any ideas would be great. I know I should work more on the game mechanics before doing this bit but like I said, it's all ad-hock hacking right now!
I'm coding in C++ under linux atm and I want this to be cross-platform, so I'm not interested in Exec()'ing tar -xjf etc.
cheers,
m