Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Error: Attempted to write to file which is outside of output directory #28

Open
PhantomGamers opened this issue Aug 31, 2024 · 1 comment

Comments

@PhantomGamers
Copy link

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.

@shis0u
Copy link

shis0u commented Nov 6, 2024

Same behavior for me on windows 11. Thank you for providing a temp. fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants