Posts: 945
Joined: Oct 2011
Reputation:
64
gibxxi
Posting Freak
Posts: 945
2018-09-16, 02:39
(This post was last modified: 2018-09-16, 02:55 by gibxxi.)
I've given this a test (albeit very quick), and would like to say very good work. It enhances the functionality provided by Teeedub's Steam add-on, but there is a problem with this version, if your sound device is running in WASAPI mode with Kodi.
If the above is true, Kodi needs to be killed, prior to a game launching. Because in WASAPI mode, by default Kodi will hog control of the primary sound device (Exclusive Mode). Any activity within kodi will "re-activate" it's control of that sound device, even if a 1-minute timeout is specified. This means that if Kodi is still running in the background, when the game launches, it won't be able to access the sound device, and will simply hang, waiting for the sound device to become available. I tried this on two of my favourite games (CoH and CoH 2).
Also, since Kodi runs under DirectX (AFAIK) it will rob the launched game of resources.
I would assume (Although I'm not going to mess with my sound settings in Kodi, to clarify it) that running Kodi in DirectSound mode would probably work, but anything played in DirectSound on Kodi sounds hideous compared to WASAPI. An option (and an associated timeout) needs to be present to kill Kodi to launch either Steam, or the game via direct-link within your add-on, then re-launch Kodi once the game (or Steam) exits, like Teeedub's add-on does. Otherwise, disabling the option in sound settings to allow "Applications to take exclusive control of this device" for the sound card / chip will be necessary. However, I have experienced instability with Kodi, when this option is set in prior versions.
I like the add-on, but as it stands, it's not usable for me.
Posts: 3
Joined: Sep 2018
Reputation:
0
Thanks for your test.
I was not aware of the sound problem since I have disabled exclusive mode by default. I will look into it but closing Kodi means that I need a child process handling the game launch which would require an extra binary or a script (with the fitting interpreter).
Posts: 945
Joined: Oct 2011
Reputation:
64
gibxxi
Posting Freak
Posts: 945
The need for exclusive mode might be unique to my specific setup, but I get a lot of instability which pretty much disappears with exclusive mode on. At the end of the day, my HTPC is gaming-capable, but it's a bonus feature. The primary focus of the system is media consumption. I'll try running it on one of my other systems with exclusive mode off and see how that pans out.
Posts: 19
Joined: Sep 2016
Reputation:
0
dmakk
Junior Member
Posts: 19
I like the idea of this addon. I've been using advanced emulator launcher on Windows 10, and it's mostly met my needs, though it requires a lot of maintenance when adding games. I have a couple of questions about the scope of this project. Will this remain Steam only, or do you envision this as a front end for older retail games, Origin, Uplay, Battle.net, GOG, Windows Store, etc.? I see you pull Steam appid's to launch games, and at least 4 of those 5 also have game id's that can launch games. My setup uses batch files to launch those game IDs. Do you plan to allow custom art in the future?
Posts: 3
Joined: Sep 2018
Reputation:
0
To be honest this was a "lazy Sunday" project since my HTPC setup is not ready yet but I was looking into adding my Steam library to Kodi. The current focus is Steam, especially adding the capability for In-Home Streaming since my setup will likely not be able to run anything more than some smaller indie titles.
I will also look into the problems reported by gibxxi when I get around updating this Add-on.
I don't have any plans on adding "generic game support" but I haven't used Advances Emulation Launcher yet (as I said my HTPC is not ready). If it is to inconvenient I might create my own solution.
Posts: 9
Joined: Aug 2019
Reputation:
0
Literally been searching days for something like this, everything else has been overly complicated, with very little payoff, and although this isn't 100% what I've been looking for, it does alot more for me than the rest, with alot less effort and headache. THANK YOU