Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: TimeCrisis on January 06, 2015, 07:34:37 am

Title: Dolphin Command line to run game
Post by: TimeCrisis on January 06, 2015, 07:34:37 am
can't seem to get this working.

currently have as my full shortcut in the 'target' box.

"C:\Files\Applications\Light Gun Games\Wii\Dolphin.exe" /e --"C:\Files\Applications\Light Gun Games\Wii\Games\The House of The Dead 2 And 3 Returns.wbfs"

with this dolphin starts up, the screen flashes as if it's loading a game, then closes immediately and I'm left on dolphins screen.

I know the syntax is at least correct as I don't get the help box that comes up.
Title: Re: Dolphin Command line to run game
Post by: nexusmtz on January 17, 2015, 04:20:47 pm
Probably a little late, but:

Code: [Select]
Usage: dolphin [/h] [/d] [/l] [/e <str>] [/b] [/V <str>] [/A <str>] [/m <str>] [/U <str>] [/P <str>]
  /h, --help                    Show this help message
  /d, --debugger                Opens the debugger
  /l, --logger                  Opens the logger
  /e, --exec=<str>              Loads the specified file (ELF, DOL, GCM, ISO, WBFS, CISO, GCZ, WAD)
  /b, --batch                   Exit Dolphin with emulator
  /V, --video_backend=<str>     Specify a video backend
  /A, --audio_emulation=<str>   Low level (LLE) or high level (HLE) audio
  /m, --movie=<str>             Play a movie file
  /U, --user=<str>              User folder path
  /P, --perf_dir=<str>          Directory for Linux perf perf-$pid.map file

You need to use either the /e option or the --exec= option. You don't use the -- with /e. Also, include /b for batch mode. (Dolphin won't scan your iso directories, and it exits when you're done with that game.)

"C:\Files\Applications\Light Gun Games\Wii\Dolphin.exe" /b /e "C:\Files\Applications\Light Gun Games\Wii\Games\The House of The Dead 2 And 3 Returns.wbfs"

--Nexusmtz
Title: Re: Dolphin Command line to run game
Post by: TimeCrisis on January 18, 2015, 02:07:05 pm
Wow, that's great, works near perfect.

any clues on how fast quit dolphin, so when I press the close button I don't get 'do you want to exit the program' message and it just closes anyway, suppose I could quit the process in autohotkey but maybe you know a better way?
seems the 'exit' hotkey does nothing in dolphin, how strange.
Title: Re: Dolphin Command line to run game
Post by: nexusmtz on January 19, 2015, 09:36:15 pm
Options, Configure..., Interface tab, uncheck Confirm on Stop

If you're not in a game, or if you're rendering to the main window (options, graphics settings, render to main window) the exit hotkey works.

If you're running the command line with /b, and letting it render to its own window, the stop hotkey is what you're looking for.
Title: Re: Dolphin Command line to run game
Post by: TimeCrisis on January 21, 2015, 03:23:49 pm
wow great thanks a lot!