Steam Deck

Steam Deck

The Steam Deck as favorite game
  • Breakpoint in global.js in the onsuccess promise of the GetOwnedApps API call
  • Execute
    CGameSelectorOwnedGames.s_rgOwnedGames = [ { "appid": 1675200, "name": "Steam Deck", "icon": "https://cdn.akamai.steamstatic.com/steamcommunity/public/images/apps/1675200/21a29a1fa319b6f186ff91a647bea354a09fe51e.jpg", "logo": "https://cdn.akamai.steamstatic.com/steam/apps/1675200/capsule_184x69.jpg" } ]
  • Resume, select Steam Deck and save
A tailor-made profile
Last edited by class101 [OLED deck]; Mar 15, 2023 @ 12:56pm
< >
Showing 1-5 of 5 comments
Man's Best Friend Mar 15, 2023 @ 2:46pm 
This is like step by step instructions that start on step 500. Gonna have to rewind quite a bit before this makes any sense to people who aren't actual programmers.
d[-_-]b Mar 15, 2023 @ 4:19pm 
so youre inserting a game entry called "Steam Deck" with the steam deck logo/icon, that links to the app id 1675200 (which is the steam deck store page) and adding it to your favourites list ?

For what purpose ? seems overly complicated for a normal user and pointless overall.... unless i missed the point of the post of course.
SillyWalk Mar 15, 2023 @ 5:36pm 
Originally posted by #/DragonKeeper:
so youre inserting a game entry called "Steam Deck" with the steam deck logo/icon, that links to the app id 1675200 (which is the steam deck store page) and adding it to your favourites list ?

For what purpose ? seems overly complicated for a normal user and pointless overall.... unless i missed the point of the post of course.

Check his profile, it's a trick to be able to select the deck as your favorite game for the "favorite game" showcase on your profile, since showcases don't allow you to set everything you want in them.
d[-_-]b Mar 15, 2023 @ 5:38pm 
Originally posted by SillyWalk:
Originally posted by #/DragonKeeper:
so youre inserting a game entry called "Steam Deck" with the steam deck logo/icon, that links to the app id 1675200 (which is the steam deck store page) and adding it to your favourites list ?

For what purpose ? seems overly complicated for a normal user and pointless overall.... unless i missed the point of the post of course.

Check his profile, it's a trick to be able to select the deck as your favorite game for the "favorite game" showcase on your profile, since showcases don't allow you to set everything you want in them.
ah right okay. OP could have been more clearer in their post.
Last edited by d[-_-]b; Mar 15, 2023 @ 5:39pm
class101 [OLED deck] Mar 20, 2023 @ 1:57pm 
I left the minimum because I posted for me and I didn't think it would attract interest (it's well known to customize Steam by circumventing the lack of the interface)

Here is a more complete detail (with Chrome but possible with any modern browser)
  • Navigate to your profile, click Edit Profile, click Featured Showcase
  • Select the Favorite Game showcase
  • Open the browser Developer Tools Ctrl+Shift+i
  • In Developer Tools > Source Tab
  • In Developer Tools > Page Sub-Tab
  • Open the node > Top > community.cloudflare.steamstatic.com > public > javascript
  • Double click the file global.js?v=number
  • Search the line "CGameSelectorOwnedGames.NormalizeGameNames( CGameSelectorOwnedGames.s_rgOwnedGames );"
  • Left click on the line number of this line, you have just set a breakpoint
  • You have now to trigger the breakpoint
  • click the Edit button of the Favorite Game showcase
  • Chrome will tell its Pause because a Breakpoint has been reached
  • In Developer Tools > Console Tab
  • Paste and execute the code shown in OP
  • In Developer Tools > Source Tab
  • Click the button on right Resume script execution
  • In the showcase search box, type S, select Steam Deck and save your profile

It's not programming, nor hacking, it's web development. The GetOwnedAppId call does not really returns everything you own, that's how you can patch it to select the desired APPID.

To note that you do not need to know the http links, I included them for demonstration but only the APPID matters.

If you do the same with APPID 7, your favorite game will be the Steam Client but not icons exists on the servers for it.
Last edited by class101 [OLED deck]; Mar 20, 2023 @ 2:11pm
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Mar 15, 2023 @ 12:11pm
Posts: 5