Windows XBMCLauncher - All in One Tool for Change Shell, Set Focus and more

  Thread Rating:
  • 10 Votes - 4.2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
baijuxavior Offline
Posting Freak
Posts: 778
Joined: Jan 2012
Reputation: 20
Location: India
Lightbulb  XBMCLauncher - All in One Tool for Change Shell, Set Focus and more Post: #1
New version 4.0 with Settings GUI

DOWNLOAD

Both Windows 7 and Windows 8 users can use this version.

INSTALLATION - Close XBMCLauncher.exe if it is running. Start the setup file. It will remove the older version automatically and install the new one. You can also import settings from older version.


Features added in XBMCLauncher V4.0
  1. Improved setup installer. Avast no longer reports suspicious file.
  2. Added GUI for easy settings configuration. GUI is not loaded at start, so the start time is not affected.
  3. Option to start the GUI using Win+S shortcut.
  4. Option to create desktop and Taskbar icons for GUI.
  5. Added a menu to close XBMC forcefully. Useful if XBMC is not responding.
  6. Option to install original MCE registry code.
  7. Option to set any exe file as shell. XBMCLauncher will not load in this mode.
  8. Desktop context power menu is now available for Win7 also.
  9. Option to create power button icons on desktop [Win8].


[Image: 5nkvg1.png]


Features added in XBMC Launcher V3.5
  1. Replaced the menu with cascading sub menus.
  2. Option to start Explorer using Win+E shortcut in shell mode.
  3. Option to disable the focus permanently. Setting focus delay to '0' seconds also works.
  4. Focus command is sent only if xbmc is not active.


[Image: 2j5bgh0.jpg]

Features added in XBMC Launcher V3.1
  1. Option to start XBMC in portable mode.
  2. Option to start upto six applications and to disable xbmc focus if needed. Courtesy 'Snood' for the programming.
  3. Option to start the Windows 8 Metro Start when xbmc is closed.
  4. Option to close and restart XBMC from the custom confluence shutdown menu.


[Image: 5m9ts5.png]


Features added in XBMC Launcher V3.0
  1. Option to enable/disable XBMC startup. Useful for non htpc users.
  2. Option to start upto three applications and to disable focus if needed.
  3. Option to view the settings file.
  4. Option to Turn off the display using hot key Win+F11.
  5. Option to add Power Options to desktop context menu of Windows 8.
  6. Option to add Power Button shortcuts to Windows 8 Metro Start.


[Image: 14acyrl.png]

[Image: 4jwzu8.png]

[Image: 1430v9h.png]






What XBMCLauncher can do?

  1. Start XBMC automatically when Windows starts.
  2. Or set XBMC to boot directly without loading the Windows explorer and desktop by changing the shell.
    iMONonXBMC users should not change the shell as explorer is needed for iMONonXBMC to work correctly.
  3. Keep XBMC on focus so that no other application can steal the focus of your remote control presses.
  4. Creates a System Tray icon for XBMCLauncher from which you can configure its functions.
  5. Set the time for focus check.
  6. Temporarily disable the focus by using Win+F9 shortcut.
  7. Change the Shutdown menu of XBMC to set Shutdown, Sleep or Hibernate the system.
  8. When resumed from Sleep and Hibernation, XBMC is started again.
  9. Start Windows desktop when you press Exit button of XBMC if you changed the shell to xbmc.
  10. Handle MCE Remote control Green Start Button to start XBMC
  11. Start XBMConIMON and IMON manager automatically for those with IMON products.
  12. Option to manually specify the path of XBMC, XBMConIMON and IMON manager
  13. Paths are automatically selected without any user interaction.
  14. Customized installation. Select only the components you need.
  15. All replaced files are backed up so that your system is returned to the previous state when you uninstall the XBMC Launcher.


Features added in XBMC Launcher V2.0
  1. New menu button to start xbmc.
  2. Option to completely disable the focus by inserting time as '0' seconds.
  3. Option to send the focus message only one time as requested by many users.
  4. Option to enable or disable force close of xbmc when system is send to sleep or hibernation.
  5. Start Windows explorer on closing xbmc (in shell mode) now supports any skin without installing my custom shutdown xml file.
  6. Option to disable the focussing when external player is used.
  7. Menu for opening XBMC program folder and application data folder.
  8. Minor bug fixes.


Features added in XBMC Launcher V2.1
  1. Show XBMCLauncher menu using 'Win+F10' even when in shell mode. No need of Explorer to change settings.
  2. Capture 'Alt+F4' to show shutdown menu (keypress 'S') instead of closing without warning.
  3. Bug Fix - In V2.0, Explorer was loaded when xbmc is force closed during suspend. Now explorer is started only when you close it using Exit button.


Feature added in XBMC Launcher V2.2
  1. Option to set time delay for XBMC to start. Those who are using version 2.1 can install v2.2 without uninstalling v2.1.



Source Code

The application is entirely coded using autohotkey scripts. Source code can be downloaded from the same folder. You will need latest version of Autohotkey_L for compiling .ahk files, Inno Setup Creator to create setup file and Notepad++ for editing . XML files. For editing .ahk scripts, Notepad++ can be used. But I prefer SciTE4AutoHotkey Script Editor.
GUI programming is done in VB.NET 2010.

Special Thanks to elitegamer360 whose GSB script, keymap file and MCERemote registry codes are used in this installation with slight modification to suite my needs.
(This post was last modified: 2013-05-02 08:28 by baijuxavior.)
find quote
Nimo Offline
Senior Member
Posts: 224
Joined: Nov 2011
Reputation: 3
Location: Germany
Post: #2
nice tool, will try it few days.

cheers

A/V: Sony KDL52W5500|Yamaha RX-V471|Elac Cinema XL Center|4x Elac Cinema 2 Sat|REL Strata II|Elac Sub 101 ESP
HTPC: Realan E-Q8|ASRock Z77E-ITX|iMon inside mod|i3-3225+HD4k|8GB 2133 RAM|60GB Vertex3|120W Pico PSU|Harmony 650|p8 USB-CEC|Win7 x64|XBMC 12alpha|Skin CE v2 SVN
Server: Raid 5 - 8x 2TB WD AV-GP|Win7 x64|HighPoint 2680
find quote
Nimo Offline
Senior Member
Posts: 224
Joined: Nov 2011
Reputation: 3
Location: Germany
Post: #3
my first tries work well but xbmconimon doesnt find imon. i tried to launch the launcher with eventmanager and admin rights but doesnt help.
and could you explain what the components in setup do? i only want to use launcher as shell because i dont have an mce remote and have to start xbmconimon with eventmanager (maybe x64 related) and imon manager itself. i didnt install your shutdown menu because i use an other skin but can you change your launcher that on exit it will launch explorer.exe?

cheers Nimo

edit: ok, its not xbmconimon problem. but booth tools are loaded and i see the standard xoi message but it says it cant connect to imon.
edit 2: after wake from s3 my vfd stay clear (black)

A/V: Sony KDL52W5500|Yamaha RX-V471|Elac Cinema XL Center|4x Elac Cinema 2 Sat|REL Strata II|Elac Sub 101 ESP
HTPC: Realan E-Q8|ASRock Z77E-ITX|iMon inside mod|i3-3225+HD4k|8GB 2133 RAM|60GB Vertex3|120W Pico PSU|Harmony 650|p8 USB-CEC|Win7 x64|XBMC 12alpha|Skin CE v2 SVN
Server: Raid 5 - 8x 2TB WD AV-GP|Win7 x64|HighPoint 2680
(This post was last modified: 2012-07-25 11:35 by Nimo.)
find quote
baijuxavior Offline
Posting Freak
Posts: 778
Joined: Jan 2012
Reputation: 20
Location: India
Post: #4
Thanks Nimo. I will post the installation steps with images.

Installation steps

[Image: 289fye.jpg]

XBMC Launcher - Main application.

XBMC Advanced settings file - Installs an advanced settings file for xbmc. I use it to skip the movies by 10 seconds instead of the default 30 seconds when you press left or right arrow keys. Also it will treat multiple artists in songs using the separator /. This is the default separator used in media monkey.

XBMC Keymap file - Creates a custom keymap file for xbmc to be used with MCE remote controls.

Change XBMC Shutdown Menu - Changes shutdown menu as shown in the image in first post. I need only these three menus. The shutdoen button can be configured to Sleep or Hibernate also.

Set XBMCLauncher as Windows Shell - Changes the windows shell to xbmc launcher instead of Explorer.exe. This way your system will boot directly into XBMC without loading windows desktop thus speeding up the boot processing considerably. On exiting xbmc, you can start explorer.

[Image: axkyaa.jpg]

Select this option if you want MCE remotes to work with the included keymap file. Restart your PC for the change to effect.

Click finish to run XBMCLauncher. If everything is fine, it should start xbmc.


[Image: 2po1cpl.jpg]

The application expects that you have installed xbmc in the default 32 bit Windows Program Files Directory which is usually C:\Program Files\XBMC for 32 bit and C:\Program Files (86)\XBMC for 64 bit. If XBMC is not found in the default location which the app will prompt you to select the xbmc.exe file. Once selected, it will start XBMC.

[Image: 5otduo.jpg]

Menu accessible from Windows System Tray.

Change Focus Delay. Default is 10 seconds which means every 10 seconds XBMCLauncher will send a signal to focus or bring xbmc on top of all other windows.

[Image: iclrwy.jpg]

XBMC Shutdown action. This menu is visible only of you select the custom shutdown file. Choose the action you want when you press the 'Shutdown' button in XBMC. I am using Hibernate and my htpc resumes to XBMC home window within 10 seconds from power down state.


[Image: 34z0mc3.jpg]

You can change Windows Shell from the application without reinstalling xbmclauncher. If XBMCLauncher is set as the shell, then windows desktop is not loaded until you exit xbmc.
(This post was last modified: 2012-07-31 17:35 by baijuxavior.)
find quote
e2zippo Offline
Senior Member
Posts: 196
Joined: Dec 2010
Reputation: 0
Post: #5
This looks great, I'll give it a try when I got some spare time.

Cheers!
find quote
baijuxavior Offline
Posting Freak
Posts: 778
Joined: Jan 2012
Reputation: 20
Location: India
Post: #6
(2012-07-25 11:12)Nimo Wrote:  my first tries work well but xbmconimon doesnt find imon. i tried to launch the launcher with eventmanager and admin rights but doesnt help.
and could you explain what the components in setup do? i only want to use launcher as shell because i dont have an mce remote and have to start xbmconimon with eventmanager (maybe x64 related) and imon manager itself. i didnt install your shutdown menu because i use an other skin but can you change your launcher that on exit it will launch explorer.exe?

cheers Nimo

edit: ok, its not xbmconimon problem. but booth tools are loaded and i see the standard xoi message but it says it cant connect to imon.
edit 2: after wake from s3 my vfd stay clear (black)

For iMON and xbmconimon to work, Windows explorer is needed. If you set xmc as shell, imon won't work.

For iMON, the software expects the location to C:\Program Files\SoundGraph\iMON\ or C:\Program Files(86)\SoundGraph\iMON\
For xbmconimon I use C:\Program Files\xbmc-on-imon-v0.1.9.5\ or C:\Program Files (86)\xbmc-on-imon-v0.1.9.5\
If any other location is used, you will need to manually specify the path from tray icon menu.

You can edit the skin DialogButtonMenu.xml to insert a simple code to start windows desktop.

In confluence skin, it is under C:\Program Files\XBMC\addons\skin.confluence\720p

Open the file DialogButtonMenu.xml and add the line <onclick>XBMC.RunScript(C:\program files\XBMC\StartWindows.py)</onclick> just above the <onclick>XBMC.Quit()</onclick> under the Exit button code as follows:

<control type="button" id="2">
<description>Exit button</description>
<width>340</width>
<height>40</height>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<align>center</align>
<textwidth>290</textwidth>
<texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
<texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
<onclick>XBMC.RunScript(StartWindows.py)</onclick>
<onclick>XBMC.Quit()</onclick>
<pulseonselect>no</pulseonselect>
<font>font13</font>
<label>13012</label>
<visible>false</visible>
</control>


Or you can edit the XBMCLauncher.ahk file in the source code to start explorer when xbmc is exited by adding the code in a loop.

Process, Exist, xbmc.exe ; check to see if xbmc.exe is running
If (ErrorLevel = 0) ; If it is not running
{
Process, Exist, explorer.exe ; check to see if explorer.exe is running
If (ErrorLevel = 0) ;if explorer is not running
{
run explorer.exe
}
}

return
(This post was last modified: 2012-07-25 17:41 by baijuxavior.)
find quote
Nimo Offline
Senior Member
Posts: 224
Joined: Nov 2011
Reputation: 3
Location: Germany
Post: #7
wow fast answer. i havent time to test ATM Wink
maybe later. i will use standard shell so i dont need to edit my menu but i could if i want add an eventghost key with explorer.exe Wink
so i will install with only "XBMCLauncher" in setup and check the paths. the everything should work and im happy.

cheers Nimo

A/V: Sony KDL52W5500|Yamaha RX-V471|Elac Cinema XL Center|4x Elac Cinema 2 Sat|REL Strata II|Elac Sub 101 ESP
HTPC: Realan E-Q8|ASRock Z77E-ITX|iMon inside mod|i3-3225+HD4k|8GB 2133 RAM|60GB Vertex3|120W Pico PSU|Harmony 650|p8 USB-CEC|Win7 x64|XBMC 12alpha|Skin CE v2 SVN
Server: Raid 5 - 8x 2TB WD AV-GP|Win7 x64|HighPoint 2680
(This post was last modified: 2012-07-25 13:03 by Nimo.)
find quote
Nimo Offline
Senior Member
Posts: 224
Joined: Nov 2011
Reputation: 3
Location: Germany
Post: #8
so configuration done, works very well. i just installed xbmlauncher without any mods, set path to xbmconimon and restarted. BAM it works. sleep and wake without any problems. my cec-usb also work.
really nice work. ive used before focusbitch but sometimes after wake up i see the taskbar but xbmc is in focus. with your tool xbmc is the only one on screen Wink

cheers Nimo

+1

A/V: Sony KDL52W5500|Yamaha RX-V471|Elac Cinema XL Center|4x Elac Cinema 2 Sat|REL Strata II|Elac Sub 101 ESP
HTPC: Realan E-Q8|ASRock Z77E-ITX|iMon inside mod|i3-3225+HD4k|8GB 2133 RAM|60GB Vertex3|120W Pico PSU|Harmony 650|p8 USB-CEC|Win7 x64|XBMC 12alpha|Skin CE v2 SVN
Server: Raid 5 - 8x 2TB WD AV-GP|Win7 x64|HighPoint 2680
find quote
baijuxavior Offline
Posting Freak
Posts: 778
Joined: Jan 2012
Reputation: 20
Location: India
Post: #9
Thanks.
find quote
meridius Offline
Fan
Posts: 709
Joined: Jul 2010
Reputation: 1
Post: #10
Hi there

I have problems now and again when coming out of sleep as video is jerky. I have used task manager in windows and Hibernate Trigger and seem to work for awhile but start acting up

So will this app fix that

Q1 can you close xbmc down before it goes into standby and then when you wake the pc up can it load it. The problem with the other fixes like this is that they don't close xbmc down when you go into standby when u come out of standby it shuts xbmc down then loads it back up. so wanted to know if it shuts it down first before it goes into standby

Q2 can u set this up so that if you turn the computer on from cold it boots into windows loads windows desktop up then loads xbmc automatically and keep focus as I can do this all the way up to the point that xbmc minimizes when u have xbmc setup n the startup menu.

Cheers
(This post was last modified: 2012-07-25 22:21 by meridius.)
find quote
Post Reply