-
-
Notifications
You must be signed in to change notification settings - Fork 480
Launching games creates ~/.wine prefix #178
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
Comments
Looks similar to #120 |
The fix prevents Lutris from working at all, for me: |
I see. I think I forgot to test wine lutris before release it. |
But in this it is just for new prefixes, right? If the prefix exists that line should not run. So you can at least create the prefix with wine and change it to use lutris after that. |
I figure out a better logic now. Is on the main branch but I won't release a new fix unless other bugs appear. |
No, this was with an existing prefix. On the main branch, the correct executable seems to get run now (~/.local/share/lutris/runners/wine/lutris-6.0-x86_64/bin/wine64). That said, now games don't run correctly anymore, if I use any non-default prefix (wine or lutris). For example, World of Goo shows "Could not find game data", Enter the Gungeon shows "There should be 'EtG_Data' folder next to the executable" (most games show nothing and just quit immediately). So I assume all exe's get run from the wrong directory? |
Weird. So you compiled from the main branch and had these issues? I don't know why this is not happening to me because before every release I test install, play, uninstall, proton, wine, etc. Basic stuff. Heroic basically checks if the prefix exists, if not, creates a new one using the wineboot script and the winetricks sandbox command to keep the home folders in a a sandbox. After that, uses the install dxvk using the setup script that comes with it. At last, calls legendary with the arguments to launch the game. Not being able to find the exe should not be something with heroic since is legendary that runs the game. But if it runs from the terminal, so and don't really know what's is going on. 🤔 So unless something weird is happening when checking |
When I launch a game that has a custom prefix set, and ~/.wine does not exist, ~/.wine gets initialized before the game launches. The game however saves to the right prefix.
I assume that somewhere in the launching games process, wine gets called without the WINEPREFIX environment variable set.
This does not occur launching winecfg or winetricks.
The text was updated successfully, but these errors were encountered: