ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Mon Dec 10, 2018 4:55 am

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Aug 28, 2018 1:34 am 

Joined: Wed Mar 23, 2016 5:11 am
Posts: 40
Hello.

I looked around but couldn't find a specific command to my following example.

I have 10 folders, each folder has 4 different archives in it, I only want to extract from each folder a specific archive but to extract in its folder location of each of those 10 folders.
If I use this command at the root of those 10 folders:
Code:
*example.zip

It will ONLY extract those archives that match that name ONLY, while excluding the other 3 archives in each of those 10 folders, which is great, but on second step when asking where to save, it saves them in another folder, how can I prevent that? There has to be a way, I hope? Because when dealing with over 10,000 of files it makes a mess to have them in same folder because it also looses the folder structure.


Top
   
PostPosted: Wed Aug 29, 2018 9:22 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9414
Basically you can't because the output folder is mandatory and I don't remember an option or a work-around to use the same folder of the file in case of multiple files.

So the solution I propose is the following:
Code:
quickbms.exe -F "{}example.zip" -d file.bms c:\input_folder c:\output_folder

-F will filter the input file (you can use *example.zip too, I prefer {} instead of * to avoid possible conflicts).
While the following is the explanation of the -d and -D options:
Code:
-d     automatically create an additional output folder with the name of the
       input folder and file processed, eg. models/mychar/mychar.arc/FILES,
       -d works also if input and output folders are the same (rename folder)
-D     similar to -d but will not create the folder with the filename


Top
   
PostPosted: Fri Aug 31, 2018 12:05 am 

Joined: Wed Mar 23, 2016 5:11 am
Posts: 40
Hmmm, I will most definitely give them all a try and see what I come up with.

thank you Luigi.

cheers


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited