![]() |
BSP and RBN utilities
I just commited version 0.9.2 of the Bsp2Rbn packages:
Quote:
As usual, comments are welcome.:D -eric NOTE: this is only available in CVS. I put a link to a Mandrake Linux compiled executable on http://www.students.hec.be/~evyncke/cs/realbot/ |
Re: BSP and RBN utilities
just tried to compile it after doing a CVS checkout and fixing my paths--
Code:
multiplayer/engine" -I"../../HLSDK/multiplayer/pm_shared" -c bspfile.cpp -o bspfile.o |
Re: BSP and RBN utilities
Josh,
Just updated CVS for bspfile.cpp... :D Can you try again ? Sorry for the issue :'( -eric PS: no need to use the latest Makefile, it is mainly a personal change. |
Re: BSP and RBN utilities
found the reason it segfaults:
Code:
Program received signal SIGSEGV, Segmentation fault. |
Re: BSP and RBN utilities
nj evy :) works great, keep up the good work :)
|
Re: BSP and RBN utilities
Not compiling on Win32 still... :)
|
Re: BSP and RBN utilities
Quote:
What are the symptoms ? -eric |
Re: BSP and RBN utilities
Committed yet another version in CVS (nothing changed in the algorithm). This version has been tested on Windows with MinGW (a free C++ compiler).
Quote:
http://www.students.hec.be/~evyncke/cs/realbot/ Hope this helps -eric |
Re: BSP and RBN utilities
Quote:
a total of 204 errors before it quit using Visual C++ :) HTH |
Re: BSP and RBN utilities
a small change to the bsp2rbn to make it put the generated files to current directory, which is supposed to (and not data\cstrike\exp folder):
// Need to implement the basename & dirname functions under Windows... #ifndef __linux__ char * basename(char * s) { char * fs ; if ((s == NULL) || (*s == 0)) return "." ; if (strcmp(s,"\\") == 0) return s ; fs = strrchr(s,'\\') ; if (fs == NULL) fs = strrchr(s,'/') ; if (fs == NULL) return s ; return fs + 1 ; } char * dirname(char * s) { char * fs ; if ((s == NULL) || (*s == 0)) return "." ; if (strcmp(s,"\\") == 0) return s ; fs = strrchr(s,'\\') ; if (fs == NULL) fs = strrchr(s,'/') ; if (fs == NULL) return "." ; * fs = 0 ; return s ; } #endif Note: the nodemachine.cpp uses "/" as separater when it calls UTIL_BuildFileNameRB(). |
All times are GMT +2. The time now is 14:38. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.