This page is a small application environment that demonstrates some of the usage of the Bsp class and its subclasses.

This library exists as part of a larger application that is intended to audit BSP contents so that map authors can detect assets currently being used in the map, as well as entities. Ultimately, the data presented here is intended to be easily hooked up into any web interface or web service.

The map being parsed can be downloaded here; it is a Left4Dead 2 map, though the application ought to work with most VBSP files.

Despite being written in PHP, this application performs quite well on most maps. While this application could be written in C as a PHP extension, it does have the advantage of being platform-independent due to byte-order checking when it comes to binary I/O operations.