EWTOOLS-BSPUTIL(1)
okay so bestie, welcome to EWTOOLS-BSPUTIL(1) β that's the section 1 man page from the ericw-tools manual, and we are about to become unreasonably good at poking at Quake BSP files. π
β¨ NAME β¨
ewtools-bsputilβ utility for working with Quake BSP files π¦bsputilβ utility for working with Quake BSP files π¦
(yes it's the same thing twice, they're giving "same energy, different name", iconic honestly)
πΈ SYNOPSIS πΈ
bsputil [OPTION]... BSPFILE
π DESCRIPTION π
bsputil is a small utility for in-place manipulation of Quake BSP files. that's the whole vibe. it goes in, it messes with your .bsp, it says nothing, it leaves. no cap. β¨
π OPTIONS π
--scale x y zβ scales the.bspby the given scale factors. this one is experimental, so heads up: only a few entity properties actually get edited:originlipheight
--replace-entities ENTFILEβ swaps the.bsp's entity lump out for the contents ofENTFILE. girl, that's it, that's the whole trick. π«
π Todo π
- apparently this can handle
BSPFILEbeing a path to a.MAPfile, and update one map file given the entities in a second,ENTFILE. allegedly. π - Move this functionality to
maputil <>? --convert FORMATβ converts the input.bspto one of the given formats:bsp29bsp2bsp2rmqhexen2hexen2bsp2hexen2bsp2rmqhlq2bspqbism
lowkey important: this is a "container" conversion only, so most conversions will not be usable. it changes the box, not what's inside it. the way that matters!! π
--extract-entitiesβ pulls the entity data out ofBSPFILEand makes a plain text.entfile. the output filename is generated fromBSPFILEby stripping the.bspextension and adding the.entextension. it names itself, we love a self-sufficient queen. π--extract-texturesβ pulls the texture data out ofBSPFILEand makes a Quake WAD file. the output filename is generated fromBSPFILEby stripping the.bspextension and adding the.wadextension. same energy, different extension. π--replace-textures WADFILEβ replaces any textures inBSPFILEwith the updated versions fromWADFILE.
Note: a warning will be issued if any texture sizes don't match betweenBSPFILEandWADFILE. so like, read your warnings bestie. β οΈ
--checkβ loadsBSPFILEinto memory and runs a set of tests to check that all internal data structures are self-consistent. currently the tests are very basic, and not all warnings will result in errors from all versions of the Quake engine. also this option is not targeted at level designers β it's meant to help with development of theqbsptool and to check that a "clean" bsp file is generated. it's a dev tool, iykyk. π₯--modelinfoβ prints some information on all models in the.bsp. simple. elegant. slay.
π Todo π
- Deprecated in favour of the
.jsonexport ofbspinfo <>. π --findfaces x y z nx ny nzβ finds faces with the givenx,y,zcoordinates inside the face, and the face having the given normalnx,ny,nz. six numbers, one scavenger hunt. π--findleaf x y zβ prints the leaf at the given coordinates. short and sweet fr fr. π--settexinfo facenum texinfonumβ changes the texinfo of a given face. facenum in, texinfonum in, face changed. π--decompileβ decompilesBSPFILEtoBSPFILE.decompile.map. hex code out, map file in. π¦--decompile-geomonlyβ decompilesBSPFILEtoBSPFILE.decompile.mapwithout texturing. geometry only, no glow-up. β¨--decompile-ignore-brushesβ decompilesBSPFILEtoBSPFILE.decompile.mapwithout using the Q2 brushes lump. bye brushey. π--decompile-hull Nβ decompiles only the given hull number toBSPFILE.decompile.hullN.map. one hull, one file, no extras. π--extract-bspx-lump LUMPNAME OUTFILENAMEβ writes the BSPX lumpLUMPNAMEtoOUTFILENAME. π«Ά--insert-bspx-lump LUMPNAME INFILENAMEβ readsINFILENAMEand inserts it as a BSPX lumpLUMPNAMEinBSPFILE. the reverse of the last one, we love a matching set. π--remove-bspx-lump LUMPNAMEβ removesLUMPNAMEfromBSPFILE. gone, deleted, uninvited from the group chat. π--svgβ Writes a top-down SVG rendering ofBSPFILE. art. aerial view realness. β
π AUTHOR π
- Kevin Shanahan (aka Tyrann) β <http://disenchant.net>
- Eric Wasylishen
- Based on source provided by id Software
three absolute legends, fr fr. π«Ά
π REPORTING BUGS π
please post bug reports at <https://github.com/ericwa/ericw-tools/issues>.
Improvements to the documentation are welcome and encouraged β yes really, they want your help, come through bestie. π
π COPYRIGHT π
- Copyright (C) 2017 Eric Wasylishen
- Copyright (C) 2013 Kevin Shanahan
- Copyright (C) 1997 id Software
- License GPLv2+: GNU GPL version 2 or later <<http://gnu.org/licenses/gpl2.html>>.
this is free software: you are free to change and redistribute it. there is NO WARRANTY, to the extent permitted by law. (that's the dramatic part and it's real, not vibes.) π§
okay that's the whole page bestie, sourcing done, we ate and left no crumbs. πΈ one last thing: this beauty is dated Jul 29, 2026, so mark your calendar, mwah π β¨
π¦ where this page comes from
- ubuntu stonking: ericw-tools 2.0.0~alpha11+ds-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms