Dolphin, the GameCube and Wii emulator - Forums
Running Dolphin With .Bat files possible? - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: General Discussion (https://forums.dolphin-emu.org/Forum-general-discussion)
+--- Thread: Running Dolphin With .Bat files possible? (/Thread-running-dolphin-with-bat-files-possible)



Running Dolphin With .Bat files possible? - darkev - 01-14-2011

I was wondering if there is any chance we could run off games using a .bat instead of entering the dolphin executable and running them from there, the reason i ask this is becuase several builds run better with diferent games

for example: build r6515 with zelda TP runs perfect, but zelda with recent builds doesn't run so good (hyrule fields). Robotech Battlecry can't start because i use x64 dolphin but it runs if i use a x32 dolphin... get the point?

i recently downloaded Naruto Shippuden Gekitou Ninja Taisen (a preconfigured dolphin game) and noticed 2 .exe files the dolphin.exe and naruto.exe if i start with naruto.exe the game automatically loads itself without going into dolphin and selecting the game you want to play.

And i like to use my windows 7 game explorer for my game collection, and just have to add the .bat file to the game explorer and edit the box art with vgee.

So is this possible? and if it is, does anyone know the commands?



RE: Running Dolphin With .Bat files possible? - JackyCola - 01-14-2011

Quote:Usage: dolphin [/h] [/d] [/l] [/e <str>] [/b] [/V <str>] [/A <str>]
/h, --help Show this help message
/d, --debugger Opens the debugger
/l, --logger Opens the logger
/e, --exec=<str> Loads the specified file (DOL, ELF, WAD, GCM, ISO)
/b, --batch Exit Dolphin with emulator
/V, --video_plugin=<str> Specify a video plugin
/A, --audio_plugin=<str> Specify an audio plugin
Unexpected characters following option 'l'.


So a batch (in dolphin folder next to dolphin.exe) would look like that:

start /realtime dolphin.exe "--exec=E:\WiiGames\Mario Kart.iso" --batch

/realtime sets the cpu priority. this may speed it up.
--exec starts the is iso specified.
--batch makes dolphin window close on stopping the emulation

the " around exec are needed if you have spaces in the path or iso name.

Make a shortcut to the batch and give it an icon.

win.


RE: Running Dolphin With .Bat files possible? - darkev - 01-14-2011

(01-14-2011, 08:31 AM)JackyCola Wrote:
Quote:Usage: dolphin [/h] [/d] [/l] [/e <str>] [/b] [/V <str>] [/A <str>]
/h, --help Show this help message
/d, --debugger Opens the debugger
/l, --logger Opens the logger
/e, --exec=<str> Loads the specified file (DOL, ELF, WAD, GCM, ISO)
/b, --batch Exit Dolphin with emulator
/V, --video_plugin=<str> Specify a video plugin
/A, --audio_plugin=<str> Specify an audio plugin
Unexpected characters following option 'l'.


So a batch (in dolphin folder next to dolphin.exe) would look like that:

start /realtime dolphin.exe "--exec=E:\WiiGames\Mario Kart.iso" --batch

/realtime sets the cpu priority. this may speed it up.
--exec starts the is iso specified.
--batch makes dolphin window close on stopping the emulation

the " around exec are needed if you have spaces in the path or iso name.

Make a shortcut to the batch and give it an icon.

win.
Hey i just tried it and it worked THANKS ALOT!!!!



RE: Running Dolphin With .Bat files possible? - Dario ff - 01-14-2011

Cool, you got your answer. Now...
Quote:i recently downloaded Naruto Shippuden Gekitou Ninja Taisen (a preconfigured dolphin game)

I wonder what this "naruto.exe" had besides the command to run Dolphin. Smile


RE: Running Dolphin With .Bat files possible? - JackyCola - 01-14-2011

(01-14-2011, 10:19 AM)Dario ff Wrote: Cool, you got your answer. Now...
Quote:i recently downloaded Naruto Shippuden Gekitou Ninja Taisen (a preconfigured dolphin game)

shi.. didnt read that far. srz.



RE: Running Dolphin With .Bat files possible? - Dario ff - 01-15-2011

Don't worry, probably the naruto.exe had something more he deserved... Tongue


RE: Running Dolphin With .Bat files possible? - wton - 03-25-2011

thanks very much, work fine with New Super Mario Bross Wii Big Grin thnaks...


RE: Running Dolphin With .Bat files possible? - Runo - 03-26-2011

(01-15-2011, 03:19 AM)Dario ff Wrote: Don't worry, probably the naruto.exe had something more he deserved... Tongue

Lol Tongue