SteamVR

SteamVR

SteamVR Workshop
Customize your SteamVR experience by finding new backgrounds, 3D environments, controllers and base station models.
Learn More
Gibibit 22 Mar, 2020 @ 12:05pm
Loading the room owner's Steam library, possible using the VScript API or Panorama?
Hello,

I'm interested in building a SteamVR Home scene where you can "physically" browse through and arrange your games. To achieve this, I need to be able to load the current Steam user's library and accompanying data.

The API calls closest to this seem to be the Panorama QuickPanels, but those only load recent games in a fixed Panel view. Is there any direct way to load the user's library through an API call without going into Steam OAuth shenanigans? I don't want the user to have to relog from a browser interface which is quite undesirable from VR.

Maybe its possible to call the "regular" Steam API from VScript in some way.

Note: I don't have any experience working with Source or creating SteamVR Home workshop items, but wanted to get insight from someone who does before I truly dive into the mud. Any help is appreciated!

If I get it running at any point in time I'll FOSS it and post a link here.

For reference, I mostly ran through the following pages:
https://developer.valvesoftware.com/wiki/SteamVR/Environments/Scripting/API
https://developer.valvesoftware.com/wiki/SteamVR/Environments/Panorama_Javascript_API
https://developer.valvesoftware.com/wiki/SteamVR/Environments/QuickPanels
Last edited by Gibibit; 22 Mar, 2020 @ 12:10pm
< >
Showing 1-4 of 4 comments
Rectus 13 22 Mar, 2020 @ 1:12pm 
There doesn't seem to be any way to do this (unless it's possible to somehow pull the data out of quick panels or trophies). I've been asking for it since SteamVR Home came out, but Valve doesn't seem interested.

Gibibit 22 Mar, 2020 @ 1:32pm 
Dangit! Nice to have people looking for the same thing at least. :\

I guess the next best thing would be to export your library to a file on the system (there's plenty of library management tools so shouldn't be too hard) and then using that to load in the app ids and corresponding images. But a quick look into the VScript/Panorama tells me you can't load anything that's not part of a UGC package.

Since you've asked for the feature before, are there any previous threads on this issue that are useful to look into? I couldn't find any relevant hits with an earlier search, probably using the wrong terms.
Rectus 13 22 Mar, 2020 @ 1:36pm 
Someone actually made an external tool already, that can do just what you're planning. https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1620667283
Gibibit 22 Mar, 2020 @ 1:50pm 
Nifty! Thanks a bunch, I'll look into it.
< >
Showing 1-4 of 4 comments
Per page: 1530 50