[physfs] windows eccentricities...

Ryan C. Gordon icculus at clutteredmind.org
Tue May 3 22:17:32 EDT 2005

> is it within the scope of physfs to sort out the differences between 
> window's file system and more sane file systems?  for example, would a 
> standardized mapping from windows style file names 
> ("c:\folder\file.ext") to unix/osx ("/folder/file.ext") be worthy of 
> adding to physfs?  obviously, there would be some issues in how you'd 
> deal with drive letters, but by folding that into physfs, perhaps a 
> reasonable standard could be achieved.

Beyond setting up your initial search path and write dir, there isn't 
any need to think about platform-dependent notation at all.

There are already physfs APIs to get you the location of your app in the 
native file system and where it is considered safe to write files to aid 
in this...everything else is, generally speaking, not needed.

PhysicsFS assumes you aren't going to be providing any meaningful access 
to the native filesystem (i.e. - a file picker dialog and such).


More information about the physfs mailing list