trumank / repak

Unreal Engine .pak file library and CLI in rust
Apache License 2.0
190 stars 27 forks source link

Unpack multiple at once #10

Closed florensie closed 1 year ago

florensie commented 1 year ago

It would be nice if repak unpack supported providing multiple input .pak files. Then you'd be able to combine it with bash globs or wildcards on the Windows cmd.

Example

repak.exe unpack -aes-key abcdef --out outdir *.pak

Right now, you have to write a for-loop for games with loads of paks.

trumank commented 1 year ago

I was hesitant to change the command but I do like this a lot better. Can specify the output directory explicitly with --output and all paks will be extracted to it, or if left unspecified each pak will be extracted to individual directories derived from the pak name.

florensie commented 1 year ago

Sweet, thanks!