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

Pack Include Packs Absolute Path Inside BSP #117

Open tophattwaffle opened 4 years ago

tophattwaffle commented 4 years ago

Describe the bug When using the Include or Include Directory function, the absolute file path is packaged inside the BSP file.

Steps to reproduce Create a pack function, then include a folder on the computer.

Expected behavior Relative path to a gameinfo.txt file.

Debug.log debug.log

Crash logs No Crash Logs

Additional context My include directory is: E:\Dropbox\20XX\src\content\sound\logi I have the same path added in my gameinfo.txt as a mount path for external content. image Compile pas has also discovered this mount path as a pack path.

Here is what the packed path is inside the BSP. image

Exactol commented 4 years ago

Can you try this version? It's newer than the one I posted in #118 Compile Pal 027.12.zip

tophattwaffle commented 4 years ago

When using Include Directory I get the following:

image

When using single file include, the same thing happens.