Packbsp

From Valve Developer Community
Jump to: navigation, search

Packbsp Packbsp is an open-source developer tool that automatically analyzes a map and discovers its network of dependencies, such as artistic assets, and packs them into the BSP file.

Warning.pngWarning:Currently, this tool does not work at all if it cannot detect the old Source SDK at \SteamApps\[steam_username]\Source SDK\ which makes it somewhat unusable with the new SteamPipe update that moved all game folders to SteamApps\common\ -- until someone fixes it and releases new binaries, it is suggested you use bspzip or Pakrat instead.
Tip.pngTip:While no longer under active development, the author welcomes any contributions or fixes, which can be submitted through Github.

For example, your map may have a custom model in it. PackBSP will analyze the model to find all the files and materials it uses, and then analyze those to find gibs or textures, etc. until everything has been explored. It will compare these files against what exists in GCF/NCF files so that only the custom content you really need is included in the map, and can show you when needed content is missing.

Packbsp screen01.png

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.

Eventual plans

  • Support for Left 4 Dead series, Alien Swarm
  • Support for Macs

External links

Issues

If the .bsp map has .mp3 sound files "Packbsp" will list it as "sound-name.mp3.wav"

"Packbsp" does not understand if the .bsp has a sprite with ".spr" E.G. materials/sprites/sprite-name.spr

The "Remove Selected" button is bugged and will not always remove the item that is highlighted.

See also