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

Feat.req. .* support on Win to unpack pak in current directory #8

Open
necros2k7 opened this issue Jan 19, 2022 · 3 comments
Open

Feat.req. .* support on Win to unpack pak in current directory #8

necros2k7 opened this issue Jan 19, 2022 · 3 comments

Comments

@necros2k7
Copy link

subj

@necros2k7 necros2k7 changed the title Feat.req. .* support on Win to unpack current dir pak Feat.req. .* support on Win to unpack pak in current directory Jan 19, 2022
@Xenira
Copy link
Contributor

Xenira commented Jan 19, 2022

Could you provide a more detailed description?
There is the out dir option:
https://github.com/panzi/rust-u4pak/blob/main/src/main.rs#L438

Iirc the pak is unpacked into the current directory (where the application is) by default. If you want a different directory try specifying the --outdir property.

@necros2k7
Copy link
Author

That`s the problem - it unpacks in current dir not in say EXT dir, so if I want to repack I will have to move 2 folders ENGINE and game name specific folder to say EXT and only after that I can specify folder to pack , EXT in our case
The idea is to unpack automatically to EXT folder and during pack - pack EXT folder back

@Xenira
Copy link
Contributor

Xenira commented Jan 20, 2022

Ok, please try the --outdir argument. For me that works:

u4pak.exe unpack file.pak --outdir ./EXT

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