Skip to content

bspguy v5

Latest

Choose a tag to compare

@wootguy wootguy released this 02 Apr 23:31
· 477 commits to master since this release

This update improves compatibility, speed, and ease of use. The x86 version works with Windows XP / OpenGL 2.1, and the editor is no longer hardcoded for use with Sven Co-op. All GoldSrc maps should work with a single configuration.

QoL features were added for ripenters and porters. New visuals preview how entities will look in-game. Tools with vague names like "Clean" or "Optimize" have tooltips explaining what they do.

Much of this will look familiar to you if you've been using newbspguy. I've finally caught up with features asked for years ago. A lot of the work for this release went into new tools nobody asked for, but some of them will be useful for map merging.

Major New Features

  • Entity multiselection and editing.
  • Undo/Redo feature finished.
  • Entities and textures can be rotated with the Transformation/Face Editor widgets.
  • FGD selector and keyvalue grouping for reduced clutter when using many FGDs.
  • System requirement lowered from OpenGL 3.0 to OpenGL 2.1.
  • Map rendering is about twice as fast (even with the legacy renderer selected).
  • MDL and SPR rendering - responds to body/vp_type/sequence/rendermode/renderamt/rendercolor keys.
  • Directional vectors and orientations for most entities, using built-in logic and FGD hints to match the game.
  • More tools for map merging, splitting and porting:
    • Model deduplication.
    • Delete BSP data inside of a bounding box you define, or use the world boundaries as a cutting plane.
    • Automatic face subdividing/scaling to fix bad surface extents.
    • Automatic texture downscaling for invalid sizes, bad extents, and AllocBlock reduction.

Other New Features / Fixes / Changes

Other new features
  • Legacy renderer option for graphics drivers that lie about the features they support.
  • Asset Paths (add your game/mod directory names here. These used to be hardcoded for Sven Co-op).
  • View menu added for easier access to rendering flags.
  • Unicode font (off by default because it slows startup time).
  • Widget layout can be saved and restored manually or automatically for a window size.
  • Engine selector for map limits and lightmap rendering.
  • Confirmation dialog for closing the BSP without saving changes.
  • Bottom status bar with editable camera origin/angles and selection info.
  • Tooltips explaining most of the GUI.
  • Tooltip descriptions for entity keys/flags loaded from FGDs.
  • FGD parser is whitespace agnostic and can handle J.A.C.K FGDs.
  • FGD file picker.
  • FGD @include and @mapsize commands.
  • Entity connections use target/name keys from loaded FGDs in addition to the hardcoded Sven Co-op keys.
  • Standard file menu options (Open, Save, Save as, Save a copy as).
  • Open a BSP by dragging it onto the window.
  • 3D editor launches by default when double-clicking the program.
  • Simple Merge tool (use the command-line for more control).
  • Import/Export .ent files.
  • Export embedded texture to a WAD file.
  • Entity hiding.
  • Map boundary rendering with map size selector (customizable via FGD).
  • Tool to remove unused WADs and strip their folder paths in the worldspawn wad keyvalue.
  • Tool to move BSP model origins to (0,0,0) if used in an entity that can't handle origins (e.g. func_water).
    • This is done automatically when moving or merging maps.
  • missing/hidden entities are highlighted in the Entity Report.
  • More file validation checks. Validate opens the Messages widget if it's not open already.
  • BSP File path is displayed in the window title.
  • FPS is reduced when the window is not focused to Reduce CPU/GPU usage.
  • Map merging handles lightstyles and a new lightstyles limit is tracked in the GUI.
  • CLI command "renametex" to change textures (the same can be done in the GUI with "Select all of this texture" then typing a new name).
  • Texture axes shown for selected faces.
  • Warning shown for entities with an "angle" key.
  • Welcome popup for first time launch.
  • Entity Report navigation with arrow keys.
  • BSP models respond to rendermode/renderamt/rendercolor keys.
  • Textures can be embedded/unembedded individually or all at once.
  • Textures can be applied which aren't already used in the map. Add a new WAD to the worldspawn "wad" key for more textures.
  • This guy: app
Fixes
  • Crash pasting an entity with an invalid BSP model key.
  • Crash viewing keyvalues for an entity with more than 64 FGD keys.
  • Crash with specific click combo when moving an entity for the first time.
  • Crash opening file with capital letters in its file extension.
  • Improved clipnode rendering (fewer missing polygons and faces stretching out to infinity. Still not perfect.)
  • Linux not building in Release mode.
  • Program window created off-screen.
  • Clean/Optimize crashing maps with bad VIS data.
  • FGD base class keys overridding child classes.
  • Entity classes not appearing depending on FGD order.
  • Entity Report not refreshing after creating/deleting entities.
  • Optimize deleting hulls for entities which are obsolete in Sven Co-op.
  • Optimize incorrectly deleting hulls for models that are shared with different entity types.
  • Creating BSP models prevents hlrad from running.
Changes
  • Font changed from Robooto to NotoSans for unicode support.
  • FPS overlay moved into main status bar for more widget space.
  • Removed Sven Co-op specific "Test" option.
  • Reduced message spam when Verbose Logging is disabled.
  • Map merging will place maps differently and will better fit the smaller Half-Life grid when adding the -hl option.
  • Clicking an empty value in the Attributes tab does not automatically add the key to the entity with a default value.
  • Copy/Paste uses the OS clipboard. Entities are copied as text and be transferred between windows and .ent files.
  • Keyvalue length limit in Attributes tab increased to 256 from 64.
  • Entity Report and Map Limits wdigets don't need an entity selected to function
  • A console window not shown when launching the 3D editor on Windows. Launch from the Command Prompt to troubleshoot startup problems.
Bugs

Probably a lot. Please report them. Most new features were added last month and weren't tested for long. I'm expecting a v6 will be needed this year for bug fixes alone.

Edit T+5 Hours: Uploaded new zips to fix a very distracting bug where clipnodes/entities would change brightness every click on some maps. 5600ccc