This article's documentation is for anything that uses the Source engine. Click here for more information.

Vbspinfo: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Document vbspinfo)
 
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
'''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.
{{LanguageBar}} {{source topicon}} {{toc-right}}
: {{Bug|{{csgo}} Will crash if an invalid input is used.}}
[[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|{{csgo}} Will crash if an invalid input is used.}}


==Syntax==
==Syntax==
  vbspinfo [parameters] <bspfile>
  vbspinfo [parameters] <bspfile>
==Parameters==
==Parameters==
;<code>-treeinfo</code>
;{{mono|-treeinfo}}: Dumps BSP tree information.
: Dumps BSP tree information.
;{{mono|-worldtexturestats}}: Dumps a list of textures used on brush surfaces and the number of surfaces each texture is used on.
;<code>-worldtexturestats</code>
;{{mono|-modelstats}}: Dumps a list of models used in the map and the number of times each model is used.
: Dumps a list of textures used on brush surfaces and the number of surfaces each texture is used on.
;{{mono|-liststaticprops}}: Dumps a list of static props used in the map and their static prop IDs.
;<code>-modelstats</code>
;{{mono|-X<lumpID>}}: Dumps a map lump with the specified ID. E.g., {{mono|-X0}} dumps the entity lump. A list of lump IDs can be found [[Source_BSP_File_Format#Lump_types|here.]]{{Note|The <tt>.lmp</tt> file will be created in the same directory as the input <tt>.bsp</tt>.}}
: Dumps a list of models used in the map and the number of times each model is used.
;{{mono|-size}}: Dumps the worldmodel bounds of the BSP, with and without skybox.
;<code>-X[lump ID]</code>
: Dumps a map lump with the specified ID. i.e. <code>-X0</code> dumps the entity lump. A list of lump IDs can be found [[Source_BSP_File_Format#Lump_types|here.]]
: {{Note|The .lmp file will be created in the same directory as the input .bsp.}}
;<code>-size</code>
: Dumps the worldmodel bounds of the BSP, with and without skybox.


== See also ==
== See also ==
*[[VBSP2]], a similar BSP analysis tool.
*[[VBSP2]], a similar BSP analysis tool.
 
{{sdktools}}
{{SDKTools}}
[[Category:Level Design]]
[[Category:Official Source Tools]]

Latest revision as of 08:55, 27 December 2024

English (en)Translate (Translate)

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.

Icon-Bug.pngBug:Counter-Strike: Global Offensive Will crash if an invalid input is used.  [todo tested in ?]

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.
-liststaticprops
Dumps a list of static props used in the map and their static prop IDs.
-X<lumpID>
Dumps a map lump with the specified ID. E.g., -X0 dumps the entity lump. A list of lump IDs can be found here.
Note.pngNote: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.