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

  Thread Rating:
  • 4 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
easytc Offline
Junior Member
Posts: 4
Joined: Aug 2014
Reputation: 0
Location: Tennessee, USA
Post: #421
I cannot seem to get the add-on to work, and I'm certain it's of my own doing. Whenever I try to run the program, I immediately receive the following error:
Quote:Error!
Check xbmc.log file for details.
  1. I downloaded launcher 2.0.0 from the first post
  2. In XBMC, I went to System > Add-ons > Install from zip file
  3. Navigated to the file and installed the launcher
  4. Went to Programs > Steam
  5. Received error

It isn't launching Steam or exiting XBMC. Any help would be greatly appreciated!
Here is a truncated version of the log file (not sure if I actually provided what is needed)
Quote:05:39:30 T:4552 NOTICE: Starting XBMC (13.1 Git:20140604-84725b0). Platform: x86 Win32 32-bit
05:39:30 T:4552 NOTICE: Using Release XBMC x32 build, compiled Jun 4 2014 by MSVC 160040219 for x86 Win32 32-bit version 0x06000000
05:39:30 T:4552 NOTICE: Running on Windows 7 SP1 64-bit, build 7601
05:39:30 T:4552 NOTICE: Host CPU: AMD A8-5600K APU with Radeon™ HD Graphics, 4 cores available
05:39:30 T:4552 NOTICE: Desktop Resolution: 1440x900 32Bit at 60Hz
05:39:30 T:4552 NOTICE: Running with restricted rights
05:39:44 T:4852 NOTICE: -->Python Interpreter Initialized<--
05:39:44 T:3856 NOTICE: script.steam.launcher: ****Running Steam-Launcher....
05:39:44 T:3856 NOTICE: script.steam.launcher: running on osAndroid, osOsx, osLinux, osWin: 0 0 0 1
05:39:44 T:3856 NOTICE: script.steam.launcher: usr scripts are set to be checked for updates...
05:39:44 T:3856 NOTICE: script.steam.launcher: usr scripts are not set to be deleted, running version check
05:39:44 T:4852 NOTICE: script.steam.launcher: ****Running Steam-Launcher....
05:39:44 T:4852 NOTICE: script.steam.launcher: running on osAndroid, osOsx, osLinux, osWin: 0 0 0 1
05:39:44 T:4852 NOTICE: script.steam.launcher: usr scripts are set to be checked for updates...
05:39:44 T:4852 NOTICE: script.steam.launcher: usr scripts are not set to be deleted, running version check
05:39:44 T:3856 NOTICE: script.steam.launcher: sys "steam.launcher.script.revision=": 005
05:39:44 T:4676 NOTICE: Previous line repeats 1 times.
05:39:44 T:4676 NOTICE: iStream: -netcache- -DELETE FROM netcache WHERE cached < '2014-08-17'
05:39:44 T:3856 NOTICE: script.steam.launcher: usr "steam.launcher.script.revision=": 005
05:39:44 T:3856 NOTICE: script.steam.launcher: userdata script are up to date
05:39:44 T:4852 NOTICE: script.steam.launcher: usr "steam.launcher.script.revision=": 005
05:39:44 T:4852 NOTICE: script.steam.launcher: userdata script are up to date
05:39:44 T:4852 NOTICE: script.steam.launcher: skipping deleting userdata scripts, option disabled: delUserScriptSett = false
05:39:44 T:3856 NOTICE: Previous line repeats 1 times.
05:39:44 T:3856 NOTICE: script.steam.launcher: script file already exists, skipping copy to userdata: C:\Users\HTPC\AppData\Roaming\XBMC\userdata\addon_data\script.steam.launcher\scr​ipts\LaunchHidden.vbs
05:39:44 T:4676 NOTICE: Previous line repeats 1 times.
05:39:44 T:4676 NOTICE: iStream: Cache Cleanup Service - Sleeping... Sleep for 300 mins
05:39:44 T:3856 NOTICE: script.steam.launcher: script file already exists, skipping copy to userdata: C:\Users\HTPC\AppData\Roaming\XBMC\userdata\addon_data\script.steam.launcher\scr​ipts\SteamLauncher-AHK.ahk
05:39:44 T:3856 NOTICE: Previous line repeats 1 times.
05:39:44 T:3856 NOTICE: script.steam.launcher: script file does not exist, copying to userdata: C:\Users\HTPC\AppData\Roaming\XBMC\userdata\addon_data\script.steam.launcher\scr​ipts\SteamLauncher-AHK.exe
05:39:44 T:3856 NOTICE: Previous line repeats 1 times.
05:39:44 T:3856 NOTICE: script.steam.launcher: ERROR: failed to copy script file to userdata: C:\Users\HTPC\AppData\Roaming\XBMC\userdata\addon_data\script.steam.launcher\scr​ipts\SteamLauncher-AHK.exe
05:39:44 T:1592 NOTICE: Previous line repeats 1 times.
05:39:44 T:1592 NOTICE: iStream: Playlists Code Update Service - Sleeping... Sleep for 300 mins
05:39:44 T:4756 NOTICE: Thread LanguageInvoker start, auto delete: false
(This post was last modified: 2014-08-17 13:16 by easytc.)
find quote
teeedubb Offline
Donor
Posts: 2,495
Joined: Mar 2010
Reputation: 59
Location: Down Under
Post: #422
@easytc Its failing to copy the SteamLauncher-AHK.exe, does the file exist in C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.steam.launcher\resources\script​s\ ? There should be a bunch of other script files in there.

@Raytestrak Restarting lightdm seems kinda heavy handed, why not use a script to kill and restart xbmc? Be careful though, the resume hooks are run as the root user.

Something like this
In resume hook:
Code:
sudo -u xbmc -H bash -c "/home/xbmc/.scripts/xbmc.sh"
Note my username is xbmc

Scriptfile:
Code:
#!/bin/bash
export DISPLAY=:0

killall -9 xbmc.bin
sleep 2
xbmc &

My Add-ons, only available for XBMC:
Steam Launcher|Music Party Mode|Reboot2oOS|Triple J Radio
(This post was last modified: 2014-08-17 13:17 by teeedubb.)
find quote
easytc Offline
Junior Member
Posts: 4
Joined: Aug 2014
Reputation: 0
Location: Tennessee, USA
Post: #423
Thanks for the reply.
Yep. I currently have 3 files in that directory:
LaunchHidden.vbs
steam-launch.sh
SteamLauncher-AHK.ahk

*Edit, just realized you said to look for .exe rather than .ahk. Nope, that file isn't there.
(This post was last modified: 2014-08-17 13:13 by easytc.)
find quote
teeedubb Offline
Donor
Posts: 2,495
Joined: Mar 2010
Reputation: 59
Location: Down Under
Post: #424
Strange.. in C:\Users\HTPC\AppData\Roaming\XBMC\addons\packages\ there should be the steam.launcher-2.0.0.zip file, is the .exe file in there? Try reinstalling the addon, if that doesnt work try manually copying the exe file into the C:\Users\HTPC\AppData\Roaming\XBMC\addons\script.steam.launcher\resources\script​​s\ folder

My Add-ons, only available for XBMC:
Steam Launcher|Music Party Mode|Reboot2oOS|Triple J Radio
find quote
easytc Offline
Junior Member
Posts: 4
Joined: Aug 2014
Reputation: 0
Location: Tennessee, USA
Post: #425
It is fixed!
I did a fresh install of the launcher but the file was still missing from the scripts folder. I manually copied it from the packages folder a you suggested and it now works great! Thank you
find quote
teeedubb Offline
Donor
Posts: 2,495
Joined: Mar 2010
Reputation: 59
Location: Down Under
Post: #426
Cool. Maybe a antivirus is preventing the file from installing? Can you post a log file of installing the addon?

My Add-ons, only available for XBMC:
Steam Launcher|Music Party Mode|Reboot2oOS|Triple J Radio
find quote
easytc Offline
Junior Member
Posts: 4
Joined: Aug 2014
Reputation: 0
Location: Tennessee, USA
Post: #427
I did have to temporarily disable Avast while I manually copied the file.
Quote:06:56:31 T:5904 DEBUG: ------ Window Deinit (FileBrowser.xml) ------
06:56:31 T:5904 DEBUG: CZipManager::GetZipList - Processing zip://C%3a%5cUsers%5cHTPC%5cDownloads%5cscript.steam.launcher-2.0.0.zip/
06:56:31 T:6072 DEBUG: CZipManager::GetZipList - Processing zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/
06:56:31 T:6072 DEBUG: FileManager, processing folder: zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/
06:56:31 T:6072 DEBUG: CZipManager::GetZipList - Processing zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/
06:56:31 T:6072 DEBUG: statdata: 1408263568 new: 1408263568
06:56:31 T:6072 DEBUG: -- zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/script.steam.launcher-1.9.8.zip
06:56:31 T:6072 DEBUG: -- zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/README.txt
06:56:31 T:6072 DEBUG: -- zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/fanart.jpg
06:56:31 T:6072 DEBUG: -- zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/changelog.txt
06:56:31 T:6072 DEBUG: -- zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/addon.xml
06:56:31 T:6072 DEBUG: -- zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/
06:56:31 T:6072 DEBUG: -- zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/icon.png
06:56:31 T:6072 DEBUG: -- zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/default.py
06:56:31 T:6072 DEBUG: -- zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/LICENSE.txt
06:56:31 T:6072 DEBUG: FileManager, processing folder: zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/
06:56:31 T:6072 DEBUG: CZipManager::GetZipList - Processing zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/
06:56:31 T:6072 DEBUG: statdata: 1408263568 new: 1408263568
06:56:31 T:6072 DEBUG: -- zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/settings.xml
06:56:31 T:6072 DEBUG: -- zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/language/
06:56:31 T:6072 DEBUG: -- zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/scripts/
06:56:31 T:6072 DEBUG: FileManager, processing folder: zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/language/
06:56:31 T:6072 DEBUG: CZipManager::GetZipList - Processing zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/language/
06:56:31 T:6072 DEBUG: statdata: 1408263568 new: 1408263568
06:56:31 T:6072 DEBUG: -- zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/language/French/
06:56:31 T:6072 DEBUG: -- zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/language/English/
06:56:31 T:6072 DEBUG: FileManager, processing folder: zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/language/French/
06:56:31 T:6072 DEBUG: CZipManager::GetZipList - Processing zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/language/French/
06:56:31 T:6072 DEBUG: statdata: 1408263568 new: 1408263568
06:56:31 T:6072 DEBUG: -- zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/language/French/strings.xml
06:56:31 T:6072 DEBUG: FileManager, processing folder: zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/language/English/
06:56:31 T:6072 DEBUG: CZipManager::GetZipList - Processing zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/language/English/
06:56:31 T:6072 DEBUG: statdata: 1408263568 new: 1408263568
06:56:31 T:6072 DEBUG: -- zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/language/English/strings.xml
06:56:31 T:6072 DEBUG: FileManager, processing folder: zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/scripts/
06:56:31 T:6072 DEBUG: CZipManager::GetZipList - Processing zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/scripts/
06:56:31 T:6072 DEBUG: statdata: 1408263568 new: 1408263568
06:56:31 T:6072 DEBUG: -- zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/scripts/steam-launch.sh
06:56:31 T:6072 DEBUG: -- zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/scripts/SteamLauncher-AHK.exe
06:56:31 T:6072 DEBUG: -- zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/scripts/SteamLauncher-AHK.ahk
06:56:31 T:6072 DEBUG: -- zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/scripts/LaunchHidden.vbs
06:56:31 T:6072 DEBUG: FileManager: create folder special://home/addons/script.steam.launcher
06:56:31 T:6072 DEBUG: FileManager: copy zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/script.steam.launcher-1.9.8.zip -> special://home/addons/script.steam.launcher/script.steam.launcher-1.9.8.zip
06:56:31 T:6072 DEBUG: FileManager: copy zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/README.txt -> special://home/addons/script.steam.launcher/README.txt
06:56:31 T:6072 DEBUG: FileManager: copy zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/fanart.jpg -> special://home/addons/script.steam.launcher/fanart.jpg
06:56:31 T:6072 DEBUG: FileManager: copy zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/changelog.txt -> special://home/addons/script.steam.launcher/changelog.txt
06:56:31 T:6072 DEBUG: FileManager: copy zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/addon.xml -> special://home/addons/script.steam.launcher/addon.xml
06:56:31 T:6072 DEBUG: FileManager: create folder special://home/addons/script.steam.launcher/resources
06:56:31 T:6072 DEBUG: FileManager: copy zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/settings.xml -> special://home/addons/script.steam.launcher/resources/settings.xml
06:56:31 T:6072 DEBUG: FileManager: create folder special://home/addons/script.steam.launcher/resources/language
06:56:31 T:6072 DEBUG: FileManager: create folder special://home/addons/script.steam.launcher/resources/language/French
06:56:31 T:6072 DEBUG: FileManager: copy zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/language/French/strings.xml -> special://home/addons/script.steam.launcher/resources/language/French/strings.xml
06:56:31 T:6072 DEBUG: FileManager: create folder special://home/addons/script.steam.launcher/resources/language/English
06:56:31 T:6072 DEBUG: FileManager: copy zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/language/English/strings.xml -> special://home/addons/script.steam.launcher/resources/language/English/strings.xml
06:56:31 T:6072 DEBUG: FileManager: create folder special://home/addons/script.steam.launcher/resources/scripts
06:56:31 T:6072 DEBUG: FileManager: copy zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/scripts/steam-launch.sh -> special://home/addons/script.steam.launcher/resources/scripts/steam-launch.sh
06:56:31 T:6072 DEBUG: FileManager: copy zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/scripts/SteamLauncher-AHK.exe -> special://home/addons/script.steam.launcher/resources/scripts/SteamLauncher-AHK.exe
06:56:31 T:6072 DEBUG: FileManager: copy zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/scripts/SteamLauncher-AHK.ahk -> special://home/addons/script.steam.launcher/resources/scripts/SteamLauncher-AHK.ahk
06:56:31 T:6072 DEBUG: FileManager: copy zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/resources/scripts/LaunchHidden.vbs -> special://home/addons/script.steam.launcher/resources/scripts/LaunchHidden.vbs
06:56:31 T:6072 DEBUG: FileManager: copy zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/icon.png -> special://home/addons/script.steam.launcher/icon.png
06:56:31 T:6072 DEBUG: FileManager: copy zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/default.py -> special://home/addons/script.steam.launcher/default.py
06:56:31 T:6072 DEBUG: FileManager: copy zip://special%3a%2f%2fhome%2faddons%2fpackages%2fscript.steam.launcher-2.0.0.zip/script.steam.launcher/LICENSE.txt -> special://home/addons/script.steam.launcher/LICENSE.txt
06:56:31 T:6072 DEBUG: ADDON: cpluff: 'Plug-in script.steam.launcher has been installed.'
06:56:31 T:6072 DEBUG: ADDON: cpluff: 'Not all directories were successfully scanned.'
find quote
teeedubb Offline
Donor
Posts: 2,495
Joined: Mar 2010
Reputation: 59
Location: Down Under
Post: #428
Thanks. Everything looks ok in the log, Avast must have done something to the file. You might be able to disable scanning on the folders or whitelist the file, because the AV will prevent updates of the script file.

My Add-ons, only available for XBMC:
Steam Launcher|Music Party Mode|Reboot2oOS|Triple J Radio
find quote
Raytestrak Offline
Donor
Posts: 319
Joined: Sep 2011
Reputation: 3
Post: #429
(2014-08-17 13:05)teeedubb Wrote:  @Raytestrak Restarting lightdm seems kinda heavy handed, why not use a script to kill and restart xbmc? Be careful though, the resume hooks are run as the root user.

Thanks Teeedubb, this is much better. I used killall on my OpenElec setup, but OpenElec automatically restarts xbmc. "service lightdm restart" seemed to be the way to restart xbmc on xmbcbuntu, according to the internet. Hadn't thought of running it via a script like this.

OpenElec on an Intel NUC (DC3217IYE). Onkyo NR-717. Canton Movie CD-1000. LG 42LM760S

If it ain't broke: break it, fix it, repeat
(This post was last modified: 2014-08-17 22:00 by Raytestrak.)
find quote
cbtegner Offline
Junior Member
Posts: 4
Joined: Feb 2013
Reputation: 0
Post: #430
I used a similar script to boot up Hyperspin (which had XBMC shut down) then on Exit of Hyperspin XBMC loads up) - Good stuff - See my XBMC Hyperspin demo here https://www.youtube.com/watch?v=vlKFyyk7EWs

I am going to make another one since its been more than a year and a couple XBMC's later - well - I cant wait to integrate Steam with XBMC - Thank you for this -

(The video I uploaded was a demo on a 55 inch tv but I used two XLR condenser mics sitting in front of speakers in isolated room to give it the living room effect - Check it out and tell me what you think) I am open to any ideas

Thanks for giving me Steam as a new exciting addition!
find quote
bakito Offline
Fan
Posts: 545
Joined: Jun 2011
Reputation: 2
Location: france
Post: #431
Could you share your hyperspin script?
For testing purpose as I already launch it my way but you never now!Smile
Thanks!
( escuse me for the off topic question!)
find quote
Post Reply