Call me a monkey's uncle....I think you've done it.
BSPC version 2.1h, Nov 6 2010 18:06:59
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
BSPC run time is 0 seconds
Closed log bspc.log
Get yourself a drink, you've earned it.
**edit
is the first version of bspc for os x...ever....running on my laptop?
(note the 6th of November, 2010 6:06:59 pm eastern standard time)
a mere 11 or so years after the game for which is was intended came out?
**re-edit
Can I mirror the latest tarball on my website? This code should really be circulated, I keep bumping into mac users that wanna put bots in their levels.
Until I get permission, I'll just link back to this thread.
**extra-re-edit
so I've been rebuilding the aas file from my bsp of razztazzmagoria, which, admittedly is a pretty complex map, but....
well, here's what bspc is doing so far:
Code: Select all
BSPC version 2.1h, Nov 6 2010 18:06:59
bsp2aas: razztazzmagoria.bsp to razztazzmagoria.aas
-- Q3_LoadMapFromBSP --
Loading map from razztazzmagoria.bsp...
100932 triangles
0 patch tris
creating planar surface planes...
searching visible brush sides...
25405913rush sides
note how the number of brush sides got so big it covered the 'b'
how on earth do 100K triangles pump out 25,405,913 brush sides?
as of this writing, it's 27 million and rising.
have I created a beast that can not be fed or....is the bspc code just stuck in a loop it's not breaking out of?
******too many edits
it finally crashed, it spit out all of this:
Code: Select all
BSPC version 2.1h, Nov 6 2010 18:06:59
bsp2aas: razztazzmagoria.bsp to razztazzmagoria.aas
-- Q3_LoadMapFromBSP --
Loading map from razztazzmagoria.bsp...
100932 triangles
0 patch tris
creating planar surface planes...
searching visible brush sides...
BSPC version 2.1h, Nov 6 2010 18:06:59
bsp2aas: razztazzmagoria.bsp to razztazzmagoria.aas
-- Q3_LoadMapFromBSP --
Loading map from razztazzmagoria.bsp...
100932 triangles
0 patch tris
creating planar surface planes...
searching visible brush sides...
25011787rush sides
3594Segmentation fault
ventolins-macbook:bnoordhuis-bspc-f87db8e ventolin$ BSPC version 2.1h, Nov 6 2010 18:06:59
-bash: BSPC: command not found
ventolins-macbook:bnoordhuis-bspc-f87db8e ventolin$ bsp2aas: razztazzmagoria.bsp to razztazzmagoria.aas
-bash: bsp2aas:: command not found
ventolins-macbook:bnoordhuis-bspc-f87db8e ventolin$ -- Q3_LoadMapFromBSP --
-bash: --: command not found
ventolins-macbook:bnoordhuis-bspc-f87db8e ventolin$ Loading map from razztazzmagoria.bsp...
-bash: Loading: command not found
ventolins-macbook:bnoordhuis-bspc-f87db8e ventolin$ 100932 triangles
-bash: 100932: command not found
ventolins-macbook:bnoordhuis-bspc-f87db8e ventolin$ 0 patch tris
-bash: 0: command not found
ventolins-macbook:bnoordhuis-bspc-f87db8e ventolin$ creating planar surface planes...
-bash: creating: command not found
ventolins-macbook:bnoordhuis-bspc-f87db8e ventolin$ searching visible brush sides...
-bash: searching: command not found
ventolins-macbook:bnoordhuis-bspc-f87db8e ventolin$ 25011787rush sides
-bash: 25011787rush: command not found
ventolins-macbook:bnoordhuis-bspc-f87db8e ventolin$
so, it almost got to 36 million brush sides and freaked the hell out. that was fun
trying alternative compile methods