JosefNemec / Playnite

Video game library manager with support for wide range of 3rd party libraries and game emulation support, providing one unified interface for your games.
https://playnite.link
MIT License
9.41k stars 504 forks source link

Option to Automatically Dockerize Games #2374

Closed L1lith closed 3 years ago

L1lith commented 3 years ago

Integration features If a feature request is related to library integrations, use separate extensions repository to file a request.

I don't know if this would be considered an integration or not.

Check for existing issue Please use issue search in the repository if your feature request is something really obvious there's a high change it was already requested.

I've searched and couldn't find any matching issues

Describe the solution you'd like A clear and concise description of what you want to happen.

I have been wishing there was more to done to address the lack of security when it comes to desktop applications. I think Docker does this really well. It would be nice if there was a feature that users could enable where playnite would automatically create and run each application in their own docker environment. There might need to be some work done to say integrate the apps with steam, but honestly a lot of apps could just as easily run offline (this is better for privacy anyways, and the dockerization could be disabled on an app-to-app basis)

Many singleplayer games don't need expansive FS access and networking access (where they could be subject to fingerprinting or other more nefarious things if the developer wished)

Another way to aid in docker compatibility would allow people to customize the Dockerfile that launches the app or even have a managed repo of Dockerfiles for common apps.

Screenshots If applicable, add screenshots to help explain requested changes.

L1lith commented 3 years ago

To add some more evidence of where I think this could be useful, I was recently playing DOOM Eternal. This game provides no in-game offline mode, and the only way to play it offline is to physically disconnect your internet or run the entirety of steam in offline mode. It forces you to sign in with a bethesda account and link it to your steam.

Playnite could force the game to run in a docker environment with no access to steam and no access to the internet (I tried shutting down doom through my firewall and it didn't seem to work, I believe it was accessing the internet through the steam API though I could have misconfigured something). This would be nice so that you would have to turn steam into offline mode just to play the game without signing in

Watch more about the issue here

JosefNemec commented 3 years ago

I personally think this is very niche and specific feature and should be instead made as a 3rd party extension.

JosefNemec commented 3 years ago

Closing based on my previous comment, this would quite a lot of effort to implement for something that majority of people would not use. Maybe somebody will make this as an extension.