ruarai / CompilePal

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

Allow manually changing paths/gameinfo for packing #218

Closed Fennecai closed 8 months ago

Fennecai commented 1 year ago

Is your feature request related to a problem? Please describe. I have been frustrated trying to set this up for a mapbase mod where i have my content in a completely different folder than the mod itself, but im using compile pal as a means to include only what i actually use (since its a folder for all my source engine projects). the problem is that it keep also packing vanilla hl2 assets that dont need to be packed.

Describe the solution you'd like an override parameter of some kind for the pack step that lets me change to either a different ganmeinfo.txt just for that step, or maybe a different .txt file; with just the custom content paths in it so that vanilla hl2 content isn't packed.

Describe alternatives you've considered i haven't considered alternatives.

Additional contex nothing that i can think of

Fennecai commented 1 year ago

oops- sorry, it appears that the issue im experiencing may be part of the teamspen210 tools postcompiler and not this. (leaving open though because it'd still be a nice feature potentially)

Exactol commented 8 months ago

I believe this should be possible now. You can use the Add Source Directory parameter to add a new search path outside of the mod folder and the Exclude Directory option to prevent packing hl2 assets