panzi/rust-u4pak

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

Opened this issue · 3 comments

subj

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.

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

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

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