[RELEASE] Steam Launcher - Start Steam Big Picture Mode from within XBMC

  Thread Rating:
  • 4 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
bassdal Offline
Junior Member
Posts: 2
Joined: May 2013
Reputation: 0
Post: #31
Thanks for a great script Big Grin

but can someone help me? a newbie
need to have the script

xpadder.exe shut and start again when xbmc open in the batch file
(This post was last modified: 2013-05-29 00:18 by bassdal.)
find quote
teeedubb Offline
Donor
Posts: 2,577
Joined: Mar 2010
Reputation: 62
Location: Down Under
Post: #32
Should be possible, but to clarify you want xpadder running only while xbmc is running yeah?

My Add-ons, only available for XBMC:
Steam Launcher|Music Party Mode|Reboot2oOS|Triple J Radio
find quote
bassdal Offline
Junior Member
Posts: 2
Joined: May 2013
Reputation: 0
Post: #33
votes.

close xpadder.exe when steam starts and run xpadder.exe when xbmc starts again

can be so easy to just make a script to change to a xpadder.profile?
find quote
teeedubb Offline
Donor
Posts: 2,577
Joined: Mar 2010
Reputation: 62
Location: Down Under
Post: #34
I'll look at adding a pre-steam and post-steam commands to the add on but if you want to try your self the batch file you need to edit is:

Code:
%appdata%\XBMC\addons\script.SteamLauncher\resources\scripts\applaunch-vbs.bat

Use what's already in the batch file to guide you and as an example of what to add.

My Add-ons, only available for XBMC:
Steam Launcher|Music Party Mode|Reboot2oOS|Triple J Radio
find quote
teeedubb Offline
Donor
Posts: 2,577
Joined: Mar 2010
Reputation: 62
Location: Down Under
Post: #35
New version, 0.1.2, in first post.

Now xbmc will restart after steam is closed on both windows and linux.
Several minor changes.
Due to new scripting being used the addon may work with OSX, but I havent tested.

My Add-ons, only available for XBMC:
Steam Launcher|Music Party Mode|Reboot2oOS|Triple J Radio
find quote
mohanman Offline
Junior Member
Posts: 44
Joined: May 2012
Reputation: 0
Post: #36
thanks for the awesome script I have been using it great on my windows alienware x51 box to go between xbmc and steam. Works well without hiccup.. using xbmclauncher.
find quote
relaxis Offline
Junior Member
Posts: 22
Joined: Jun 2013
Reputation: 0
Post: #37
I installed Steam on XBMCbuntu - added the addon and ran it, it exits XBMC, Steam runs (black screen) and then I think XBMC restarts again (I can hear the GUI clicks when I press left and right)

any fixes?
find quote
teeedubb Offline
Donor
Posts: 2,577
Joined: Mar 2010
Reputation: 62
Location: Down Under
Post: #38
I haven't tested with xbmcbuntu, only Linux desktop environments, but I will when I get home. Can you start the desktop environment included in xbmcbuntu from the lightdm login screen, launch xbmc and run the steam launcher add on that way?

My Add-ons, only available for XBMC:
Steam Launcher|Music Party Mode|Reboot2oOS|Triple J Radio
find quote
mohanman Offline
Junior Member
Posts: 44
Joined: May 2012
Reputation: 0
Post: #39
(2013-07-07 01:20)mohanman Wrote:  thanks for the awesome script I have been using it great on my windows alienware x51 box to go between xbmc and steam. Works well without hiccup.. using xbmclauncher.

The launcher was working excellent however over the past few days, I'm running into problems. If steam does an update, and then launches steam, it will also go back to XBMC. Is there any work around? Any better options?
find quote
teeedubb Offline
Donor
Posts: 2,577
Joined: Mar 2010
Reputation: 62
Location: Down Under
Post: #40
(2013-07-11 13:18)mohanman Wrote:  
(2013-07-07 01:20)mohanman Wrote:  thanks for the awesome script I have been using it great on my windows alienware x51 box to go between xbmc and steam. Works well without hiccup.. using xbmclauncher.

The launcher was working excellent however over the past few days, I'm running into problems. If steam does an update, and then launches steam, it will also go back to XBMC. Is there any work around? Any better options?

Steam restarts itself when it updates, which causes the script to think steam has been exited, thus restarting xbmc. Steam only allows one instance to be open, does relaunching the add on work as desired?

My Add-ons, only available for XBMC:
Steam Launcher|Music Party Mode|Reboot2oOS|Triple J Radio
find quote
Stildawn Offline
Senior Member
Posts: 182
Joined: May 2012
Reputation: 0
Post: #41
Could someone modify this great addon a bit for me?

Mainly I want to make it look a bit more seamless, so I was thinking couldn't the order change a bit. So when the addon is run, it opens steam big picture in the background and once opens closes XBMC, and likewise of Steam Exit, open XBMC in background and when open exit steam.

Or perhaps it could be easier to have a full screen "loading" display to hide all the turning off/on going on (including hiding the command prompt window)?

Thanks
(This post was last modified: 2013-07-13 03:16 by Stildawn.)
find quote
teeedubb Offline
Donor
Posts: 2,577
Joined: Mar 2010
Reputation: 62
Location: Down Under
Post: #42
I think the first suggestion would be very hard to make work without external programs, eg the correct program gaining/not having focus at the right time since they are both full screen applications.

As for hiding the command window this is something that I would like to do in the future - this add on is still a work in progress, as well as a learning experience. I currently have eventghost set as my windows shell with a plain black wallpaper so the windows desktop is hidden, and switch to the windows desktop when I need to tinker.

http://wiki.xbmc.org/index.php?title=HOW...s_a_shell)

My Add-ons, only available for XBMC:
Steam Launcher|Music Party Mode|Reboot2oOS|Triple J Radio
(This post was last modified: 2013-07-13 06:18 by teeedubb.)
find quote
teeedubb Offline
Donor
Posts: 2,577
Joined: Mar 2010
Reputation: 62
Location: Down Under
Post: #43
@stildawn if youre using windows and keen to try something out (I won't be home for a few more days) you can try and replace the second line of default.py with:

Code:
os.system('hstart /NOWINDOW /D="%appdata%/XBMC/addons/script.SteamLauncher/resources/scripts/applaunch-vbs.bat"')

Default.py is located at:

Code:
%appdata%\XBMC\addons\script.SteamLauncher\default.py

My Add-ons, only available for XBMC:
Steam Launcher|Music Party Mode|Reboot2oOS|Triple J Radio
find quote
Stildawn Offline
Senior Member
Posts: 182
Joined: May 2012
Reputation: 0
Post: #44
I did the above last night quickly. It hasnt seemed to work, when I run the add on from XBMC the command window pops up and does something real quick (to quick to read) and then disappears but nothing happens.

However now that I think about it, Steam might have already been running so could that throw it off?
find quote
teeedubb Offline
Donor
Posts: 2,577
Joined: Mar 2010
Reputation: 62
Location: Down Under
Post: #45
Possibly, I need to look into what happens if the add on is run when steam is open as updates to steam will cause xbmc to restart.

My Add-ons, only available for XBMC:
Steam Launcher|Music Party Mode|Reboot2oOS|Triple J Radio
find quote
Post Reply