Vbspinfo

From Valve Developer Community
Revision as of 21:15, 7 May 2019 by Deprecated (talk | contribs) (Document vbspinfo)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

vbspinfo is a command-line tool that dumps information and, if specified, lumps from a BSP map file. It dumps information usually seen at the end of a Hammer compile log.

Bug: <Counter-Strike: Global Offensive> Will crash if an invalid input is used.

Syntax

vbspinfo [parameters] <bspfile>

Parameters

-treeinfo
Dumps BSP tree information.
-worldtexturestats
Dumps a list of textures used on brush surfaces and the number of surfaces each texture is used on.
-modelstats
Dumps a list of models used in the map and the number of times each model is used.
-X[lump ID]
Dumps a map lump with the specified ID. i.e. -X0 dumps the entity lump. A list of lump IDs can be found here.
Note:The .lmp file will be created in the same directory as the input .bsp.
-size
Dumps the worldmodel bounds of the BSP, with and without skybox.

See also

  • VBSP2, a similar BSP analysis tool.