steam-presence
steam-presence copied to clipboard
Windows startup
will be testing this myself soon-ish
okay i haven't had the time to setup a windows VM in order to actually test this, @Radiicall :pleading_face:??
okay i haven't had the time to setup a windows VM in order to actually test this, @Radiicall :pleading_face:??
Dont have one on hand
any updates?
any updates?
i haven't had the time to test it out yet, if you're down to try it, please do! and tell me if there's any issues
any updates?
i haven't had the time to test it out yet, if you're down to try it, please do! and tell me if there's any issues
,, forgive my ignorance, as I'm not too familiar with github, but I think I've made a decent amount of progress. I've just come along this error when trying to run the main.py
file
and here is what happens when i put
n
well, the reason if fails if you do "n" is that it's just missing some code the program needed
i'm unsure why it fails when it tries to install stuff, though if you open the script in notepad, and replace all occurances of python3
with python
it should work?
I'm about to lay down for a while but I will leave you with the results
steam API key seems to be invalid, check config.json and make sure it matches your actual key https://steamcommunity.com/dev/apikey
it works ! ! thank you for the assistance
and i assume it properly launches steam presence whenever you reset the device?
I had an issue with it launching before discord did so there may need to be a delay/timer set for it, or at the very least a option. I assume the cmd has to stay open while in use, correct?
OOH, better idea - allow it to retry looking for a connection
cmd has to stay open yes, i'm a bit unsure how discord handles RPC connections on windows but it should be able to retry connecting?
I'll try restarting it again, I might've clicked the in the cmd pre-emptively as it already showed Press any key to continue
or something similar
no luck
my discord is setup to launch on system restart but it doesn't for some odd reason . . ? even then cmd doesn't retry for a connection though
,, I understand it's been a hot minute since I've kept you updated but is there a chance of reviving this? I have it working still under the windows-run.bat
which is just placed inside the steam-presence-<insert release>
directory. I think the only issue would be if the bat ran before discord launched locking it to a 'Press any key to continue' screen IIRC, in which case I assume there might be a way to run until it finds a connection? but I'm not really sure
yeah sorry i didn't mean to close this, i just deleted the dev branch, the crashing before discord thing should be fixable on my end - i'm currently rewriting a lot of the code which way require modding your installer script a bit, so i'll wait to merge it until i'm done with that, should only take a couple weeks
To simplify this why not change powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%startupLocation%\SteamRichPresence.lnk');$s.TargetPath='%CD%\windows-run.bat';$s.Save()"
in installer.bat
to
powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%startupLocation%\SteamRichPresence.lnk');$s.TargetPath='%CD%\main.py';$s.Save()"
This removes the need for two scripts and launches main.py directly.
https://github.com/JustTemmie/steam-presence/commit/5d567f5ce9ffd29c6d92bb0ee41553e114068d25
,, I understand it's been a hot minute since I've kept you updated but is there a chance of reviving this? I have it working still under the
windows-run.bat
which is just placed inside thesteam-presence-<insert release>
directory. I think the only issue would be if the bat ran before discord launched locking it to a 'Press any key to continue' screen IIRC, in which case I assume there might be a way to run until it finds a connection? but I'm not really sure
As long as you don't run a game before Discord launches, this shouldn't be an issue.
this installer will likely need updating when i finish the fabled rewrite:tm: but it's merged for now