• 1
  • 228
  • 229
  • 230(current)
  • 231
  • 232
  • 453
[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC
Ok... This is the best I can actually obtain. First, create this autoit script and compile it as eshell-launcher.exe (for exemple) :

Code:
Run(@WindowsDir & "\ehome\ehshell.exe", "", @SW_MAXIMIZE)
WinWaitActive ( "Windows Media Center" )
Run(@WindowsDir & "\pssuspend XBMC.exe")
WinWaitClose ( "Windows Media Center" )
Run(@WindowsDir & "\pssuspend -r XBMC.exe")
Run(@WindowsDir & "\nircmd win max process XBMC.exe")

Then, into Advanced Launcher, edit your MCE launcher, change the application to eshell-launcher.exe and into Advanced Modification menu put "Toggle XBMC Fullscreen" at "Off". On my windows 7 system transition between XBMC and 'MCE is perfect. Transition between MCE and XBMC is not really perfect. We still see a small windows transition during a fraction of second.
The perfect autoit script...

Code:
HotKeySet("{ESC}", "Terminate")

Run(@WindowsDir & "\ehome\ehshell.exe", "", @SW_MAXIMIZE)
WinWaitActive ( "Windows Media Center" )
Run(@WindowsDir & "\pssuspend XBMC.exe")

While 1
    Sleep(100)
WEnd

Func Terminate()
    Run(@WindowsDir & "\pssuspend -r XBMC.exe")
    Run(@WindowsDir & "\nircmd win max process XBMC.exe")
    ProcessClose ( "ehshell.exe" )
    Exit 0
EndFunc

Pressing ESC key will automatically close MCE and return to XBMC.
^^^
Thank you!

I tested it and it works, but I am not having any luck inserting the strings to get direct access to MCE Netflix or even MCE Live TV.

I've tried all sorts of stuff, but basically it aught to be something like this:

Netflix:

Code:
Run(@WindowsDir & "\ehome\ehshell.exe", "/url:windowsmediacenterapp:{e6f46126-f8a9-4a97-9159-b70b07890112}\{982ea9d3-915c-4713-a3c8-99a4688b7c59}?EntryPointParameters=", @SW_MAXIMIZE)

Live TV:

Code:
Run(@WindowsDir & "\ehome\ehshell.exe", "/nostartupanimation /homepage:VideoFullscreen.xml /PushStartPage:True", @SW_MAXIMIZE)

Neither starts anything Sad

Obviously I am doing something wrong, but I am totally stumped.
If you want to add argument into your command line they must be passed into the first parameter of the autoit Run() fiunction. Second parameter is to indicated to working directory. Working directory is not necessary in your case, so the second parameter must stay empty, and so code lines must be something like this :

Code:
Run(@WindowsDir & "\ehome\ehshell.exe /url:windowsmediacenterapp:{e6f46126-f8a9-4a97-9159-b70b07890112}\{982ea9d3-915c-4713-a3c8-99a4688b7c59}?EntryPointParameters=","", @SW_MAXIMIZE)

Code:
Run(@WindowsDir & "\ehome\ehshell.exe /nostartupanimation /homepage:VideoFullscreen.xml /PushStartPage:True","", @SW_MAXIMIZE)
Thanks, Angelscry. I totally did not get the Autoit argument, I guess Sad Now it works well to load Netflix.

Unfortunately, when I exit WMC, the majority of the time I get a minimized window of XBMC, with the spinning circle and XBMC Not Responding message. I need to force-quit XBMC. Any idea what could be causing it?
Do you have this problem when you start MCE or only when you start MCE with Netlfix. I have made some tries on my system, and I'm not able to reproduce your problem. So I could be related to something wrong on your system.

Other thing you can try is, instead to suspend/resume XBMC you can directly to close/restart it :

Code:
HotKeySet("{ESC}", "Terminate")

Run(@WindowsDir & "\ehome\ehshell.exe", "", @SW_MAXIMIZE)
WinWaitActive ( "Windows Media Center" )
Run("pskill -t XBMC.exe")

While 1
    Sleep(100)
WEnd

Func Terminate()
    Run ( '"C:\Program Files (x86)\XBMC\XBMC.exe"', "", @SW_MAXIMIZE)
    WinWaitActive ( "XBMC" )
    ProcessClose ( "ehshell.exe" )
    Exit 0
EndFunc
Hi Angelscry,

Thanks a lot for your work, it's greatly appreciated and your work should be officialy integrated to XBMC!!

I have a minor problem, could you help me? My wii roms and the Dolphin emulator are in a network server (ZSmile. My XBMC is in another computer (CSmile. I would like to suspend XBMC when I start a wii game so I used the information here: http://www.gwenael.org/forum/viewtopic.php?id=5 and created a launcher.bat:

pssuspend "XBMC.exe"
cd "Z:\Emulation\Wii\Dolphin"
Dolphin.exe /e "%1"
pssuspend -r "XBMC.exe"


Sadly, it's not working....I get an Unexpected parameter launcher.bat error in a Dolphin window.

Any advice?
Does Dolphin start running ? I ask because that bat doesn't seem that it should do since it shouldn't switch to the Z folder

pssuspend "XBMC.exe"
Z:
cd "Z:\Emulation\Wii\Dolphin"
Dolphin.exe /e "%1"
pssuspend -r "XBMC.exe"

That should switch to your network server, please tell me if it works because i will be soon implementing something like this
(2012-05-21, 21:33)fablog Wrote: Hi Angelscry,

Thanks a lot for your work, it's greatly appreciated and your work should be officialy integrated to XBMC!!

I have a minor problem, could you help me? My wii roms and the Dolphin emulator are in a network server (ZSmile. My XBMC is in another computer (CSmile. I would like to suspend XBMC when I start a wii game so I used the information here: http://www.gwenael.org/forum/viewtopic.php?id=5 and created a launcher.bat:

pssuspend "XBMC.exe"
cd "Z:\Emulation\Wii\Dolphin"
Dolphin.exe /e "%1"
pssuspend -r "XBMC.exe"


Sadly, it's not working....I get an Unexpected parameter launcher.bat error in a Dolphin window.

Any advice?
It depend how do you have configured your Dolphin files launcher into Advanced Launcher. Paths containing space must be quoted, so if your .bat launcher code is :

Code:
pssuspend "XBMC.exe"
cd "Z:\Emulation\Wii\Dolphin"
Dolphin.exe /e "%1"
pssuspend -r "XBMC.exe"

Arguments into Advanced Launcher must be set to %rom% (with no quote).
If your arguments into Advanced Launcher are "%rom%" (with quotes), your .bat launcher code must be :

Code:
pssuspend "XBMC.exe"
cd "Z:\Emulation\Wii\Dolphin"
Dolphin.exe /e %1
pssuspend -r "XBMC.exe"

Remember : Double the quotes = no quote.
As your code seems correct, check first if your files launcher is well configured. I think it is your problem.
(2012-05-22, 00:37)reksveks Wrote: Does Dolphin start running ? I ask because that bat doesn't seem that it should do since it shouldn't switch to the Z folder

pssuspend "XBMC.exe"
Z:
cd "Z:\Emulation\Wii\Dolphin"
Dolphin.exe /e "%1"
pssuspend -r "XBMC.exe"

That should switch to your network server, please tell me if it works because i will be soon implementing something like this

cd "Z:\Emulation\Wii\Dolphin" command line automatically define the Z:\Emulation\Wii\Dolphin as workign directory. So no needs to indicate to be on Z: drive.
Thanks for your help guys but it doesn't work. Sad

Here are all my directories:

Dolphin: \\SERVER\Jeux videos\Emulation\Wii\Dolphin\Dolphin.exe (I created a a hard link Z:\Emulation\Wii\Dolphin)
Roms: \\SERVER\Jeux videos\Emulation\Wii\Roms Wii (Z:\Emulation\Wii\Roms Wii)
XBMC : Other computer

I precise that if I run directly dolphin.exe from XBMC with Advanced launcher but without a batch file...it works.
(2012-05-22, 02:37)fablog Wrote: Thanks for your help guys but it doesn't work. Sad

Here are all my directories:

Dolphin: \\SERVER\Jeux videos\Emulation\Wii\Dolphin\Dolphin.exe (I created a a hard link Z:\Emulation\Wii\Dolphin)
Roms: \\SERVER\Jeux videos\Emulation\Wii\Roms Wii (Z:\Emulation\Wii\Roms Wii)
XBMC : Other computer

I precise that if I run directly dolphin.exe from XBMC with Advanced launcher but without a batch file...it works.
Please, post here the content of your launchers.xml file using pastebin service. I cannot help you If I do not know how you have configured your launcher. The .bat file is made to be used with a dolphin files launcher (and not stand alone launcher) and applicaton and roms files must use hard links.


Here my launchers.xml : http://pastebin.com/a5m8Tt7W


(2012-05-22, 04:21)fablog Wrote: Here my launchers.xml : http://pastebin.com/a5m8Tt7W
Hummm... Your launcher configuration seems good. So the problem must be somewhere else.

If you create a .bat like this one :

Code:
pssuspend "XBMC.exe"
cd "Z:\Emulation\Wii\Dolphin"
Dolphin.exe /e "Z:\Emulation\Gamecube\Roms GC\F-Zero GX.iso"
pssuspend -r "XBMC.exe"

And you start it directly from Windows (not from XBMC/AdvancedLauncher). Does the game start correctly?
Doesn't work, I got this:

C:\Users\fabien\Desktop>pssuspend "XBMC.exe"

PsSuspend v1.06 - Process Suspender
Copyright ® 2001-2003 Mark Russinovich
Sysinternals

Process XBMC.exe suspended.


C:\Users\fabien\Desktop>cd "Z:\Emulation\Wii\Dolphin"

C:\Users\fabien\Desktop>Dolphin.exe /e "Z:\Emulation\Gamecube\Roms GC\F-Zero GX.
iso"
'Dolphin.exe' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\fabien\Desktop>pssuspend -r "XBMC.exe"

PsSuspend v1.06 - Process Suspender
Copyright ® 2001-2003 Mark Russinovich
Sysinternals

Process XBMC.exe resumed.


But, it works like that:
pssuspend "XBMC.exe"
Z:\Emulation\Wii\Dolphin\Dolphin.exe /e "Z:\Emulation\Gamecube\Roms GC\F-Zero GX.iso"
pssuspend -r "XBMC.exe"

What should be the batch file to reach the Dolphine directory and the iso directory with Advanced Launcher?
windows 7 user.first time setting up emulators and roms.i have advanced launcher and zsnes working and it opens mariokart, however mariokart wont open fullscreen.i have it setup to fullscreen in zsnes.so when i open up zsnes outside of xbmc and load mariokart everythings fine but within xbmc it opens it only two thirds of the screen and i cant see the top.i've tried everything i can think of.any help would be appreciated
  • 1
  • 228
  • 229
  • 230(current)
  • 231
  • 232
  • 453

Logout Mark Read Team Forum Stats Members Help
[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC24