ruarai / CompilePal

A tool to assist in the compiling of source engine maps
GNU General Public License v3.0
225 stars 25 forks source link

Command line interface for packing #184

Open rsedxcftvgyhbujnkiqwe opened 2 years ago

rsedxcftvgyhbujnkiqwe commented 2 years ago

Is your feature request related to a problem? Please describe. Compilepal doesn't work on Linux

Describe the solution you'd like If possible, some way to call the packing engine compilepal uses without having to open the application. This could be in the form of a CLI tool, or even just ripping out the packing and making it into a callable exe. It doesn't need to have a GUI or anything, Linux users are accustomed to using command line so its of no concern. An exe would work as it can be run through wine (or could even be run in hammer itself as a custom build step). This doesn't have to be a part of compilepal itself, but the packing options are limited for Linux and gaining access to the algorithm compilepal uses would be invaluable.

Describe alternatives you've considered Manually packing with VIDE, or using other tools. None seem to work nearly as well as compilepal's packing method

Additional context I'd do it myself but to be honest I'm unfamiliar with C so I don't know how to rip just the packing code. I understand if this is out of the scope for this project, but being able to pack a map with just pack.exe "path/to/map.bsp" would be immensely helpful even if the tool is simple

Exactol commented 2 years ago

This is something that I've been planning on doing for a while, I just haven't had the time to separate it into a standalone executable.