import multiple file to multiple archive in different folder

Doubts, help and support about QuickBMS and other game research tools
gameside
Posts: 66
Joined: Sun Nov 08, 2020 1:07 pm

import multiple file to multiple archive in different folder

Post by gameside »

Hi, I used -D option of QuickBMS to extract all files from a folder and all its subfolders, its worked without problem.
Now I want to import all exported files back but I cant do it (or at least I don't know correct way to do it), I tried using -D option again in reimport mode but seems like its doesn't work Work properly.
How can I do that? do I need to do all reimporting manually (maybe with some for loops)

--edit--
I found out both input and output folder need to have same files (i mean input folder cant have any extra file then output folder
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: import multiple file to multiple archive in different folder

Post by aluigi »

quickbms will rescan the input folder again in reimport mode and therefore input and output folders must be kept separate.
For example:

extraction:
quickbms -D script.bms c:\input c:\output

reimporting:
quickbms -D -r -r -w script.bms c:\input c:\output

If you see any problem or bug, just tell me.
gameside
Posts: 66
Joined: Sun Nov 08, 2020 1:07 pm

Re: import multiple file to multiple archive in different folder

Post by gameside »

aluigi wrote:quickbms will rescan the input folder again in reimport mode and therefore input and output folders must be kept separate.
For example:

extraction:
quickbms -D script.bms c:\input c:\output

reimporting:
quickbms -D -r -r -w script.bms c:\input c:\output

If you see any problem or bug, just tell me.

when in reimport mode input folder have more then file then it had when extraction, reimport mode doesn't work correctly, Im note sure if it a bug or not
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: import multiple file to multiple archive in different folder

Post by aluigi »

Why the input folder has now more files?

Input folder is not touched by quickbms and therefore it's intact.
If you added files by hand obviously quickbms is going to parse them while scanning the input folder in reimport mode.
Skoczek
Posts: 37
Joined: Wed Aug 25, 2021 10:10 pm

Re: import multiple file to multiple archive in different folder

Post by Skoczek »

aluigi wrote:quickbms will rescan the input folder again in reimport mode and therefore input and output folders must be kept separate.
For example:

extraction:
quickbms -D script.bms c:\input c:\output

reimporting:
quickbms -D -r -r -w script.bms c:\input c:\output

If you see any problem or bug, just tell me.


Error: wrong command-line argument (script.bms)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: import multiple file to multiple archive in different folder

Post by aluigi »

Remember to put an argument between quotes if it contains spaces, for example: "c:\output folder\my folder"