Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Dolphin Command line to run game  (Read 32656 times)

0 Members and 1 Guest are viewing this topic.

TimeCrisis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 153
  • Last login:July 22, 2023, 04:32:47 am
  • I want to build my own arcade controls!
Dolphin Command line to run game
« 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.

nexusmtz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 489
  • Last login:June 01, 2022, 03:14:22 am
Re: Dolphin Command line to run game
« Reply #1 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

TimeCrisis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 153
  • Last login:July 22, 2023, 04:32:47 am
  • I want to build my own arcade controls!
Re: Dolphin Command line to run game
« Reply #2 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.
« Last Edit: January 18, 2015, 02:19:19 pm by TimeCrisis »

nexusmtz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 489
  • Last login:June 01, 2022, 03:14:22 am
Re: Dolphin Command line to run game
« Reply #3 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.

TimeCrisis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 153
  • Last login:July 22, 2023, 04:32:47 am
  • I want to build my own arcade controls!
Re: Dolphin Command line to run game
« Reply #4 on: January 21, 2015, 03:23:49 pm »
wow great thanks a lot!