VBSP2: Difference between revisions
Jump to navigation
Jump to search
Note:VMF files appear to be either unsupported or broken.
(VBSP2! It actually has very little to do with VBSP.) |
m (→See also) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
{{Note|VMF files appear to be either unsupported or broken.}} | {{Note|VMF files appear to be either unsupported or broken.}} | ||
Options | ===Options=== | ||
;<code>-game</code> | ;<code>-game</code> | ||
:Overrides the [[VProject]]. | :Overrides the [[VProject]]. | ||
Line 48: | Line 48: | ||
== See also == | == See also == | ||
*[[VBSP]], Valve's BSP compiling tool. | *[[VBSP]], Valve's BSP compiling tool. | ||
*[[VMAP]], another obscure tool developed around the same time. | *[[Vbspinfo|VBSPINFO]], Valve's original BSP analysis tool. | ||
*[[VMAP (Tools)|VMAP]], another obscure tool developed around the same time. Not to be confused with the [[VMAP]] file format introduced in Source 2. | |||
{{SDKTools}} | {{SDKTools}} |
Latest revision as of 03:46, 11 June 2023
An extremely obscure tool, VBSP2 appears to have been a BSP/VMF utility and analysis tool, with support for Windows and Mac. It can be found in the bin folder of Dino D-Day.
Syntax
vbsp2 [options] <vmf or bsp file>

Options
-game
- Overrides the VProject.
-info
- Spews out CSVs in the BSP's directory containing info on:
- General BSP info (i.e. size),
- Brushes,
- Faces,
- BSP lumps,
- Planes,
- Static props,
- Textures used,
- Visibility
- It also produces a text file containing all entities in the level, and their keyvalues.
-gl
- Dumps a .gl file of the map's brushes, for use with glview.
-lump <lump id>
- Dumps out the binary contents of the specified BSP lump.
One of the options other than -game
MUST be chosen for VBSP2 to operate.
Source Files
//portal2/rel_pc/src/public/vbsp2lib/lightmaptransfer.h
//portal2/rel_pc/src/public/vbsp2lib/serializesimplebspfile.h
//portal2/rel_pc/src/public/vbsp2lib/simplebspfile.h
//portal2/rel_pc/src/public/vbsp2lib/simplemapfile.h
//portal2/rel_pc/src/public/vbsp2lib/vbspmathutil.h
//portal2/rel_pc/src/utils/vbsp2/vbsp2.cpp
//portal2/rel_pc/src/utils/vbsp2/vbsp2.vpc
//portal2/rel_pc/src/vbsp2lib/bsp2gl.cpp
//portal2/rel_pc/src/vbsp2lib/lightmaptransfer.cpp
//portal2/rel_pc/src/vbsp2lib/physicsbuild.cpp
//portal2/rel_pc/src/vbsp2lib/physicsbuild.h
//portal2/rel_pc/src/vbsp2lib/serializesimplebspfile.cpp
//portal2/rel_pc/src/vbsp2lib/simplebspfile.cpp
//portal2/rel_pc/src/vbsp2lib/simplemapfile.cpp
//portal2/rel_pc/src/vbsp2lib/vbsp2lib.vpc
//portal2/rel_pc/src/vbsp2lib/vbspmathutil.cpp
See also
- VBSP, Valve's BSP compiling tool.
- VBSPINFO, Valve's original BSP analysis tool.
- VMAP, another obscure tool developed around the same time. Not to be confused with the VMAP file format introduced in Source 2.
|