Skip to content
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

Dark Souls III (And potentially any other game using a SteamID variable in the file path) #92

Open
gdiazbanuelos opened this issue Mar 20, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@gdiazbanuelos
Copy link

The default save location for Dark Souls 3 does not work.

I have a save file on my pc, this is the out of box behavior when first time setting up the app, and resetting it under the settings tab.
image

The default location for DS3 save file for Windows is set to:
%APPDATA%\DarkSoulsIII\%USERID%\DS30000.sl2

However, that points to the specific save file DS30000.sl2, not the directory.
Secondly, the %USERID% is not a valid Windows variable. This variable references your personal SteamID64 as a signed hexadecimal.

I took a look at my file path for my DS3 save file. It was:
%APPDATA%\DarkSoulsIII\{SteamID64Hex}

I plugged in my Steam account here (https://steamid.io/lookup/), took the steamID64 and converted the decimal to a signed hex here (https://www.rapidtables.com/convert/number/decimal-to-hex.html). The signed hex matched the number being used for the file path (the capitalization was in all caps where the native file path in windows was all lowercase, but Windows is case-insensitive):
%APPDATA%\DarkSoulsIII\{SteamID64Hex}

I then hard code my {SteamID64Hex} as the file path:
ds3

Then it was recognized as a valid path:
ds32

This issue will affect any game that uses any SteamID variable instead of a native Windows variable for it's file path.

@gdiazbanuelos gdiazbanuelos changed the title Dark Souls III (And potentially any other game using a SteamID variables in the file path) Dark Souls III (And potentially any other game using a SteamID variable in the file path) Mar 20, 2023
@DavidDeSimone
Copy link
Owner

Thank you for the report - we are indeed using the wrong substitution here.

We manually swap out %USERID% with your Username - however you are correct that should be your SteamID64Hex. I will try to see if I can sneak in a fix for 0.18, but I am trying to get that out the door in the next couple of days, so it might have to wait until 0.19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants