Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: per-game wine prefix #3085

Open
sparr opened this issue Oct 9, 2024 · 0 comments
Open

Feature: per-game wine prefix #3085

sparr opened this issue Oct 9, 2024 · 0 comments

Comments

@sparr
Copy link

sparr commented Oct 9, 2024

With wine installed, the Linux itch client can install and run Windows games. I believe this is done by butler providing a Host that wraps the game binary in calling the wine binary. Doing just this results in every game sharing the default ~/.wine WINEPREFIX. I am proposing an option that will cause each game to get its own wine prefix.

This would probably need to be implemented in this repo to provide the option to users and pass it to butler, and in butler to handle that option and produce an appropriate Host.Wrapper.Env. I'm not sure if any changes to butlerd would be required.

I have some ideas for where the prefixes could go:

  • ~/.wine/$GAMENAME
  • $LIBRARYDIR/$GAMENAME/.wine
  • $LIBRARYDIR/WINEPREFIXES/$GAMENAME

I'm up for implementing this if it would get merged and with a little guidance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant