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

Game path detection for EGS #11

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

theREalpha
Copy link

Adding to #1
Support automatic game path detection for EGS version (possible all?) by searching in Registry's MUI Cache entries for game's executable path.
From what I could tell MUI cache is used for language localisation and is available in Registry after first launch of the game and persists until manually deleted or in a recovery scenario. It is available under

Registry::HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache

image

The script still checks registry paths for uninstall entries first and then checks in MUI Cache as I am unsure if native version have these entries as well. If everything fails falls back to manual method.

added automatic game path detection for EGS version using MUI Cache registry key
Copy link

vercel bot commented Jun 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
wuthering-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 15, 2024 8:01am

@BestClaws
Copy link

Two points to Note.

I think you've misplaced the closing braces.

Also, I tried this script and it doesn't work in my case , as the game installer in my downloads directory comes as an entry in the filtered entries from registry, and so my downloads folder gets picked up. better to match the Name field to Game Binary name instead of match Value to wuthering

@theREalpha
Copy link
Author

theREalpha commented Jun 15, 2024

I think you've misplaced the closing braces.

Yes, I did thanks for noticing that, hopefully its fixed now.

better to match the Name field to Game Binary name instead of match Value to wuthering

Few other games from epic (possibly others too) have client-win64-shipping.exe as binary name, So I guess checking for both would be the better solution. Can you test this script and check if it works for you?

If it doesn't work can you follow up with your version (Native or EGS), and registry entry for MUI Cache which is causing the issue.

@BestClaws
Copy link

yup works well now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants