Sign in to follow this  
diego_pmc

Custom file formats

Recommended Posts

diego_pmc    102
I'm writing a simple 2D game in C++. Up until now I just stored my game data in folders, but now the time has come to implement a sort of 'container file' where I can store animations, sounds, scripts, etc. How do you recommend I do that, what libraries should I use, etc? :)

Share this post


Link to post
Share on other sites
Calexus    245
Sqlite also make for a pretty sweet custom file format. Depending on your data stuffing it into a file based database might not be the best solution but it's really nice to be able to access data using sql queries.

Share this post


Link to post
Share on other sites
diego_pmc    102
PhysicsFS and Sqlite seem very interesting, but I think I'll give PhysicsFS a go first. From the superficial reading I did on it I imagine it is particularly useful if you want to make you game moddable (and give modders the ability to use the vanilla game files if they want). Just one question, though: is it 100 percent platform-independent? I'm asking because after I finish writing the game for Windows I'd like to port it over to Wii Homebrew.

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