TouwaStar / Galaxy_Plugin_Bethesda

MIT License
45 stars 18 forks source link

Fallout 76 appears as both installed & not installed #7

Open CM-SR opened 4 years ago

CM-SR commented 4 years ago

image image I was able to get around it by identifying the .exe of the game itself as a different version of the game, but doing so makes it so it doesn't launch the bethesda launcher and I have to login each time. I'm attaching all of my bethesda based logs. plugin-bethesda-cb57391f-1675-35b1-05c0-896d43bdf4f8.log Ah. I have a second log that is named the same as the first, but .log.1 which it does not allow me to upload here. I will rename it to .log with a -B at the end of the filename, but before the .log plugin-bethesda-cb57391f-1675-35b1-05c0-896d43bdf4f8-B.log

Thank you for any information or instruction you can provide.

AlJoelson commented 4 years ago

Also have the same problem.

TouwaStar commented 4 years ago

Hey,

game should appear as installed after its first launch (it creates registry files which the plugin tracks after first launch)

if this is not the case then i will investigate what has gone wrong.

CM-SR commented 4 years ago

I can assure you that I have launched the game numerous times, with it still remaining as shown above. One thing I will add is that I have it installed on a different HDD than my OS. I'm not sure if that makes any difference. Thanks for looking into this.

TouwaStar commented 4 years ago

@CM-SR @AlJoelson

i'm unable to reproduce the issue right now but i have a couple of questions which might help me pinpoint this. image

Did u download the game through the bethesda launcher or is it some cd or other medium version? Do you have a key under the 'Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Fallout 76' address in your registry ? ( Open up windows start -> type regedit -> navigate the url provided) if yes: can you tell me what are the values under this key? i have this image

if no: can you tell me if there is any other key for Fallout76 under the 'Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\' registry path? It can hide under a numeric name so i recommend just doing ctrl-f (at the top of the path) and look for fallout.

CM-SR commented 4 years ago

I downloaded the game through the Bethesda Launcher. I have no 'fallout' under "Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\" There are numerous fully numeric ones, but when I search for 'fallout' it does not find any under that directory. I also took the time to go through each numeric directory, & verified that none of them are Fallout related.

When I did the 'Fallout' search, I did find numerous results, but none of them in the directory you specified.

I also tried searching for "bethesdanet://uninstall/20", just out of curiosity; and it returned 0 results.

Let me know what else I can do to help. Thanks for taking the time to look into this.

AlJoelson commented 4 years ago

Yeah, despite installing it through the Bethesda launcher on release I didn't have any registry entries for a Fallout 76 uninstall entry either. Adding it manually following the template in your screenshot has allowed it to show up correctly now!

CM-SR commented 4 years ago

Al, did you add all of the keys & values above, or did you just add the uninstallstring? I'll go ahead and use that as a workaround as well.

AlJoelson commented 4 years ago

i added all of the keys/values (updated to appropriate dirs, of course).

On Wed, 2 Oct 2019 at 01:21, CM-SR notifications@github.com wrote:

Al, did you add all of the keys & values above, or did you just add the uninstallstring? I'll go ahead and use that as a workaround as well.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TouwaStar/Galaxy_Plugin_Bethesda/issues/7?email_source=notifications&email_token=ABOJ5P5ASZMF4OEHEDDKOTTQMNTGBA5CNFSM4IZEEJA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEABU56Y#issuecomment-537087739, or mute the thread https://github.com/notifications/unsubscribe-auth/ABOJ5P5IJ3SAP753H26BGI3QMNTGBANCNFSM4IZEEJAQ .

CM-SR commented 4 years ago

I've followed Al's example and added all of the keys/values as well, and can confirm that this is a workaround which does solve the issue. I don't know why the keys/values did not populate with with usual installation. I also created a .reg script for anyone else who might be having this problem, so that they don't have to create each key & value individually. Anyone who uses it WILL need to update the values to point to their own installation location. Fallout 76 Registry Script.zip

CM-SR commented 4 years ago

TouwaStar, I'll leave it to you to decide if you want to close this topic or not. I'm not at all certain how widespread this issue is, nor do I know how many people have been invited to try the GOG 2.0 launcher. It may be that for now there aren't many people facing this issue, but once 2.0 is released to the public that this issue will suddenly affect numerous people. /shrug

Let me know if there's anything else I can provide which would help shed light on this problem.

TouwaStar commented 4 years ago

I'm going to leave this task open since the issue is still somewhere out there.

TouwaStar commented 4 years ago

New version on master branch should have a lil bit more available logic for parsing local games so they should be found even if no registry entry is present but also only if the game was launched (and in this case only if it was launched while plugin was working).

Next step will be to cache the local games so the next time plugin is launched (galaxy restart for example) it will already have that information ( and will be able to keep up with updating the status).

Because of the way Bethesda handles information about locally installed games ( they keep track of them in a file which is encoded and there is no way to it without decrypting it and touching potentially private logic which i dont want to do) any local games tracking logic is a hack.

EustaceCS commented 4 years ago

Still fumbles with TES Arena. No idea how I got it at my account but the truth is, got TES Arena, installed it, ran it, restarted Galaxy - and the game is not recognized as installed nor even shown as available.