ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Mon Oct 21, 2019 9:12 pm

All times are UTC




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Apr 03, 2019 10:07 pm 

Joined: Mon Jul 02, 2018 8:50 pm
Posts: 4
Hello.

quickbms -o "scriptNX.bms" "../IPK\extracted\%songcode%\cache\itf_cooked\nx\world\maps\%songcode%\timeline\pictos\*.ckd" "..\temp".

Why it doesn't work?


Attachments:
scriptNX.bms [193 Bytes]
Downloaded 25 times
Top
   
PostPosted: Thu Apr 04, 2019 12:24 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10810
You can't use the * wildcard because the arguments must be 3: script, file/folder, output folder
With the wildcard they become: script, file1, file2, ..., fileN, output folder
Additionally the * char is interpreted by Windows EVEN when it's used in quotes creating a huge mess.

Use the -F filter for doing the job:
Code:
quickbms -F "{}.ckd" -o "scriptNX.bms" "../IPK\extracted\%songcode%\cache\itf_cooked\nx\world\maps\%songcode%\timeline\pictos" "..\temp"

Let me know if it works now


Top
   
PostPosted: Thu Apr 04, 2019 2:04 pm 

Joined: Mon Jul 02, 2018 8:50 pm
Posts: 4
aluigi wrote:
You can't use the * wildcard because the arguments must be 3: script, file/folder, output folder
With the wildcard they become: script, file1, file2, ..., fileN, output folder
Additionally the * char is interpreted by Windows EVEN when it's used in quotes creating a huge mess.

Use the -F filter for doing the job:
Code:
quickbms -F "{}.ckd" -o "scriptNX.bms" "../IPK\extracted\%songcode%\cache\itf_cooked\nx\world\maps\%songcode%\timeline\pictos" "..\temp"

Let me know if it works now


Thank you! It works.


Top
   
PostPosted: Thu Apr 04, 2019 9:09 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 10810
Ah, something that I think may be interesting, quickbms already implements the automatic handling of the wildcard characters.
In short if you replaced * with {} in your original command-line it would magically work :)

Yes, it works with * too, but Windows intercepts it before.


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