Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 12:29

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Batch processing using quickbms
PostPosted: 13 Jan 2011 05:50 

Joined: 10 Jul 2010 09:45
Posts: 33
Hi, Luigi

I make small batch script for extracting/decompressing files (this sample for nier game):

Code:
for /f "Tokens=*" %%a in ('Dir /b /s *.mdp') Do quickbms.exe -o -F "*.mdp" nier_xb360_mdp_decompressor.bms "%%a" "%%~dpa."


it works only if in folder one file, but if in the folder 2 or more files scripts tells me "Error: wrong argument" on each source file


Top
 Profile  
 
 
 Post subject: Re: Batch processing using quickbms
PostPosted: 13 Jan 2011 20:40 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
I have tried it here and works perfectly:
Code:
Z:\>for /F "Tokens=*" %a in ('Dir /b /s *.mdp') Do quickbms.exe -o -F "*.mdp" nier_xb360_mdp_decompressor.bms "%a" "%~dpa."

Z:\>quickbms.exe -o -F "*.mdp" nier_xb360_mdp_decompressor.bms "Z:\1.mdp" "Z:\."


QuickBMS generic files extractor 0.4.7
by Luigi Auriemma
e-mail: aluigi@autistici.org
web:    aluigi.org

- open input file Z:\1.mdp
- open script nier_xb360_mdp_decompressor.bms
- set output folder Z:\.

  offset   filesize   filename
------------------------------

- 0 files found in 0 seconds

Z:\>quickbms.exe -o -F "*.mdp" nier_xb360_mdp_decompressor.bms "Z:\2.mdp" "Z:\."


QuickBMS generic files extractor 0.4.7
by Luigi Auriemma
e-mail: aluigi@autistici.org
web:    aluigi.org

- open input file Z:\2.mdp
- open script nier_xb360_mdp_decompressor.bms
- set output folder Z:\.

  offset   filesize   filename
------------------------------

- 0 files found in 0 seconds


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC [ DST ]


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:
cron