Closed NodusCursorius closed 6 years ago
Thanks for reporting it, and my apologies for not responding earlier - I forgot to enable notifications for the tracker! :/
I'll need to look into how reliable the path detecting for GoG Galaxy is to see if that can be added. If you have more than one machine with WarBand installed via GoGG, can you check if the key is the same on all of them?
But it's definitely a bug in that it should not just fail because the registry key is missing. Looking at the code, the intended effect was to just return null, but I forgot to put some ?.
where nulls appear in this case. I'll fix that, and harden the code for I/O errors and such.
Version: 1.0.1
Error: Silent crash. Good Old Games does not seem to include a registry addition for
hklm.OpenSubKey(@"SOFTWARE\mount&blade warband")
, line 71 of MainForm.csAdditional: Attempting to run the
WarBender.UI.exe
binary results a crash where nothing occurs and the process immediately terminates, a silent failure. Of note, the game was installed through GOG Galaxy and after searching through registry, it appears the path for that approach isComputer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\GOG.com\Games\1207666913
with aString
ofexe
, which contains the path value. A screenshot will be attached that provides a visual example for your reference.Event Viewer:
.Net Runtime
Application Error