BrushMode Options
The decompilation mode is controlled by thebrushMode configuration option:
BRUSHPLANES
Description: “Brushes and planes” This is the default and recommended mode. It reconstructs the original brush geometry using plane data from the BSP. Advantages:- Most accurate reconstruction of original brushes
- Produces clean, editable geometry
- Works with Hammer’s brush manipulation tools
- Best for maps you want to edit further
- You need to edit the decompiled map
- You want the closest approximation to the original VMF
- You’re working with standard brush-based geometry
ORIGFACE
Description: “Original faces” Reconstructs geometry using the original face data before BSP splitting. Advantages:- Preserves original face boundaries
- Good for maps with complex face structures
- May not reconstruct perfect brushes
- Some geometry may require manual cleanup
- BRUSHPLANES mode produces incorrect geometry
- You need to preserve specific face boundaries
- Working with displacement surfaces
ORIGFACE_PLUS
Description: “Original plus split faces” Combines original face data with split face information for more complete reconstruction. Advantages:- More complete geometry than ORIGFACE alone
- Handles complex face splitting better
- May produce more complex geometry
- Can create additional cleanup work
- ORIGFACE produces incomplete results
- You need both original and split face data
- Dealing with heavily optimized geometry
SPLITFACE
Description: “Split faces” Uses only the split face data from BSP compilation. Characteristics:- Produces the most fragmented geometry
- Reflects the actual compiled face splits
- Least editable output
- Other modes fail to produce valid geometry
- You’re analyzing compiled face structure
- You don’t plan to edit the result
Configuration Example
Mode Selection Guide
Editing the decompiled map
Editing the decompiled map
Use BRUSHPLANES for the most editable geometry that works well with Hammer’s tools.
Geometry appears broken in BRUSHPLANES
Geometry appears broken in BRUSHPLANES
Try ORIGFACE first, then ORIGFACE_PLUS if needed.
Analyzing BSP structure
Analyzing BSP structure
Use SPLITFACE to see exactly how VBSP split the geometry during compilation.
Maximum compatibility
Maximum compatibility
BRUSHPLANES is the safest default that works for most maps.
The brush mode affects both world brushes and brush entities (func_detail, func_door, etc.).
Related Options
- writeWorldBrushes: Enable/disable world brush decompilation
- writeDisp: Include displacement surfaces
- backfaceDepth: Depth for backface reconstruction (default: 1)
- writeBrushEntities: Enable/disable brush entity decompilation