Vbspinfo: Difference between revisions
Jump to navigation
Jump to search

Bug:
Will crash if an invalid input is used. [todo tested in ?]
Deprecated (talk | contribs) (Document vbspinfo) |
Kestrelguy (talk | contribs) m (added language bar.) |
||
Line 1: | Line 1: | ||
{{lang|Vbspinfo}} | |||
[[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> | ;<code>-treeinfo</code>: Dumps BSP tree information. | ||
: Dumps BSP tree information. | ;<code>-worldtexturestats</code>: Dumps a list of textures used on brush surfaces and the number of surfaces each texture is used on. | ||
;<code>-worldtexturestats</code> | ;<code>-modelstats</code>: 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. | ;<code>-X[lump ID]</code>: Dumps a map lump with the specified ID. E.g., <code>-X0</code> 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>.}} | ||
;<code>-modelstats</code> | ;<code>-size</code>: Dumps the worldmodel bounds of the BSP, with and without skybox. | ||
: Dumps a list of models used in the map and the number of times each model is used. | |||
;<code>-X[lump ID]</code> | |||
: Dumps a map lump with the specified ID. | |||
;<code>-size</code> | |||
: Dumps the worldmodel bounds of the BSP, with and without skybox. | |||
== See | == See Also == | ||
*[[VBSP2]], a similar BSP analysis tool. | *[[VBSP2]], a similar BSP analysis tool. | ||
{{SDKTools}} | {{SDKTools}} |
Revision as of 18:24, 3 June 2022


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.


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. E.g.,
-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.
|