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
345 stars 57 forks source link

Rename light and vis to less generic (and possibly conflicting) names #335

Open yasinbread opened 2 years ago

yasinbread commented 2 years ago

Recently I had intentions to package ericw-tools for the openSUSE Linux distribution and it came to my attention that both /usr/bin/vis and /usr/bin/light are already owned by https://github.com/martanne/vis and https://github.com/haikarainen/light respectively. Both of these programs seem to already have official packages on most popular Linux distributions. I understand possible legacy concerns with this, but perhaps light and vis can be renamed to less generic binary names, which wouldn't conflict when installed on a Linux system with the previously mentioned tools already in /usr/bin? Thank you.

Paril commented 2 years ago

I was thinking of potentially adding support for the tool to be used as a mono-tool (similar to q3map2), so you could invoke it like ericwtools -bsp <bsp_options>, ericwtools -vis <vis_options>, etc. This would be one way of solving this that wouldn't require us to change the main three binary tools at all.