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

BUG - Couldn't find game installation path #3

Closed
starudream opened this issue Feb 25, 2022 · 3 comments
Closed

BUG - Couldn't find game installation path #3

starudream opened this issue Feb 25, 2022 · 3 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@starudream
Copy link

Possibly in the case of other languages, cannot be found 'ELDEN RING' in the registry.

In chinese, it is '艾尔登法环'.

1

// get game path
string gamePath = GetApplicationPath("ELDEN RING");
if (gamePath == null || !File.Exists(Path.Combine(gamePath, "GAME", "eldenring.exe")))
{
MessageBox.Show("Couldn't find game installation path!", "Elden Ring FPS Unlocker and more", MessageBoxButton.OK, MessageBoxImage.Exclamation);
Environment.Exit(0);
}

@starudream
Copy link
Author

https://steamdb.info/app/1245620/info/

name_localized

lang name
schinese 艾尔登法环
tchinese 艾爾登法環

@uberhalit
Copy link
Owner

@starudream Hi,
you are right, I've added a prompt now to let the user choose the installation path themselves. Please tell me if it works.

@starudream
Copy link
Author

@uberhalit it works fine and patch success! Thanks!

mrdellis added a commit to mrdellis/EldenRingFpsUnlockAndMore that referenced this issue Feb 25, 2022
@uberhalit uberhalit added bug Something isn't working good first issue Good for newcomers labels Feb 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants