Skip to content
C Objective-C C++
Find file
Pull request Compare This branch is 2 commits ahead, 10 commits behind master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
deps
.deps
.gitignore
Conscript
Makefile
README.md
_files.c
aas_areamerging.c
aas_areamerging.h
aas_cfg.c
aas_cfg.h
aas_create.c
aas_create.h
aas_edgemelting.c
aas_edgemelting.h
aas_facemerging.c
aas_facemerging.h
aas_file.c
aas_file.h
aas_gsubdiv.c
aas_gsubdiv.h
aas_map.c
aas_map.h
aas_prunenodes.c
aas_prunenodes.h
aas_store.c
aas_store.h
aasfile.h
be_aas_bspc.c
be_aas_bspc.h
brushbsp.c
bspc.c
bspc.sln
bspc.vcproj
cfgq3.c
csg.c
faces.c
gldraw.c
glfile.c
l_bsp_ent.c
l_bsp_ent.h
l_bsp_hl.c
l_bsp_hl.h
l_bsp_q1.c
l_bsp_q1.h
l_bsp_q2.c
l_bsp_q2.h
l_bsp_q3.c
l_bsp_q3.h
l_bsp_sin.c
l_bsp_sin.h
l_cmd.c
l_cmd.h
l_log.c
l_log.h
l_math.c
l_math.h
l_mem.c
l_mem.h
l_poly.c
l_poly.h
l_qfiles.c
l_qfiles.h
l_threads.c
l_threads.h
l_utils.c
l_utils.h
lcc.mak
leakfile.c
linux-i386.mak
map.c
map_hl.c
map_q1.c
map_q2.c
map_q3.c
map_sin.c
nodraw.c
portals.c
prtfile.c
q2files.h
q3files.h
qbsp.h
qfiles.h
sinfiles.h
tetrahedron.c
tetrahedron.h
textures.c
tree.c
writebsp.c

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.

Something went wrong with that request. Please try again.