how to change where a non steam game is putting its save data?

im trying to get elden ring seamless co op up and running so i followed the install instructions and added ersc launcher to steam as a non steam game forced proton experimental everything is working fine but for some reason instead of read/writing to this path /run/media/system/1TB_Tforce/SteamLibrary/steamapps/compatdata/1245620/pfx/drive_c/users/steamuser/AppData/Roaming/EldenRing/76561199157787603/ as it should, it instead read/writes to this path /home/bazzite/.steam/steam/steamapps/compatdata/2567252804/pfx/drive_c/users/steamuser/AppData/Roaming/EldenRing/76561199157787603/ so how do i change where the save data is being put ?
Solution:
either use STEAM_COMPAT_DATA_PATH or symlink the folder
Jump to solution
4 Replies
Solution
asen23
asen235d ago
either use STEAM_COMPAT_DATA_PATH or symlink the folder
SandScav
SandScavOP5d ago
i sure this STEAM_COMPAT_DATA_PATH is a solution but there is something im not understanding yet currently i have tried using STEAM_COMPAT_DATA_PATH=/run/media/system/1TB_Tforce/SteamLibrary/steamapps/compatdata/1245620/ and STEAM_COMPAT_DATA_PATH=/run/media/system/1TB_Tforce/SteamLibrary/steamapps/compatdata/1245620/pfx/drive_c/users/steamuser/AppData/Roaming/EldenRing/76561199157787603/ in the steam launch options but in both cases it still made a new folder in /home/bazzite/.steam/steam/steamapps/compatdata/2567252804/pfx/drive_c/users/steamuser/AppData/Roaming/EldenRing/76561199157787603/ and reads/writes the save data there . ill keep chipping away at figuring it out however if anyeone has any advice on how to use STEAM_COMPAT_DATA_PATH= id be grateful to hear it
asen23
asen234d ago
you need to add %command% after like VAR=VALUE %command%
SandScav
SandScavOP4d ago
thank you that was the final piece i overlooked seriously thanks a ton for anyone in the same boat as me if you stumble across this the line to put in the steam launch options will look something like this STEAM_COMPAT_DATA_PATH=(your pathway to desired comp data folder do not include these parentheses) %command%

Did you find this page helpful?