Skip to content
Quake 3 BSP-to-AAS compiler
Branch: master
Clone or download
Pull request Compare This branch is 34 commits ahead of bnoordhuis:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
deps Visual Studio 2017 Jan 21, 2018
.deps Better (but not perfect) dependencies generation. Nov 7, 2010
.gitignore Ignore bspc_g Nov 7, 2010
Conscript
LICENSE Add LICENSE file. Aug 19, 2011
Makefile build: fix build with -Wl,--as-needed Jul 30, 2012
README.md Add LICENSE file. Aug 19, 2011
_files.c bspc from quake3 1.32b source tarball. Nov 6, 2010
aas_areamerging.c Fix include paths. Nov 6, 2010
aas_areamerging.h Convert Windows line endings to UNIX line endings. Nov 6, 2010
aas_cfg.c update fields in the example custom config file Sep 30, 2013
aas_cfg.h update fields in the example custom config file Sep 30, 2013
aas_create.c Remove unused variable 'up'. Nov 7, 2010
aas_create.h Convert Windows line endings to UNIX line endings. Nov 6, 2010
aas_edgemelting.c Fix include paths. Nov 6, 2010
aas_edgemelting.h Convert Windows line endings to UNIX line endings. Nov 6, 2010
aas_facemerging.c Fix include paths. Nov 6, 2010
aas_facemerging.h Convert Windows line endings to UNIX line endings. Nov 6, 2010
aas_file.c make AAS_LoadAASFile work with zero-sized lumps Sep 30, 2013
aas_file.h Fix implicit function declaration warnings. Jul 31, 2012
aas_gsubdiv.c Fix include paths. Nov 6, 2010
aas_gsubdiv.h Convert Windows line endings to UNIX line endings. Nov 6, 2010
aas_map.c Fix include paths. Nov 6, 2010
aas_map.h Convert Windows line endings to UNIX line endings. Nov 6, 2010
aas_prunenodes.c Fix include paths. Nov 6, 2010
aas_prunenodes.h Convert Windows line endings to UNIX line endings. Nov 6, 2010
aas_store.c Remove unused variables. Jul 31, 2012
aas_store.h Fix include paths. Nov 6, 2010
aasfile.h Convert Windows line endings to UNIX line endings. Nov 6, 2010
be_aas_bspc.c Add #include, fixes 'implicit declaration of function' warnings. Nov 7, 2010
be_aas_bspc.h
brushbsp.c
bspc.c [bspc.c] Change directory variables to have static storage; they're Aug 13, 2016
bspc.sln upgrayde Aug 22, 2013
bspc.vcproj fix windows compile. new project files etc. Oct 7, 2012
bspc.vcxproj Visual Studio 2017 Jan 21, 2018
bspc.vcxproj.filters upgrayde Aug 22, 2013
cfgq3.c update fields in the example custom config file Sep 30, 2013
csg.c Convert Windows line endings to UNIX line endings. Nov 6, 2010
faces.c Convert Windows line endings to UNIX line endings. Nov 6, 2010
gldraw.c Convert Windows line endings to UNIX line endings. Nov 6, 2010
glfile.c Convert Windows line endings to UNIX line endings. Nov 6, 2010
l_bsp_ent.c Fix include paths. Nov 6, 2010
l_bsp_ent.h Convert Windows line endings to UNIX line endings. Nov 6, 2010
l_bsp_hl.c Merge pull request #6 from tkoeppe/comma Aug 13, 2016
l_bsp_hl.h Convert Windows line endings to UNIX line endings. Nov 6, 2010
l_bsp_q1.c Merge pull request #6 from tkoeppe/comma Aug 13, 2016
l_bsp_q1.h Convert Windows line endings to UNIX line endings. Nov 6, 2010
l_bsp_q2.c
l_bsp_q2.h Convert Windows line endings to UNIX line endings. Nov 6, 2010
l_bsp_q3.c Add initial Fusion(Raven) BSP support Apr 14, 2016
l_bsp_q3.h Convert Windows line endings to UNIX line endings. Nov 6, 2010
l_bsp_sin.c [l_bsp_{q1,q2,sin}.c] Fix undefined behaviour in array access Aug 2, 2016
l_bsp_sin.h
l_cmd.c Fix warning: the address of ‘qdir’ will always evaluate as ‘true’. Nov 7, 2010
l_cmd.h Visual Studio 2017 Jan 21, 2018
l_log.c Convert Windows line endings to UNIX line endings. Nov 6, 2010
l_log.h Convert Windows line endings to UNIX line endings. Nov 6, 2010
l_math.c Convert Windows line endings to UNIX line endings. Nov 6, 2010
l_math.h Convert Windows line endings to UNIX line endings. Nov 6, 2010
l_mem.c Remove extra tokens at end of #endif directive. Nov 6, 2010
l_mem.h Convert Windows line endings to UNIX line endings. Nov 6, 2010
l_poly.c Change winding_t and bspbrush_t to use flexible array members rather … Jan 21, 2018
l_poly.h Change winding_t and bspbrush_t to use flexible array members rather … Jan 21, 2018
l_qfiles.c cleanup MAX_PATH usage Aug 13, 2016
l_qfiles.h cleanup MAX_PATH usage Aug 13, 2016
l_threads.c Fix integer -> pointer cast warnings. Jul 31, 2012
l_threads.h Convert Windows line endings to UNIX line endings. Nov 6, 2010
l_utils.c Convert Windows line endings to UNIX line endings. Nov 6, 2010
l_utils.h cleanup MAX_PATH usage Aug 13, 2016
lcc.mak Convert Windows line endings to UNIX line endings. Nov 6, 2010
leakfile.c Convert Windows line endings to UNIX line endings. Nov 6, 2010
linux-i386.mak Fix source paths. Nov 6, 2010
map.c Add initial Fusion(Raven) BSP support Apr 14, 2016
map_hl.c Convert Windows line endings to UNIX line endings. Nov 6, 2010
map_q1.c Remove extra tokens at end of #endif directive. Nov 6, 2010
map_q2.c Remove unused variables. Jul 31, 2012
map_q3.c Remove unused variables. Jul 31, 2012
map_sin.c Remove unused variables. Jul 31, 2012
nodraw.c Convert Windows line endings to UNIX line endings. Nov 6, 2010
portals.c Convert Windows line endings to UNIX line endings. Nov 6, 2010
prtfile.c Convert Windows line endings to UNIX line endings. Nov 6, 2010
q2files.h Convert Windows line endings to UNIX line endings. Nov 6, 2010
q3files.h cleanup MAX_PATH usage Aug 13, 2016
qbsp.h Merge pull request #11 from tkoeppe/flexi Jan 21, 2018
qfiles.h Convert Windows line endings to UNIX line endings. Nov 6, 2010
sinfiles.h Convert Windows line endings to UNIX line endings. Nov 6, 2010
tetrahedron.c Fix include paths. Nov 6, 2010
tetrahedron.h Convert Windows line endings to UNIX line endings. Nov 6, 2010
textures.c Convert Windows line endings to UNIX line endings. Nov 6, 2010
tree.c Convert Windows line endings to UNIX line endings. Nov 6, 2010
writebsp.c Convert Windows line endings to UNIX line endings. Nov 6, 2010

README.md

bspc

This is the Quake III: Arena BSP-to-AAS compiler.

Downloading

You can download the latest version here.

Compiling

Dead simple:

make

Usage

Straight from the source:

Usage:   bspc [-<switch> [-<switch> ...]]
Example 1: bspc -bsp2aas /quake3/baseq3/maps/mymap?.bsp
Example 2: bspc -bsp2aas /quake3/baseq3/pak0.pk3/maps/q3dm*.bsp

Switches:
   bsp2aas  <[pakfilter/]filter.bsp>    = convert BSP to AAS
   reach    <filter.bsp>                = compute reachability & clusters
   cluster  <filter.aas>                = compute clusters
   aasopt   <filter.aas>                = optimize aas file
   aasinfo  <filter.aas>                = show AAS file info
   output   <output path>               = set output path
   threads  <X>                         = set number of threads to X
   cfg      <filename>                  = use this cfg file
   optimize                             = enable optimization
   noverbose                            = disable verbose output
   breadthfirst                         = breadth first bsp building
   nobrushmerge                         = don't merge brushes
   noliquids                            = don't write liquids to map
   freetree                             = free the bsp tree
   nocsg                                = disables brush chopping
   forcesidesvisible                    = force all sides to be visible
   grapplereach                         = calculate grapple reachabilities

Support

File a bug report if you run into issues.

License

This program is licensed under the GNU Public License v2.0 and any later version.

You can’t perform that action at this time.