test_physfs

Development libraries and headers for physfs

Install

All systems
curl cmd.cat/test_physfs.sh
Debian Debian
apt-get install libphysfs-dev
Ubuntu
apt-get install libphysfs-dev
Arch Arch Linux
pacman -S physfs
image/svg+xml Kali Linux
apt-get install libphysfs-dev
Fedora
dnf install physfs-devel
Windows (WSL2)
sudo apt-get update sudo apt-get install libphysfs-dev
OS X
brew install physfs
Raspbian
apt-get install libphysfs-dev

physfs-devel

Development libraries and headers for physfs

libphysfs-dev

filesystem abstraction library for game programmers (development headers)

The PhysicsFS filesystem abstraction library provides a simple C interface to aid game programmers in utilizing game assets packaged in many different types of archive files. This package contains the development libraries and headers.

libphysfs1-dbg

filesystem abstraction library for game programmers (debug symbols)

The PhysicsFS filesystem abstraction library provides a simple C interface to aid game programmers in utilizing game assets packaged in many different types of archive files. This package contains the debugging symbols for the libphysfs package.

physfs

PhysicsFS is a library to provide abstract access to various

archives. It is intended for use in video games, and the design was somewhat inspired by Quake 3's file subsystem. The programmer defines a "write directory" on the physical filesystem. No file writing done through the PhysicsFS API can leave that write directory, for security. For example, an embedded scripting language cannot write outside of this path if it uses PhysFS for all of its I/O, which means that untrusted scripts can run more safely. Symbolic links can be disabled as well, for added safety. For file reading, the programmer lists directories and archives that form a "search path". Once the search path is defined, it becomes a single, transparent hierarchical filesystem. This makes for easy access to ZIP files in the same way as you access a file directly on the disk, and it makes it easy to ship a new archive that will override a previous archive on a per-file basis. Finally, PhysicsFS gives you platform-abstracted means to determine if CD-ROMs are available, the user's home directory, where in the real filesystem your program is running, etc.