A tool for editing GoldSrc maps without decompiling.
To launch the 3D editor, drag and drop a .bsp file onto the executable, or "Open with" bspguy, or run bspguy <mapname>
See the wiki for tutorials.
- Keyvalue editor with FGD support
- Entity + BSP model creation and duplication
- Easy object movement and scaling
- Vertex manipulation + face splitting
- Used to make perfectly shaped triggers. A box is often good enough, though.
- BSP model origin movement/alignment
- Optimize + clean commands to prevent overflows
- Hull deletion + redirection + creation
- clipnode generation is similar to
-cliptype legacy
in the CSG compiler (the worst method)
- clipnode generation is similar to
- Basic face editing
The editor is full of bugs, unstable, and not all actions can be undone. Save early and often! Make backups before experimenting with anything.
Requires OpenGL 3.0 or later.
- Click
File
->Settings
->General
- Set the
Game Directory
to your game folder path (e.g.D:/Steam/steamapps/common/Half-Life/
), then clickApply Changes
.- This will fix the missing textures.
- Click the
FGDs
tab and add the full path to your game's fgd file(s) (e.g.D:/Steam/steamapps/Sven Co-op/svencoop/sven-coop.fgd
). ClickApply Changes
.- This will give point entities more colorful cubes, and enable the
Attributes
tab in theKeyvalue editor
.
- This will give point entities more colorful cubes, and enable the
bspguy saves configuration files to %APPDATA%/bspguy
on Windows.
Some functions are only available via the CLI.
Usage: bspguy <command> <mapname> [options]
<Commands>
info : Show BSP data summary
merge : Merges two or more maps together
noclip : Delete some clipnodes/nodes from the BSP
delete : Delete BSP models
simplify : Simplify BSP models
transform : Apply 3D transformations to the BSP
Run 'bspguy <command> help' to read about a specific command.
- Install CMake, Visual Studio Community, and Git.
- Visual Studio: Make sure to checkmark "Desktop development with C++" if you're installing for the first time.
- Open a command prompt somewhere and run this command to download the source code (don't click the download zip button!):
git clone --recurse-submodules --shallow-submodules https://github.com/wootguy/bspguy
- Download GLEW (choose the
Binaries Windows 32-bit and 64-bit
link) and extract theglew-x.y.z
folder into thebspguy
folder that was created in the previous step. Rename theglew-x.y.z
folder toglew
. - Open a command prompt in the
bspguy
folder and run these commands:(you can open a command-prompt in the current folder by typingmkdir build && cd build cmake .. cmake --build . --config Release
cmd
into the address bar of the explorer window)
- Install Git, CMake, X11, GLFW, GLEW, and a compiler.
- Debian:
sudo apt install build-essential git cmake libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libgl1-mesa-dev xorg-dev libglfw3-dev libglew-dev libxxf86vm-dev
- Debian:
- Open a terminal somewhere and run these commands:
(a terminal can usually be opened by pressing F4 with the file manager window in focus)
git clone --recurse-submodules --shallow-submodules https://github.com/wootguy/bspguy cd bspguy mkdir build; cd build cmake .. -DCMAKE_BUILD_TYPE=RELEASE make