and I need help making a .AAS file. Can someone please tell me a program that I can use THAT WORKS?
-Thanks


what i was thinking^misantropia^ wrote:bspc compiles and runs on linux. Why wouldn't the same be true for OS X?
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
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$
Sure, it's open source so do what you want with it. I'd appreciate it if you link back to the GitHub repo so people will know where to report issues.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.
You probably need to add -forcesidesvisible when you compile the map with q3map2. In any case, is the .map file available somewhere? Should be an interesting test case.how on earth do 100K triangles pump out 25,405,913 brush sides?
I tried -forcesidesvisible, which as I recall is what I had to do in the windows version, but no dice in the mac version yet. I also tried -optimize and -nocsg in varying combinations, no success, I did however successfully build a much, much, much smaller map in no time at all, and without a hitch - so it can, and does work. It's just having a rough time with one of my more heinous maps.^misantropia^ wrote:Absolutely.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.
Sure, it's open source so do what you want with it. I'd appreciate it if you link back to the GitHub repo so people will know where to report issues.
how on earth do 100K triangles pump out 25,405,913 brush sides?
You probably need to add -forcesidesvisible when you compile the map with q3map2. In any case, is the .map file available somewhere? Should be an interesting test case.
Code: Select all
gdb --args ./bspc_g -forcesidesvisible -bsp2aas razztazzmagoria.bsp
run
# wait until it crashes
bt
Code: Select all
BSPC version 2.1h, Nov 8 2010 11:06:28
forcesidesvisible = true
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...
95969 brush sides
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x088d6008
0x00049231 in Q3_FindVisibleBrushSides () at l_bsp_q3.c:378
378 for (j = 0; j < brush->numSides; j++)
(gdb) bt
#0 0x00049231 in Q3_FindVisibleBrushSides () at l_bsp_q3.c:378
#1 0x00049e2a in Q3_LoadBSPFile (qf=0x9002000) at l_bsp_q3.c:636
#2 0x00070204 in Q3_LoadMapFromBSP (qf=0x9002000) at map_q3.c:619
#3 0x00067340 in LoadMapFromBSP (qf=0x9002000) at map.c:1219
#4 0x0002edee in main (argc=4, argv=0xbffff4e0) at bspc.c:766
(gdb)
Code: Select all
gdb --args ./bspc_g -forcesidesvisible -bsp2aas razztazzmagoria.bsp
GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct 2 04:07:49 UTC 2007)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin"...Reading symbols for shared libraries ... done
(gdb) run
Starting program: /bnoordhuis-bspc-a2c66e9/bspc_g -forcesidesvisible -bsp2aas razztazzmagoria.bsp
Reading symbols for shared libraries ++. done
Opened log bspc.log
BSPC version 2.1h, Nov 8 2010 13:29:45
forcesidesvisible = true
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...
35945376rush sides
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x32ab3000
0x000478ca in Q3_BrushSideWinding (brush=0x8b70034, baseside=0x32ab3000) at l_bsp_q3.c:330
330 baseplane = &q3_dplanes[baseside->planeNum];
(gdb) bt
#0 0x000478ca in Q3_BrushSideWinding (brush=0x8b70034, baseside=0x32ab3000) at l_bsp_q3.c:330
#1 0x00047b1c in Q3_FindVisibleBrushSides () at l_bsp_q3.c:383
#2 0x0004897b in Q3_LoadBSPFile (qf=0x9002000) at l_bsp_q3.c:636
#3 0x0006bd20 in Q3_LoadMapFromBSP (qf=0x9002000) at map_q3.c:619
#4 0x0006329e in LoadMapFromBSP (qf=0x9002000) at map.c:1219
#5 0x0002dfbe in main (argc=4, argv=0xbffff798) at bspc.c:766
(gdb)