Skip to content

bspguy v6

Latest

Choose a tag to compare

@wootguy wootguy released this 02 Sep 01:41
· 4 commits to master since this release

An update focused on performance, QOL, and new porting tools for Half-Life.

⚠️ 2026/09/08: Critical bugs that crashed the program and broke random BSP models were fixed (f54a520, #159, #160). Download again if you got the version from last week.

Showcase

Click for screenshots

Old low resolution UI scaling:
image

New UI scaling:
image

PVS wireframe and wpoly counter:
image

Skybox rendering:
image

Lightmap editing:
ezgif com-optimize(2)

Texture browser:
image

Entity name tags:
image

PVS editing + Leaf Graph:
image

Box selection:
image

Texture resize tool:
image

Text wrapping in keyvalue editor. More space given to values than keys. Purge/Copy/Paste options from J.A.C.K..
image

Map merging tool:
ezgif com-optimize(3)

Potato mode:
image

Quake 1 BSP2:
image

Major new features

  • Leaf selection mode for PVS editing and world leaf reduction.
  • Portal file generator for VIS recompilation. This can be used to fix missing faces or improve performance in old maps.
  • RAD preparation tool with texlight estimation and other time savers for RAD recompilation.
  • Major performance improvements. Expect 2x-10x better FPS and load times in large maps.
    • Try out the Viewport Resolution option in the Renderer settings if you have an integrated GPU.
    • Texture Quality has a huge impact on FPS if you use the legacy renderer.
    • MDL models and wireframes are still FPS killers. Keep them disabled on old hardware.
  • Better UI scaling for resolutions below 1440p.
  • Box selection. Click and drag to select lots of things at once.
  • BSP model merging.
  • BSP models can be copied to the clipboard and transferred to other maps, or to a text editor.
  • Multi-map merge tool with 3D placement mode for arranging maps to fit inside the max map size limit.
  • PVS wireframe visualization and wpoly counter (r_speeds 1; gl_wireframe 2 basically).
  • Name tags for selected entities.
  • Ripent Safe Mode option. This prevents you doing anything that triggers a "Your map differs" error in-game.
  • Texture browser similar to Hammer.
  • Lightmap editing.
    • Copy/paste lightmaps between faces of different sizes.
    • Import/Export single lightmaps or entire light styles for manual editing.
    • Bake styles to reduce the lightstyle counts for merging.
  • Support for Quake 1 BSPs (BSP29, BSP2, 2PSB) and Blue Shift BSPs.
    • Settings -> Engine controls the file format to save as, for format conversions. You can use this to convert Quake 1 BSPs for Half-Life, but they won't work properly due to differing collision hulls. I'm thinking to work around that in a client mod instead of finding a way to recompile the hulls.
    • This was added in anticipation of Sven Co-op's upcoming limit-breaking map format. I don't plan to add more Quake map editing features.

Other New Features / Fixes / Changes

Other new features
  • View menu toggle for entity render modes
  • Preview Mode, activated with the "R" key. This temporarily toggles various View options to give you a better idea of how the map will look in-game.
  • Restrict model deduplication by texture coordinates, and skip hidden entities
  • Invert option for Entity Report
  • Ctrl+A hotkey in Entity Report to select all
  • More tools for fixing bad surface extents:
    • Texture downscale tool (click on the texture dimensions in the Face Editor)
    • "Scale until valid" option
    • "Select bad extents of this texture" context option (for inspecting faces that couldn't be subdivided)
  • Import/Export PNG/BMP for individual textures (right click on the texture in the Face Editor)
  • Context options for manual model deduplication
  • World leaves limit tracked in Map Limits for Half-Life (A client engine bug limits world leaves to 8192)
  • Find faces by ID, texture name, or texture ID (select nothing with the Face Editor open)
  • Series WAD creation tool (deduplicate embedded textures in connected maps)
  • More face selection context options
  • Faces can be hidden, which cuts connectivity for face selection context options
  • Faces can be deleted
  • Long key values wrap and grow vertically so you don't have to horizontally scroll to read them.
  • Tool to recover orphaned BSP models (models which are no longer assigned to any entity)
  • Option to invert Y axis camera rotation
  • Press Z to lock the mouse into the viewport for camera rotation (like in Hammer)
  • "Purge", "Copy", and "Paste" buttons in the Keyvalue Editor (like the ones in J.A.C.K)
  • FreeType font renderer option. This makes fonts crispier and is recommended for small UI scales.
  • Spawn flags can be searched in Entity Report. Works with numeric values and text labels.
  • Skybox rendering
  • "Reset Widget Sizes" option, for when UI scaling experiments go wrong.
  • Colorized text in the Messages widget (green = debug, yellow = warning, red = warning, white = everything else)
  • Fullscreen mode (toggled with F10)
  • Entity connection lines are animated.
Tweaks
  • Worldpsawn can be hidden
  • "Fix Bad Extents" menu replaced with a dialog with more control and combinable options
  • Unicode font is enabled by default and can't be disabled. It loads almost instantly now thanks to ImGui v1.92.0.
  • The viewport must be activated by clicking it after typing in a widget (prevents accidental hotkey triggers).
  • Keyvalue editor UI is more compact, and more space is given to values than to keys.
  • Replaced the wireframe renderer. It has some thickness inconsistencies but should be easier to see.
  • Much less RAM and VRAM usage (about 50% for bts_rc).
  • GPU requirement lowered from 5 -> 3 texture units
  • Texture mipmaps are loaded from the BSP/WAD instead of automatically generated.
    • These often look significantly worse or nothing like the original texture, but this is what the software renderer will see.
  • Fonts are cached to disk in the bspguy config folder. You can replace these if you want.
Fixes
  • Crash with % signs in the Keyvalue Editor Attributes tab
  • Crash using Undo with the Extents tab open in Map Limits
  • Crash downscaling textures in a map with invalid textures
  • Crash typing in a replacement for a missing texture
  • Crash cleaning a map with invalid nodes/clipnodes
  • Game crash with the software renderer in maps with subdivided faces
  • Game crash in Xash3D for ALL merged maps
  • Game crash in merged maps that embed duplicates of animated textures
  • Missing faces somewhere in the map after duplicating a newly created model.
  • Viewport shortcut keys activating while typing in keyvalues
  • Move axes offset for entities that don't use direction vectors
  • Clipnodes not refreshing after model edits
  • Wrong oriented sprite angles
  • Too many textures embedded when fixing bad surface extents via texture downscaling
  • Textures mixed up in maps with deleted/missing textures when using the default renderer
  • "Scale Invisible Faces" affecting visible faces (tool renamed to "AllocBlock Reduction")
  • Glitchy chrome and additive textures on MDL models
  • Scale buttons greyed out when they shouldn't be
  • Both models and sprites loading when only one flag is enabled
  • Model origins not selectable if worldspawn was transformed
  • Invalid transform target option selected when clicking an ent that can't be transformed
  • Message dialogs make Linux think the program froze, which then opens up a dialog to kill the process
  • Maps with indentations in the ent data not loading correctly (infested2)

Important fixes were added for map merging and BSP model editing. If you did any of that with v5, then run File -> Validate to fix your maps, then Save if there were problems detected. This will fix invisible faces and crashes for software mode and Xash3D.