ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Fri Dec 14, 2018 6:20 am

All times are UTC




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Fri Nov 23, 2018 11:24 am 

Joined: Tue Sep 30, 2014 5:59 pm
Posts: 97
How to make a forced rewrite in the file via the commands -r + force or -r -r + force ??? Need for reverse naming of files!


Top
   
 Post subject: Re: help me please
PostPosted: Fri Nov 23, 2018 1:33 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9473
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.


Top
   
 Post subject: Re: help me please
PostPosted: Fri Nov 23, 2018 2:12 pm 

Joined: Tue Sep 30, 2014 5:59 pm
Posts: 97
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


Top
   
 Post subject: Re: help me please
PostPosted: Sat Nov 24, 2018 10:33 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9473
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:
force
force
force
...
force

Code:
quickbms -r -w script.bms file.dat folder < force.txt


Top
   
PostPosted: Sat Nov 24, 2018 2:39 pm 

Joined: Tue Sep 30, 2014 5:59 pm
Posts: 97
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!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 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