RocketLauncher Command Line Parameters

From RocketLauncher Wiki
Revision as of 14:25, 30 December 2014 by Djvj (talk | contribs)
Jump to navigation Jump to search

HyperLaunch v3.1.0.0+ supports new command line parameters which allows you to pass much more info to it for greater control over what HyperLaunch can do.

Legacy

The legacy CLI still works, but is only suggested for Hyperspin users who place their Hyperspin folder in C:\Hyperspin or similar, like D:\Hyperspin.

The legacy CLI works like this: HyperLaunch.exe "<SYSTEM_NAME>" "<ROM_NAME>" Example: HyperLaunch.exe "Nintendo Entertainment System" "Adventure Island (USA)"

  • Note that when spaces are used, the parameter must be wrapped in quotes.

Current

For all other Front Ends or scenarios, the new CLI parameters are as follows:

-s "<SYSTEM_NAME>"

This refers to the system you are launching.
Example: -s "Nintendo Entertainment System"

-r "<ROM_NAME>"

This refers to the game or application you are launching. Also known as DB_NAME, as in name from your Front End's database.
Example: -r "Adventure Island (USA)"

-m <HL_MODE>

This tells HyperLaunch you want to launch one of its features directly and not the game itself. You do not need to wrap this in quotes.
Supported Modes:
  • hp = Boot directly into HyperPause
  • mg = Boot directly into MultiGame
  • fade = Boot directly into Fade (Non-7z)
  • fade7z = Boot directly into Fade (7z)
Example: -s "Nintendo Entertainment System" -r "Adventure Island (USA)" -m hp

-f "<FRONT_END_PATH>"

This tells HyperLaunch what Front End called it. This is critical for HyperLaunch to know what to restore on exit. The full path and executable must be supplied.
Example: -f "C:\RetroFE\RetroFE.exe"

-p "<PLUGIN_NAME>"

This tells HyperLaunch what Plugin to use for the Front End that called it. Without a proper plugin, HyperLaunch cannot read the Front End's database or know where to find Front End Media.
Value refers to the file name found in HyperLaunch\Plugins. If your plugin is named RetroFE.plugin, then use RetroFE.
Example: -p "RetroFE"

-e "<FORCE_EMU_NAME>"

Allows you to force the use of the specified emulator above anything you may have set in HyperLaunchHQ.
You must also force a module with the -d parameter.
Emulator name can be a defined emulator in HyperLaunchHQ, or one not defined but a full path to the exe must be supplied as well.
Example: -e "C:\Emulators\Nestopia\Nestopia.exe"

-d "<FORCE_MODULE_NAME>"

Allows you to force the use of the specified module above anything you may have set in HyperLaunchHQ.
You must also force an emulator with the -e parameter.
Module name can be a defined module in HyperLaunchHQ, or one not defined but a full path to the module must be supplied as well.
If you do not supply an extension, ".ahk" will be added on for you automatically.
Example: -d "D:\HyperLaunch\Modules\Nestopia\Nestopia.ahk"

You can validate your Front End is sending the correct parameters by opening the HyperLaunch.log in HyperLaunchHQ and looking for this line (quotes are automatically removed):

Main - Raw CLI received: "-s Nintendo Entertainment System -r Adventure Island (USA) -f D:\Hyperspin\HyperSpin.exe -p HyperSpin"