PhysicsFS

From Wikipedia, the free encyclopedia
Jump to: navigation, search
PhysicsFS
Developer(s) Ryan C. Gordon
Stable release 2.0.3 / October 22, 2012; 2 years ago (2012-10-22)
Written in C
Type Library
License zlib License
Website icculus.org/physfs/

PhysicsFS (PhysFS for short) is a zlib-licensed programming library written in C for virtual file access.[1][2] In the 1.x series, it maintained a global search path that allowed reading from normal directories, ZIP files,[1] Quake PAK files,[1] Doom WAD,[1] which would all be represented in a single virtual file tree with one directory designated as where output files are to be written.[1] In the newer 2.x series, a more Unix-like mount-based system is used, in which directories and archives can be mounted as specific directories as opposed to part of the root tree. For example, one could mount graphics data files from Graphics. WAD and script data files from Scripts. PAK as root directories, the user directory for the game as "/saves".

Usage[edit]

PhysicsFS is mainly used in the video game industry, but can be used by other sorts of programs, too. The Allegro,[2] LÖVE[3] and NAS2D[4] game engines support it natively. Video games that use PhysicsFS include Dead Meat, netPanzer, and MindBender.[1]

References[edit]

  1. ^ a b c d e f [1], PhysicsFS Home Page
  2. ^ a b [2], Allegro library Documentation
  3. ^ [3], list of third-party libraries used by LÖVE
  4. ^ [4], third-party libraries used by NAS2D

External links[edit]