Skip to content

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

@PhantomGamers

Description

@PhantomGamers

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions