Packbsp

From Valve Developer Community
Revision as of 22:50, 12 March 2010 by Terr (talk | contribs)
Jump to navigation Jump to search

PackBsp is to automatically detect custom contents needed for a map, resolve and include dependencies within them, and pack all the relevant content into the BSP file. It is currently under active development by the author. (Terr)

"Dependencies" include VTF texture files which may be required by a VMT material file, or WAV files referenced from within a custom soundscape, or custom particle files (PCF) used within a particle manifest.

It relies on the Source SDK to access the vbspinfo and bspzip SDK tools for a subset of it's functionality, as well as utilizing HLLib to open BSP/GCF files. It will automatically determine the GCFs shipped with a game and will avoid packing duplicate contents.

Features

  • Autodetects the relevant GCFs for a game and examines their contents. Can warn on missing required dependencies.
  • Understands dependencies within resources such as map-entities, models, and materials.
  • Packs custom skybox textures and detail sprites.
  • Examines VMT files and understands a wide variety of dependencies, such as bumpmaps, env-maps, patch shaders, etc.
  • Handles map-specific particle manifests.
  • Handles custom soundscapes
  • Packs a wide variety of custom TF2 content from entity data (control-point appearance and sound, sprites, ambient_generic WAVs, etc.)
  • Can be extended to handle special entity dependencies in other games

Anticipated in next release

  • Automatic detection of entity-dependencies from FGD files, providing support for many mods.

Eventual plans

  • Support for VPK-based mods

External links