-
Notifications
You must be signed in to change notification settings - Fork 4
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
Linux savegame path assumes default steam library path #13
Comments
Ah thanks, this was a wrong assumption on my part when reading this explanation page, but re-reading it again it does specify that as well:
Using a relative path sounds like the best option to me. |
It does look like |
I think this should be fixed by 69ef318 and 5dc2e5b. Here's an early build so that you can confirm on your end ahead of a release:
You should now be able to store Hephaistos anywhere you like and use |
Hi, But I think there is a small bug in it:
hephaistos/hephaistos/helpers.py Lines 129 to 133 in 5dc2e5b
hephaistos/hephaistos/helpers.py Lines 158 to 159 in 5dc2e5b
|
With this patch it works now perfectly fine for me (the str feels redundant with the next line, but keeps the types the same): diff --git a/hephaistos/helpers.py b/hephaistos/helpers.py
index a9a252f..ae56feb 100644
--- a/hephaistos/helpers.py
+++ b/hephaistos/helpers.py
@@ -156,7 +156,7 @@ def try_get_profile_sjson_files() -> list[Path]:
LOGGER.debug(e, exc_info=True)
# If on Linux, compute save directory relative to Hades dir
elif config.platform == Platform.LINUX:
- TRY_SAVE[Platform.LINUX] = Path(config.hades_dir).joinpath(TRY_SAVE[Platform.LINUX])
+ TRY_SAVE[Platform.LINUX][0] = str(Path(config.hades_dir).joinpath(TRY_SAVE[Platform.LINUX][0]))
save_dirs = [Path(item) for item in TRY_SAVE[config.platform]]
for save_dir in save_dirs:
if save_dir.exists(): |
Right, I forgot I used lists specifically because Windows might have multiple locations 🤦🏻 Fixed in d38307a and refactored whole mechanism in 1dd3b6d. New test build:
|
Indeed with 1dd3b6d it now also works directly. Thanks for everything! |
Thanks for testing. Released in v1.6.3 :) |
Hi and thanks for this amazing tool.
I just noticed an issue and thought I'd report it.
On Linux helphaistos looks here for the savegames to patch them:
hephaistos/hephaistos/helpers.py
Lines 129 to 131 in 57c3295
The issue is, that when using Proton steam stores the "Windows Data" (so the
compatdata
folder) not in the default steam library, but in the one of the game.So for me this path is
/media/path/to/my/SteamLibrary/steamapps/compatdata/1145360/pfx/drive_c/users/steamuser/Documents/Saved Games/Hades
. Maybe a argument similar to--hades-dir
could be used to specify the path (or alternatively use the path relative to the current path as we are already in/media/path/to/my/SteamLibrary/steamapps/common/Hades
.Also I am not entirely sure if
--hades-dir
works correctly or I am just doing something wrong, but I solved the issue of having to be inside the hades dir and the repostory dir (for python -m to work) by creating symlinks to all hephaistos subdirectories in the hades directory.Apart from this the patch seems to be working perfectly.
The text was updated successfully, but these errors were encountered: