2013-05-03, 14:54
(2013-05-03, 13:29)firewasborn Wrote:Under Windows, the command line to start a rom with Retroarch with a specific core (like snes9x-next) may be something like this for example :(2013-05-03, 03:52)Angelscry Wrote: Here are Retroarch information to use with Advanced Launcher : http://www.gwenael.org/forum/viewtopic.php?id=408
I've moved on from zsnes and trying to get RetroArch to work and looked at the content on the link you sent.
The problem is, I have to define which core it should be using for each game, and I have no idea how to tell Advance Launcher
to use for example a SNES core to run a .smc game.
Code:
D:/RetroArch/retroarch.exe -f -D -L libretro-git-snes9x-next-x86_64.dll "D:/RetroArch/SNES/roms/zelda.smc"
You will found a more complete list here : http://forum.xbmc.org/showthread.php?tid...pid1381302
So... the complete command line to use into Advanced Launcher will be something like this :
Code:
D:/RetroArch/retroarch.exe -f -D -L libretro-git-snes9x-next-x86_64.dll "%rom%"
And so you will have to configure your files launcher like this :
Application : D:/RetroArch/retroarch.exe
Arguments : -f -D -L libretro-git-snes9x-next-x86_64.dll "%rom%"
File extension : smc
(2013-05-03, 13:29)firewasborn Wrote: And also, how would a .bat file look for RetroArch if I want to suspend XBMC
when running RetroArch and on exit, resume XBMC? I know I've asked this before but with zsnes, but I'm asking again because I have no idea how to script it for either zsnes or RetroArch, I just read through the forum for the zsnes bit.
The .bat scritps to suspend/resume XBMC while starting an application are most of the time based on the same struture :
Quote:pssuspend XBMC.exe
Your application command line
pssuspend -r XBMC.exe
So if you want to make one for Retroarch (for example named retroarch_launcher.bat), it will look like this :
Code:
pssuspend XBMC.exe
"D:/RetroArch/retroarch.exe" -f -D -L libretro-git-snes9x-next-x86_64.dll %1
pssuspend -r XBMC.exe
And so, in this case, you will have to configure your files launcher like this :
Application : D:/RetroArch/retroarch_launcher.bat
Arguments : "%rom%"
File extension : smc
BTW, there is a lot of different ways to do it. You could also use Autoit scripts as suggested by Thom7pson if you want more controls. Advanced Launcher is just for starting a command line. So it can be used to start ALL kind of application. If you do not know how to start and application using the command line, go to ask your question on dedicated forums : RetroArch, ZSNES, etc... We can bring support how use Advanced Launcher, but not how to use all the existing applications in the world.