Quake2World provides its own cross-platform BSP compilation tool called q2wmap. The compiler is based on the original Quake 2 tools, but in addition offers the following:
In addition to these things, the q2wmap source code is Valgrind clean. The stock tools are riddled with dangerous instructions and memory leaks.
Invoking the compiler is simple and straightforward. You should consider running it via a command prompt or shell rather than through GtkRadiant's build menu.
Standard full compile:
q2wmap -bsp -vis -light maps/my.map
Fast vis, extra light, two threads:
q2wmap -t 2 -bsp -vis -fast -light -extra maps/my.map
Materials file generation:
q2wmap -mat maps/my.map
Pakfile generation (produces map-my.pak):
q2wmap -pak maps/my.map
The current verison of q2wmap writes a new bsp format. Add
-legacyto the q2wmap command line to make it write baseq2 format.
spirit