Packbsp

From Valve Developer Community
Revision as of 02:38, 14 June 2010 by Terr (talk | contribs)
Jump to navigation Jump to search

PackBsp is a developer tool that can 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.

Latest version: 2.0 Beta 2 (June 14th 2010)

"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 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

  • Detects engines and games the same way the Source SDK launcher does.
  • Autodetects the relevant GCFs for a game and examines their contents.
  • Uses the same data Hammer does (FGDs) to intelligently detect uses of textures, models, etc. in your map.
  • 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.

Anticipated capabilities in future releases

  • Analyze dependencies for arbitrary files
  • Graphical display of the dependency graph

Eventual plans

  • Support for VPK-based mods (Left 4 Dead series)
  • Support Macs

External links

See also