-
-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Option: Add games as Non-Steam Game #1331
Conversation
first poc of add none steam game function
This is very nitpicky and I'm sorry, but it's "Non-Steam game", not "None-Steam game" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will give it a test on Win and Mac in a bit (provided Steam runs on my VMs)
Wrote tests for backend functions
@arielj got it to work. Images are now blurred at the side. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty good stuff! ⚔️
@Nocccer I'm trying this out on Ubuntu 22.04, with Steam installed through .deb (because the Flatpak version warns about lack of After some investigation, it seems that the correct dir is:
Which I think Heroic isn't looking on. |
You can set the folder in general settings > others if i remember correctly. But add to steam should complain if no game could be added (steam folder is not available). Btw did you restart steam? |
Ok... I'm just not sure what I should write there. I tried |
Ok, the issue is, no matter what I set in the Steam path, it always revert to how it was before (i.e. my setting does not apply). |
Editing the config.json manually worked for me. I wrote: /home/felipecrs/.steam/debian-installation |
ok will fix this. But actually i think the default path is correct, because on Pop_OS! it is also this path |
But I would advise you to check this folder as well. It is probably the most common folder where Steam could be found, considering that Ubuntu is one of the main used distros over there. |
For me this is what was in the config.json: /home/felipecrs/.var/app/com.valvesoftware.Steam/.steam/steam Could it be because I previously had the Steam Flatpak installed? Perhaps the Steam install dir should be re-evaluated on every start? |
POP_OS is based on ubuntu. And if you press on debian-installation it is just a shortcut to |
delete steam flatpak if you don't want to use it. Else add-to-steam will add it to steam flatpak. |
For me it does not seem to be a shortcut:
I think PopOS packages their own Steam deb. |
Of course I did it... still, Heroic was looking on .var. |
Please first delete steam-flatpak and his folders. There are folders in .var left still for steam flatpak. |
Got it. I didn't delete the folder indeed. |
Note the default path should work. Because i assume Ubuntu - steam is different then Pop_OS - steam installation |
Ok, I confirmed that But I had to write it manually in the config.json, even after deleting the Flatpak folder in .var. |
Btw better create a github issue instead writing here on a closed pr. |
This PR implements the feature to add epic/gog games as non-steam games to steam.
It uses the
--no-gui
parameter and the protocol which heroic provides.To adapt steams shortcuts.vdf
steam-shortcut-editor
thirdparty library, was used.steam-shortcut-editor
Known Issues:
--no-sandbox
flag is added to all shortcuts to get around this. Can be maybe added optional if system and steam glibc does not matchen_US
. Launch will fail if the epic username uses special characters like (ö, ü, ä, ...). No Workaround yet.Use the following Checklist if you have changed something on the Backend or Frontend: