-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Unhandled exception when creating game shortcuts #4
Comments
@joeymanson23 Have you got Uplay/Ubisoft Connect installed at all? I've a feeling based on that error message that It is trying to find Uplay, can't find it, and is dying.... I will need to roll a new version as I think I must have forgotten to check for Uplay or Steam not being installed. In any case I'll engineer a fix over the next couple of days. |
Further investigation points towards it being a different game file path in the InstallDir registry key within the Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ubisoft\Launcher\Installs\ registry key that we're expecting. At present, we read each registry subkey within Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ubisoft\Launcher\Installs\ to find a game... for example subkey '720' is where Assassin's Creed Unity lives. Within that Subkey is a string value called 'InstallDir' that lists where the game is actually installed. We parse that location to start to get the Icon/Bitmap information from the files within there. The error you're getting is DisplayMagician complaining that it can't find a real path in that location... which is odd, as that is what should be there. I need to know more information about the erroring subkey to see what it is failing on, and that is probably going to be a pain to get :). So, can you please open regedit and visit the Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ubisoft\Launcher\Installs\ registry key for me, and take a screenshot of the subkeys underneath it please? Also please go into one or two of the numeric subkeys under that key, and take a screenshot of what is there? e.g. It should give me enough information about what I need to do. In the mean time I'll start grabbing some more information into the log file that DisplayMagician creates every run (when it's in debug mode). You can click on the 'Settings' button, and change the logging mode to 'Debug' mode, and it will write a LOT more information into the log file. That may help you (and me) during further troubleshooting. I'll drop a version that does better Uplay/Steam debugging over the next few days, and we can use that if we can't figure out the answer beforehand. Thanks |
Thank you very much Terry for the investigation, I will take a look and give you some feedback soon. |
Hi Joey,
Do you have any subkeys (subfolders) within the Computer\HKEY_LOCAL_MACHINE\
SOFTWARE\WOW6432Node\Ubisoft\Launcher\Installs Folder? My understanding is
that ubiconnect creates a new subkey per installed game, so you should have
a registry key
like Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ubisoft\Launcher\Installs\5521
(the 5521 will change based on the ID of the game installed). Within that
registry key there should be an InstallDir value. Could you please take a
screenshot of that InstallDir value within regedit, and also page in the
full name of the registry key it lives within?
That should hopefully give me enough information to be able to figure out
why it's not matching.
I've engineered the code to handle ubiconnect libraries located anywhere on
a PC, so this is a bit puzzling.
Thanks
Terry
…On Mon, 5 Apr 2021, 04:08 joeymanson23, ***@***.***> wrote:
I have indeed Ubisoft Connect installed.
Folder settings:
[image: image]
<https://user-images.githubusercontent.com/81873707/113514658-e02abf00-9567-11eb-92a1-14a863fa8062.png>
Registry:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ubisoft\Launcher:
[image: image]
<https://user-images.githubusercontent.com/81873707/113514711-1a945c00-9568-11eb-8308-82b0137a9320.png>
Registry:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ubisoft\Launcher\Installs
:
[image: image]
<https://user-images.githubusercontent.com/81873707/113514719-23852d80-9568-11eb-94e8-3031962df0a8.png>
Is it strange that the folder I have set for Ubisoft games
D:/games/Ubisoft/ is not present in this registry node?
Thanks a lot!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABLU5LGDKGVVI3NJ4IBJDBTTHCFIDANCNFSM42KOKZ3A>
.
|
Ah I understand now. Thanks Joey. I'll install a new game through ubisoft
connect and see what happens. It's possible they've changed where they
write information, so if they have I'll try to figure it out.
How long have you had ubisoft connect installed? Is it a new installation?
How many ubisoft connect games do you have installed on that computer at
the moment? Another possibility is that there aren't any games installed,
meaning the registry key isn't created. I don't think I check for that at
the moment.
Thanks
*Terry MacDonald *| Senior Security Consultant | Chief Operating Officer
M: +64 211 918 814 <+64+211+918+814>
E: ***@***.***
W: www.cosive.com
…On Mon, 5 Apr 2021 at 08:19, joeymanson23 ***@***.***> wrote:
Hi Terry,
The installs folder is empty just like I tried to explain in the previous
comment. Perhaps more clear here:
[image: image]
<https://user-images.githubusercontent.com/81873707/113520453-162d6a80-958b-11eb-8823-8fe56667ba9e.png>
So apparently, in my case, the ubisoft games list can't be found in this
location!?
Regards,
Joey
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABLU5LF57AORLAUWAUI5KYLTHDCUTANCNFSM42KOKZ3A>
.
|
Hey Terry, According to control panel I've installed Ubisoft Connect on 17th December 2020. Thanks, |
Ah, just noticed now none of the Ubisoft Connect games are installed! :) |
Nice. That lines up with the logic I have found. I think I missed handling
no installed games. I'll check later tonight again to be sure, and then
craft a fix up over the next couple of days. I think I'll release a new
build with a few fixes soon, and with added logging improvements.
Thanks so much for finding this and logging the issue!
Thanks
Terry
…On Mon, 5 Apr 2021, 11:35 joeymanson23, ***@***.***> wrote:
Ah, just noticed now none of the Ubisoft Connect games are installed! :)
Will try installing one tomorrow and check.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABLU5LEDXBE7IFNUG74K2QLTHDZTLANCNFSM42KOKZ3A>
.
|
Just an FYI that I've fixed this issue in the develop branch, but I need to fix another steam issue in order to package a release. I am working on it and will hopefully get it out before the weekend. |
Ok. My testing shows that I've appeared to have fixed the issue, but there is unfortunately another Steam library issue (#5) that I need to fix before I can bake a new release. I'm working on that today, and hopefully I'll have a new release out early next week. Sorry for the delay! |
Hey Terry, no worries! Take your time :). |
@joeymanson23 I've released v1.0.4, and hopefully it corrects all the issues you're experiencing. To update, just start DisplayMagician, and it will detect there is an update, and will update for you. No need to do it manually. I believe that your other issue should be fixed by the slew of other bug's I've fixed in this release, but if it isn't fixed, please log a new issue so I can track that separately. And thank you for using DisplayMagician! |
@terrymacdonald, I've installed the latest release v1.0.4, and it's working like a charm! Awesome work! Thank you! |
Great news! Thank you for the feedback.
…On Sun, 11 Apr 2021, 03:35 joeymanson23, ***@***.***> wrote:
@terrymacdonald <https://github.com/terrymacdonald>, I've installed the
latest release v1.0.4
<https://github.com/terrymacdonald/DisplayMagician/releases/tag/v1.0.4>,
and it's working like a charm! Awesome work! Thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABLU5LBXVEO4RHG7ZZKDYNTTIBV2XANCNFSM42KOKZ3A>
.
|
Describe the bug
After creating successfully a display profile, when creating a game shortcut an error is raised.
Used DisplayMagician v1.0.3 release.
Screenshots
When trying to create a new game shortcut:
If i click continue, no profiles are found:
Reporting Logs
Enviroment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: