Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Error: wrong command-line argument

Featured Replies

  • Author
  • Localization

ekvirjd, posted Wed Apr 03, 2019 10:07 pm (46448)


Hello.

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

Why it doesn't work?

scriptNX.bms

  • Author
  • Localization

aluigi, posted Thu Apr 04, 2019 12:24 pm (46465)


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
  • Author
  • Localization

ekvirjd, posted Thu Apr 04, 2019 2:04 pm (46467)


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.
  • Author
  • Localization

aluigi, posted Thu Apr 04, 2019 9:09 pm (46474)


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.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.