help me please [reimport force mode]

Doubts, help and support about QuickBMS and other game research tools
ponaromixxx
Posts: 176
Joined: Tue Sep 30, 2014 5:59 pm

help me please [reimport force mode]

Post by ponaromixxx »

How to make a forced rewrite in the file via the commands -r + force or -r -r + force ??? Need for reverse naming of files!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: help me please

Post by aluigi »

The "force" choice you can select when you use reimport.bat is not available as option and will never be, and will be ever asked for each file bigger tahan original.
reimport2 doesn't have "force"

Probably you are referring to something else but I don't understand what you mean with "reverse naming files" or what you want to do.
ponaromixxx
Posts: 176
Joined: Tue Sep 30, 2014 5:59 pm

Re: help me please

Post by ponaromixxx »

Error: your file is bigger than the original of 1322890 bytes, skipping file!
It's not possible to use reimport2 with sequential data bigger than the
original since the new content overwrites the next data.

I have a script that renames files but it cannot rename files back using the same script, since force is not available as a parameter, and this function will not break with me

And yes, I understand that the force function should not be used, but this example is an exception in which the entire structure in the files will be replaced from beginning to end
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: help me please

Post by aluigi »

Unfortunately I don't have a solution.
What you want to do is something for which quickbms is not meant for.
If your goal is just renaming the archived files, there are other ways to do it, for sure not by using the reimport feature.

It's quite lame but have you tried to create a text file with the word "force" on N lines (one for each file or more) and use a pipe on quickbms.exe?

Code: Select all

force
force
force
...
force

Code: Select all

quickbms -r -w script.bms file.dat folder < force.txt
ponaromixxx
Posts: 176
Joined: Tue Sep 30, 2014 5:59 pm

Re: help me please [reimport force mode]

Post by ponaromixxx »

aluigi thank you very much, I got what I wanted, yes I know that quickbms are not intended for this, but in this situation this is the best solution!