When just running .\repak.exe unpack .\pakname.pak it returns the following error upon reaching the first file to unpack:
Error: Attempted to write to "path/to/file.ext" which is outside of output directory
This also occurs when specifying an output directory manually, e.g.: .\repak.exe unpack -o out .\pakname.pak
But can be fixed by appending a slash to the directory name, e.g.: .\repak.exe unpack -o out/ .\pakname.pak
I was able to reproduce this behavior running repak on Windows.
When just running
.\repak.exe unpack .\pakname.pak
it returns the following error upon reaching the first file to unpack:Error: Attempted to write to "path/to/file.ext" which is outside of output directory
This also occurs when specifying an output directory manually, e.g.:
.\repak.exe unpack -o out .\pakname.pak
But can be fixed by appending a slash to the directory name, e.g.:
.\repak.exe unpack -o out/ .\pakname.pak
I was able to reproduce this behavior running repak on Windows.