Valve add-to-steam app

How to use valves add to steam app to add a non steam settings app Required for hhd-ui
37 Replies
antheas
antheas•8mo ago
anyone? @Kyle Gospo maybe, you know how that app works? i just finished porting the ui to steam with the correct scaling that was something controllers are still TBD
Kyle Gospo
Kyle Gospo•8mo ago
Should just take in the path to what you want added
antheas
antheas•8mo ago
? how do i add artwork
Kyle Gospo
Kyle Gospo•8mo ago
sec
Exec=/usr/bin/waydroid-launcher first-launch
X-Steam-Library-Capsule=/usr/share/applications/Waydroid/capsule.png
X-Steam-Library-Hero=/usr/share/applications/Waydroid/hero.png
X-Steam-Library-Logo=/usr/share/applications/Waydroid/logo.png
X-Steam-Library-StoreCapsule=/usr/share/applications/Waydroid/store-logo.png\nX-Steam-Controller-Template=Desktop
Exec=/usr/bin/waydroid-launcher first-launch
X-Steam-Library-Capsule=/usr/share/applications/Waydroid/capsule.png
X-Steam-Library-Hero=/usr/share/applications/Waydroid/hero.png
X-Steam-Library-Logo=/usr/share/applications/Waydroid/logo.png
X-Steam-Library-StoreCapsule=/usr/share/applications/Waydroid/store-logo.png\nX-Steam-Controller-Template=Desktop
make a .desktop file, add these lines to it and then point this command to said desktop file
antheas
antheas•8mo ago
antheas
antheas•8mo ago
look at this weirdness im dealing with now oh great its just a shortcut? thats it? can you point me to the waydroid images to get the sizes? not quite there yet
Kyle Gospo
Kyle Gospo•8mo ago
Yep, they're in the Bazzite repo Give me a few
antheas
antheas•8mo ago
sure sure, so i will package it normally then someone just needs to run that command
Kyle Gospo
Kyle Gospo•8mo ago
GitHub
bazzite/system_files/desktop/shared/usr/share/applications/Waydroid...
Bazzite is an OCI image that serves as an alternative operating system for the Steam Deck, and a ready-to-game SteamOS-like for desktop computers, living room home theater PCs, and numerous other h...
antheas
antheas•8mo ago
u want bazzite themed? variants how do the hero and logo interract?
Kyle Gospo
Kyle Gospo•8mo ago
logo placed over hero default is left side
antheas
antheas•8mo ago
oh yeah they are not the same size
[Desktop Entry]
Name=Handheld Daemon
GenericName=Controller Settings
Comment="Configurator interface for Handheld Daemon."
Exec=hhd-ui
Terminal=false
Type=Application
Icon=hhd-ui
Categories=Gaming;
X-Steam-Library-Capsule=/usr/share/applications/hhd-ui/library_capsule.png
X-Steam-Library-Hero=/usr/share/applications/hhd-ui/library_hero.png
X-Steam-Library-Logo=/usr/share/applications/hhd-ui/library_logo.png
X-Steam-Library-StoreCapsule=/usr/share/applications/hhd-ui/main_capsule.png
X-Steam-Controller-Template=Desktop
[Desktop Entry]
Name=Handheld Daemon
GenericName=Controller Settings
Comment="Configurator interface for Handheld Daemon."
Exec=hhd-ui
Terminal=false
Type=Application
Icon=hhd-ui
Categories=Gaming;
X-Steam-Library-Capsule=/usr/share/applications/hhd-ui/library_capsule.png
X-Steam-Library-Hero=/usr/share/applications/hhd-ui/library_hero.png
X-Steam-Library-Logo=/usr/share/applications/hhd-ui/library_logo.png
X-Steam-Library-StoreCapsule=/usr/share/applications/hhd-ui/main_capsule.png
X-Steam-Controller-Template=Desktop
this is the point i reached 0 icons
antheas
antheas•8mo ago
this is the only result on google, good stuff
No description
Aru
Aru•8mo ago
Look into steam rom manager, it can inject roms + custom art into steam.
antheas
antheas•8mo ago
does waydroid look properly on bazzite? im looking at rom manager seems to use a different way
Aru
Aru•8mo ago
I manually add waydroid to steam, and manually add artwork afterwards
antheas
antheas•8mo ago
should be done automatically @Kyle Gospo no?
Aru
Aru•8mo ago
🤔 not automatic for me then
Kyle Gospo
Kyle Gospo•8mo ago
add-to-steam is a valve script and is supposed to do it if they broke it, it just means it'll work later sadly
antheas
antheas•8mo ago
i read the script it just calls steam with a special URI
Kyle Gospo
Kyle Gospo•8mo ago
yeah, and if you check valve 's own nested .desktop file that's where those lines come from
antheas
antheas•8mo ago
any special requirement for the images? maybe the sizing isnt right you did a 1-1 on waydroid?
Kyle Gospo
Kyle Gospo•8mo ago
the example waydroid ones are 1:1 with valve's nested pics
antheas
antheas•8mo ago
should have copied those instead lmao i used valve's guidelines how is Valves nested shortcut added?
Kyle Gospo
Kyle Gospo•8mo ago
They use the same add-to-steam func it's part of steamdeck-kde-presets
antheas
antheas•8mo ago
no mention of add-to-steam for steamos nested desktop in that repo
No description
antheas
antheas•8mo ago
is it added by default? neither on bazzite repo
Kyle Gospo
Kyle Gospo•8mo ago
yes, hold on may have the package wrong
Kyle Gospo
Kyle Gospo•8mo ago
It's there steamos-add-to-steam
Kyle Gospo
Kyle Gospo•8mo ago
along with the desktop file w/ extra params for steam art
antheas
antheas•8mo ago
yeah but the command that adds it is not there the script to add it and the desktop shortcuts and the images are there but not the command that adds it or how it bootstraps it
Kyle Gospo
Kyle Gospo•8mo ago
oh, that I doin't have we just used yafti no idea how they're executing it on first-boot
antheas
antheas•8mo ago
and your yafti config is where, im going to look at it
Kyle Gospo
Kyle Gospo•8mo ago
we don't do it there anymore either at this time it's up to the end user did that because of various issues w/ dbus in nested desktop easier to not advertise and let advanced users play
antheas
antheas•8mo ago
hmmmm gonna retry later after one of you verifies that its possible because steam loads no icons for me when I add the desktop shortcut
Want results from more Discord servers?
Add your server