# BSP2MAP

**BSP2MAP** is a decompiler for [GoldSrc](https://developer.valvesoftware.com/wiki/GoldSrc) maps written by Skyler 'Zipster' York. It converts the [BSP](https://developer.valvesoftware.com/wiki/BSP) files into .[MAP](https://developer.valvesoftware.com/w/index.php?title=Map_\(file_format\)\&action=edit\&redlink=1) format, which can then be loaded into [Hammer Editor](https://developer.valvesoftware.com/wiki/Hammer_Editor). Unfortunately, Goldsource maps do not store enough information for brushwork, so the geometry has to be recreated using the polygons. BSP2MAP hollows out all brush-based entities with a thickness of one unit as a preventive measure to stealing/copying maps.

{% hint style="danger" %}
This decompiler should not be used, it does not do a great job compared to [WinBSPC](https://developer.valvesoftware.com/wiki/WinBSPC), a more accurate GoldSrc decompiler. A comparison can be seen below.
{% endhint %}

![BSP2MAP's attempt to decompile HL crossfire.](https://3680263823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPXG6BIVWwbrvVSOiBw-887967055%2Fuploads%2Fgit-blob-d23bc5b7b9d54de035114d43708e0e3fe1a0553d%2FCrossfire_bsp2map.png?alt=media)

![WinBSPC's attempt to decompile HL crossfire.](https://3680263823-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPXG6BIVWwbrvVSOiBw-887967055%2Fuploads%2Fgit-blob-da94b94056ce5711dd924f264380ad7fff800078%2FCrossfire_winbspc.png?alt=media)

{% hint style="info" %}
Source: <https://developer.valvesoftware.com/wiki/BSP2MAP>
{% endhint %}
