arunkumarmunusamy / bitfighter

Automatically exported from code.google.com/p/bitfighter
Other
0 stars 0 forks source link

Load game resources from a system dir and a user dir #446

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We should be able to load system resources from both the installed resources 
directory and a user preferences directory; e.g.  /usr/share/bitfighter/ and 
$HOME/.bitfighter/

This will make is so copying game resources to the user directory is unneeded 
upon first launch.

We could use a library like physfs or something similar to create a virtual 
filesystem that aggregates resources into a single virtual directory..  or 
write our own.

Original issue reported on code.google.com by buckyballreaction on 28 Jun 2014 at 2:22

GoogleCodeExporter commented 9 years ago
physfs looks pretty awesome.  I'm all for using it.  It supports all the 
platforms we support, and would make it easier to support distributing files in 
zip format.

Original comment by watusim...@bitfighter.org on 25 Feb 2015 at 7:51