BrianLima / UWPHook

🔗 Add your Windows Store or UWP games to Steam
https://brianlima.github.io/UWPHook/
MIT License
1.5k stars 116 forks source link

NVIDIA Shield Streaming Support #85

Open Sectorbob opened 2 years ago

Sectorbob commented 2 years ago

Implement support for exporting Windows Games to NVIDIA GeForce Experience for Shield Streaming. https://github.com/BrianLima/UWPHook/issues/15

Sectorbob commented 2 years ago

The code functions for my environment (Windows 10). It is always exporting to both Steam and Shield at the moment, which I know is not desirable. I wasn't sure where to place a toggle for the Shield Export, but I'll continue to tinker.

BrianLima commented 2 years ago

Hey, this looks good, i can not test this in a live environment, since i own an AMD GPU and do not use the Geforce Experience app, so a video or something of it working would help greatly.

For games to show up on the Nvidia Geforce app, they only need an lnk file in the path required?

Initially i thought about adding a toggle to the settings page, but since this only affects the export process, maybe adding a toggle to the main page, with the Steam or Nvidia logo, could do the trick, allowing the user to switch each time they need to. This would make it somewhat easy to add some other launchers in the future, like the AMD Radeon Adrenaline, or something else.

Sectorbob commented 2 years ago

Hey, this looks good, i can not test this in a live environment, since i own an AMD GPU and do not use the Geforce Experience app, so a video or something of it working would help greatly.

For games to show up on the Nvidia Geforce app, they only need an lnk file in the path required?

Initially i thought about adding a toggle to the settings page, but since this only affects the export process, maybe adding a toggle to the main page, with the Steam or Nvidia logo, could do the trick, allowing the user to switch each time they need to. This would make it somewhat easy to add some other launchers in the future, like the AMD Radeon Adrenaline, or something else.

Import into NVIDIA Shield takes a foo.lnk file + ShieldAssets/foo/box-art.png file to import. If the png is missing, The NVIDIA app will delete the lnk file. I added the default NVIDIA box art to the project resources.

I’ll take a crack at adding the toggle buttons later this week! Thanks for the feedback @BrianLima

cemerson commented 1 year ago

+1 for this. My Steam Remote play has recently stopped working for my NVidia Shield - so it would be epic if the Geforce NOW support was added.