ruarai / CompilePal

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

Ability to move "copy" step to after the "pack" step #124

Closed Fennecai closed 3 years ago

Fennecai commented 4 years ago

Is your feature request related to a problem? Please describe. I currently have a set-up where I run a custom .bat file in the custom step in order to copy the packed bsp file to the maps folder, after running the pack step. this is kind of hacky since it is basically the same as if the "copy" step came after the "pack" step anyways. the bat file is literally just a single line with the copy command on it.

Describe the solution you'd like I would like the copy step to either be movable by the user so it can be placed after the pack step, or have it just be the final step before "game" by default.

Describe alternatives you've considered Another alternative would be the ability to change the order of any steps the same way you can with custom steps already; via the "order" tab. If your worried about users complaining about broken maps due to fiddling with this un-wisely, you could probably show a small warning message stating that "please be careful when changing the order of compile steps. The end result may be unexpected!"

you could also have an "advanced mode" toggle somewhere that turns this functionality on and off.

Additional context my current work-around: image

it would be nice to be able to use this same tab to change the order of non-custom steps as well.

Exactol commented 4 years ago

The pack step actually copies the packed bsp back to the map folder. The original unpacked bsp becomes name.unpacked. I disabled reordering the default steps because it might cause some confusion if someone accidentally moved one of the steps, but I can look into unlocking them.

Exactol commented 3 years ago

Compile Pal 027.12.zip Sorry about the wait, I re enabled the ability to re order all compile steps