ericwa / ericw-tools

Quake/Hexen 2 Map compiling tools - branch of http://disenchant.net/utils
http://ericwa.github.io/ericw-tools
GNU General Public License v2.0
336 stars 57 forks source link

Port features from bjptools bspinfo #289

Open ericwa opened 4 years ago

ericwa commented 4 years ago
    logprintf ("   -chk            Enable stronger BSP validation\n");
    logprintf ("   -copyents       Copy all entities to file\n");
    logprintf ("   -cutvislight    Delete vis and light data\n");
    logprintf ("   -extents        Extract non-brush entities to file\n");
    logprintf ("   -lightstat      Display light distribution statistics in summary\n");
    logprintf ("   -lightstat2/3   Display light distribution statistics graphically,\n");
    logprintf ("                   2 = auto scale, 3 = fixed scale\n");
    logprintf ("   -limit          Limit bspdata to +/-4096 in all planes\n");
    logprintf ("   -nowatervis     Disable portal information for transparent water\n");
    logprintf ("   -prt            Generate PRT file\n");
    logprintf ("   -quiet          Disable BSP summary\n");
    logprintf ("   -texname        Replace missing texture names with 'nonameN'\n");
    logprintf ("   bspfile         .BSP file to process\n");
rrika commented 1 year ago

I was about to make a feature request for .bsp → .prt conversion, but it seems this ticket covers this already.

It would allow using the every existing map as benchmark for vis tool improvements without having to ask the mapper for a map/prt file.

I'm willing to implement/port this myself with some advice of where the code should go. (This ticket suggests bspinfo, but it could conceivably also be part of qbsp or vis)