-
Notifications
You must be signed in to change notification settings - Fork 57
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
Add functionality to symlink save data from another game's prefix, a few games would benefit from this #217
Add functionality to symlink save data from another game's prefix, a few games would benefit from this #217
Conversation
I think this would be useful and I’ve also considered supporting this in the past. Utawarerumono is another title that would benefit from this. I’m just not sure if this would be the appropriate project for it since some may not be broken in Proton, and we would need to add a note in the umu-database that the entry is related to this feature. Up until now though, I don’t know why Valve has intentionally not decided to handle this longstanding issue themselves. If there’s an upstream issue that answers that question, I would be interested. |
Will review the implementation in a bit. For now, please address the lint errors. You can do this by running |
`relative_location` → `relative_path`
The game was updated to remove the PSN requirement. https://store.steampowered.com/news/app/2561580/view/497186807117513479
Removed some no longer needed imports.
I don't know what that is, I'm just editing files one at a time in a browser. I see the error in the Checks section, but I'm not sure how to fix that one or why it's being flagged. |
b263f43
into
Open-Wine-Components:master
The "Games impacted" section refers to Metaphor, but I couldn't find the corresponding I am looking into this in context of Octopath Traveler 2 as well. Both the demo and full game store to My interpretation of the added code is that the whole folder referenced in the script is symlinked into the current game, but this wouldn't work out very well when the folder is the same such as in the cases of Metaphor and Octopath Traveler 2, especially if the game had already created the save folder and stored some data into it already. I was working on
|
The workaround for that game has not been implemented yet, largely because I don't know the app ID for the demo.
That's actually a really good point, I have definitely overlooked that possibility. To get around this, I've made a new pull request (#227) to add a new parameter for Due to how I implemented that (it's not recursive), if it gets merged, a better path to use for Octopath Traveler 2 would be f'Documents/My Games/Octopath_Traveler2/Steam/{get_steam_account_id()}/SaveGames' Note that the pull request also adds the |
Some games have functionality that is dependent on having save data for another game, which works fine on Windows, but needs workarounds on Proton due to how it handles stuff that is stored in the user folder rather than the game's own
steamapps/common
folder (usually under Documents or My Games). This leads to the game not detecting the save data for the other game despite it being there, because it's in a different prefix.This pull request adds a new function for
util
that can be used to automate a symlinking workaround to accomplish this.This will only work if you have the other game installed from Steam.
How this works
steamapps/libraryfolders.vdf
file to find locations of known library folders.compatdata/(APPID)
folder in it.Games impacted
How to use the Function
Parameters:
from_appid
: The Steam app id for the game whose save data is desired in the prefix for the game you're trying to play.relative_path
: The location in thedrive_c/users/steamuser
folder where the game expects the save data for the other game to be. You can find this by looking up the game on PC Gaming Wiki.This function will have to be used in the fix scripts for each of the games that need it.