can I extract only desired files? and not all?

Doubts, help and support about QuickBMS and other game research tools
Ashuu
Posts: 8
Joined: Wed May 12, 2021 10:45 pm

can I extract only desired files? and not all?

Post by Ashuu »

as i read quickbms allows me to show the files that are inside the archive without extracting them ... is it possible to select to extract only the file i need?
and good morning :)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: can I extract only desired files? and not all?

Post by aluigi »

the only way is use the -f option from command-line:

Code: Select all

-f W   filter the files to extract using the W wildcards separated by comma or
       semicolon, example -f "*.mp3,*.txt;*myname*"
       if the filter starts with ! it's considered an ignore/exclusion filter,
       it can be a text file containing multiple filters too, * and {} are same
       example: quickbms -f "*.mp3;!*.ogg" script.bms archive.dat output
       example: quickbms -f myfilters_list.txt script.bms archive.dat
       use {} instead of * to avoid issues on Windows, multiple -f are ok too

Example:
quickbms.exe -f "{}myfile.txt" script.bms archive.dat output_folder
Ashuu
Posts: 8
Joined: Wed May 12, 2021 10:45 pm

Re: can I extract only desired files? and not all?

Post by Ashuu »

sorry, I don't understand very well ... let's say I only want to extract 3 files that would be "data/db/db.ini" "character/animation/char.kfm" "character/model/model.nif" and ignore everything else ?
more exactly how my filter.txt file should be ?
And sorry, I'm slow of understanding haha
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: can I extract only desired files? and not all?

Post by aluigi »

Code: Select all

data/db/db.ini
character/animation/char.kfm
character/model/model.nif
Ashuu
Posts: 8
Joined: Wed May 12, 2021 10:45 pm

Re: can I extract only desired files? and not all?

Post by Ashuu »

Thanks aluigi I will try it, neither the dedicated forums nor paid tools have such a dedicated support hahaha thank you !! :)
Ashuu
Posts: 8
Joined: Wed May 12, 2021 10:45 pm

Re: can I extract only desired files? and not all?

Post by Ashuu »

aluigi wrote:

Code: Select all

data/db/db.ini
character/animation/char.kfm
character/model/model.nif


Hiii again :) !!! another question, can I add a folder to the filters ? I want only a certain folder to be exported ?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: can I extract only desired files? and not all?

Post by aluigi »

Sure, you can use wildcards for improving the filter, for example

Code: Select all

data/*
*model*
*.nif
*anim*char*