tappi287 / openvr_fsr_app

Management Gui for OpenVR FSR PlugIn
MIT License
356 stars 10 forks source link

Viveport support #36

Closed drowhunter closed 2 years ago

drowhunter commented 2 years ago

Would be nice if you could add support for multiple libraries.

Rather than specifically supporting Viveport. You could add the ability to have the user choose to add more folders to be scanned.

This way I could add my Viveport folder and my Itch.io folder etc..

tappi287 commented 2 years ago

You can add custom "User Apps" with the plus sign in the top left menu. I'll have a look into scanning arbitary directories

drowhunter commented 2 years ago

Yes this would be great

tappi287 commented 2 years ago

Do these Viveport/Itch.io apps manage their own library folder like eg. EA's Origin, Uplay etc. and do you know if and where these locations are stored in the Windows registry? Typically something like HKCU\Software\EvilCorp\SomeKey or HKLocalMachine\ ...

tappi287 commented 2 years ago

For now you can manually add it as a custom lib in the latest release.

drowhunter commented 2 years ago

I searched and could not find any registry entry for viveport app location.

However I made this library a while back to scan my viveport folder for applications. Feel free to use it if it helps.

https://github.com/drowhunter/VivePortLibraryManager

returns an array of games found with their information. (I just ran it and it still works 👍🏾 )

 {
    "Name": "Traffic Cop",
    "Url": "viveport.desktop://runapp/7a4a9c49-ede7-4672-8dfe-a3d7b2f8c755",
    "Thumbnail": "F:\\Viveport\\ViveApps\\7a4a9c\\Thumbnail-square.jpg",
    "AppKey": "vive.htc.7a4a9c49-ede7-4672-8dfe-a3d7b2f8c755",
    "LaunchType": "url",
    "Arguments": "-compositor",
    "ExePath": "F:\\Viveport\\ViveApps\\7a4a9c\\Traffic Cop.exe"
  }
drowhunter commented 2 years ago

Heres a sample of the json manifest file that is in each game folder.

app.vrmanifest_sample.zip

Unfortunately you cannot get the name of the game from the folder. as the folders look like this

image

tappi287 commented 2 years ago

Thanks for the info! Hmm, I can not implement that then. If there is no way to auto detect the initial path and even if.. maintaining such an edge case will not be in my time budget.