RobLoach / net.lutris.Lutris

Pull requests for new applications to be added
https://flathub.org
2 stars 0 forks source link

Wine Game Saves Are Not Persistent #49

Closed Saroufim closed 5 years ago

Saroufim commented 5 years ago

Many wine games place their saves in ~/Documents which Lutris does not have default access to. Using the "Sandbox" feature to create a new user directory inside the wineprefix is somehow buggy as games do not detect their own saves. Two possible solutions would be:

gasinvein commented 5 years ago

What's that sandbox feature?

Saroufim commented 5 years ago

It's a feature in Lutris that confines the wine app inside the a folder (usually the wine prefix it runs from but the user can change that) and thus a new Home (with documents, music, downloads, and the rest of the subfolders) is created for that specific wine app isolating it from ~/home.

gasinvein commented 5 years ago

Is there a default for this folder location?

Saroufim commented 5 years ago

Yes. It's usually under drive_c/users/ inside the prefix the game runs in.

gasinvein commented 5 years ago

So is it equivalent to unticking "Link to" options in wine configuration?

Saroufim commented 5 years ago

I would assume so, yes. It does not seem to provide any additional functionality beyond that.

RobLoach commented 5 years ago

xdg-documents is now in the filesystem perms. Mind testing again? Feel free to re-open if ~/Documents access isn't there.

lionirdeadman commented 5 years ago

@RobLoach I think granting access to individual folders in the user's HOME is not viable, it's better to remove the symlinks that WINE creates.