canonical / steam-snap

Steam as a snap
71 stars 10 forks source link

Civilization 6 not saving game options #322

Open plOloV2 opened 8 months ago

plOloV2 commented 8 months ago

Is there an existing issue for this?

Have you checked the wiki for solutions?

Is this a Steam Snap-specific issue?

Current Behavior

On snap version of Steam I was unable to save game options in Civilization 6. AppOptions.txt file was not being created anywhere. On deb version everything works fine.

Expected Behavior

I expected changes I made to be saved. Expected to find AppOptions.txt file in ~/.local/share/aspyr-media/Sid Meier's Civilization VI folder.

Steps To Reproduce

No response

Environment

Ubuntu 22.10
latest  Steam snap (I don't  have it installed now, but earlier today I made sure I have newest version before switching to deb)
I'm running Intel  NUC9 i9 Extreme with RTX3060ti.

gaming-graphics-core22 version

No response

Anything else?

No response

ashuntu commented 8 months ago

I don't own Civilization 6, but have you tried checking the directories in the snap's directories? E.g. ~/snap/steam/common/.local/share or ~/snap/steam/common/.steam/steam/steamapps/common.

plOloV2 commented 8 months ago

Yeah, I searched my whole disk for AppOptions.txt file but nothing was found.

cmmrandau commented 8 months ago

Same problem here. Can't even save game files locally, only cloud save works. After suspend cloud save doesn't work either. Had to keep the laptop running for a week in order to finish the game.

Ubuntu 23.10, Steam snap, all updated.

runninghai commented 6 months ago

Same problem. It seem the game can not read&&write the local file system. Game options && saves can not be saved.

alex-brook commented 3 months ago

Is there an update on this?

I only realised there was an issue after the game crashed (!) and none of my saves were saved

alexmc6 commented 2 months ago

Same problem here. Snap version of steam, ubuntu 23.04. brand new machine.

I tried to create the directory, but that did not help

mkdir -p "~/.local/share/aspyr-media/Sid Meier's Civilization VI"

berdal84 commented 2 months ago

Does anyone fixed this issue?

I tried the same as @alexmc6 (under ubuntu 22.04.4 though), but this does not help.

EDIT

Found - not a solution but rather - an alternative. I simply uninstalled the snap package and installed steam from the *.deb package they provide on their website instead

It worked like a charm, at first launch, the folder was populated with a bunch of files:

~/.local/share/aspyr-media/Sid Meier's Civilization VI$ ls
AppOptions.txt  EOSOptions.txt       InputSettings.json  Mods.sqlite  SoundOpts.txt
Aspyr           GraphicsOptions.txt  Logs                ModUserData  UserOptions.txt
Cache           HallofFame.sqlite    Mods                Saves

note: I didn't wanted to transfer my game library (I re-downloaded), but there is a way to transfer a library from one folder to an other.

BTW, I am open to beta test any snap package that would fix this issue

djz88 commented 1 week ago

I have the same issue. Debian Trixie(snap steam 1.0.0.79 /191), I have been able to track it down to apparmor profile.

= AppArmor =
Time: Jun 29 17:48:10
Log: apparmor="DENIED" operation="mknod" class="file" profile="snap.steam.steam" name=$LONGALFANUM pid=297942 comm=43697636202857696E4944203229 requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
File: /home/user/.local/share/aspyr-media/Sid Meier's Civilization VI/AppOptions.txt (write)
Suggestions:
* adjust program to write to $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
* add 'personal-files (see https://forum.snapcraft.io/t/the-personal-files-interface for acceptance criteria)' to 'plugs'

= AppArmor =
Time: Jun 29 17:48:10
Log: apparmor="DENIED" operation="mkdir" class="file" profile="snap.steam.steam" name=$LONGALPHANUM pid=297942 comm=43697636202857696E4944203229 requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
File: /home/user/.local/share/aspyr-media/Sid Meier's Civilization VI/Logs/ (write)
Suggestions:
* adjust program to write to $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
* add 'personal-files (see https://forum.snapcraft.io/t/the-personal-files-interface for acceptance criteria)' to 'plugs'