Fr33dan / GPSaveConverter

Utility to transfer save files between the games installed from the Xbox app and other storefronts. https://ko-fi.com/fr33dan
342 stars 35 forks source link

Unhandled exception occurred in your application #71

Open Riqwaze opened 10 months ago

Riqwaze commented 10 months ago

While I want to transfer Forza Horizon from Xbox to Steam, when I select Forza Horizon, it gives the error "An unhandled exception has occurred in your application" and Xbox saves do not appear, please give a solution.

Fr33dan commented 6 months ago

I would need you to expand the details on that error message and provide them to have any clue what might be going on.

Patchworkk commented 5 months ago

Im also having this issue. Screenshot (1)

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

** Exception Text ** System.IO.FileNotFoundException: Could not load file or assembly 'System.Security.Principal.Windows, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'System.Security.Principal.Windows, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at Microsoft.Windows.Appx.PackageManager.Commands.Helpers.GetCurrentUserSid() at Microsoft.Windows.Appx.PackageManager.Commands.AppxPackageManager.SetUserSid(String user) at Microsoft.Windows.Appx.PackageManager.Commands.GetAppxPackageCommand.BeginProcessing() at System.Management.Automation.Cmdlet.DoBeginProcessing() at System.Management.Automation.CommandProcessorBase.DoBegin()

WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

** Loaded Assemblies ** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.9232.0 built by: NET481REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

GPSaveConverter Assembly Version: 0.4.0.0 Win32 Version: 0.4.7.0 CodeBase: file:///C:/Users/vince/Desktop/GPSaveConverter.exe

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System Assembly Version: 4.0.0.0 Win32 Version: 4.8.9220.0 built by: NET481REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.9220.0 built by: NET481REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

NLog Assembly Version: 5.0.0.0 Win32 Version: 0.4.7.0 CodeBase: file:///C:/Users/vince/Desktop/GPSaveConverter.exe

NLog.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 0.4.7.0 CodeBase: file:///C:/Users/vince/Desktop/GPSaveConverter.exe

System.ComponentModel.DataAnnotations Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll

System.Text.Json Assembly Version: 6.0.0.5 Win32 Version: 0.4.7.0 CodeBase: file:///C:/Users/vince/Desktop/GPSaveConverter.exe

System.Memory Assembly Version: 4.0.1.1 Win32 Version: 0.4.7.0 CodeBase: file:///C:/Users/vince/Desktop/GPSaveConverter.exe

System.Runtime.CompilerServices.Unsafe Assembly Version: 6.0.0.0 Win32 Version: 0.4.7.0 CodeBase: file:///C:/Users/vince/Desktop/GPSaveConverter.exe

System.ValueTuple Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ValueTuple/v4.0_4.0.0.0__cc7b13ffcd2ddd51/System.ValueTuple.dll

Microsoft.Bcl.AsyncInterfaces Assembly Version: 6.0.0.0 Win32 Version: 0.4.7.0 CodeBase: file:///C:/Users/vince/Desktop/GPSaveConverter.exe

System.Text.Encodings.Web Assembly Version: 6.0.0.0 Win32 Version: 0.4.7.0 CodeBase: file:///C:/Users/vince/Desktop/GPSaveConverter.exe

System.Buffers Assembly Version: 4.0.3.0 Win32 Version: 0.4.7.0 CodeBase: file:///C:/Users/vince/Desktop/GPSaveConverter.exe

System.Numerics.Vectors Assembly Version: 4.1.4.0 Win32 Version: 0.4.7.0 CodeBase: file:///C:/Users/vince/Desktop/GPSaveConverter.exe

System.Management.Automation Assembly Version: 3.0.0.0 Win32 Version: 10.0.26085.1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management.Automation/v4.0_3.0.0.0__31bf3856ad364e35/System.Management.Automation.dll

Microsoft.PowerShell.Commands.Diagnostics Assembly Version: 3.0.0.0 Win32 Version: 10.0.26085.1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Commands.Diagnostics/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Commands.Diagnostics.dll

System.Configuration.Install Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration.Install/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.Install.dll

Microsoft.PowerShell.ConsoleHost Assembly Version: 3.0.0.0 Win32 Version: 10.0.26085.1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.ConsoleHost/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.ConsoleHost.dll

Microsoft.PowerShell.Commands.Utility Assembly Version: 3.0.0.0 Win32 Version: 10.0.26085.1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Commands.Utility/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Commands.Utility.dll

Microsoft.PowerShell.Commands.Management Assembly Version: 3.0.0.0 Win32 Version: 10.0.26085.1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Commands.Management/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Commands.Management.dll

Microsoft.Management.Infrastructure Assembly Version: 1.0.0.0 Win32 Version: 10.0.26085.1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Management.Infrastructure/v4.0_1.0.0.0__31bf3856ad364e35/Microsoft.Management.Infrastructure.dll

System.ServiceProcess Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceProcess/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll

System.Management Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll

Microsoft.PowerShell.Security Assembly Version: 3.0.0.0 Win32 Version: 10.0.26085.1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Security/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Security.dll

Microsoft.WSMan.Management Assembly Version: 3.0.0.0 Win32 Version: 10.0.26085.1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.WSMan.Management/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.WSMan.Management.dll

Microsoft.WSMan.Runtime Assembly Version: 3.0.0.0 Win32 Version: 10.0.26085.1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.WSMan.Runtime/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.WSMan.Runtime.dll

System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.8.9214.0 built by: NET481REL1LAST_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

System.DirectoryServices Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.DirectoryServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll

Anonymously Hosted DynamicMethods Assembly Assembly Version: 0.0.0.0 Win32 Version: 4.8.9232.0 built by: NET481REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll

System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

System.Transactions Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll

Microsoft.Windows.Appx.PackageManager.Commands Assembly Version: 10.0.0.0 Win32 Version: 10.0.26085.1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Windows.Appx.PackageManager.Commands/v4.0_10.0.0.0__31bf3856ad364e35/Microsoft.Windows.Appx.PackageManager.Commands.dll

netstandard Assembly Version: 2.0.0.0 Win32 Version: 4.8.9032.0 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll

** JIT Debugging ** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

For example:

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

Daasin commented 5 months ago

im having the exact same issue as that screenshot

Daasin commented 5 months ago

Fixed it @Fr33dan @Patchworkk @Riqwaze

Imported the code into VS Studio/Code, updated one of the modules using nuget and built it. Ran perfectly after that. I had to remove two lines of code aswell relating to steam id or something because they stopped me from building it. Something about file not found there aswell

Daasin commented 5 months ago

I'll try send it in a PR or whatever today, or you guys could make the changes here

...I've never really done coding before, much less used git through VS Community. I tried to do the bare minimum changes that got it working though in order to not break anything else 👍🏽

Fr33dan commented 5 months ago

@Patchworkk @Daasin Are you having this issue when you select FH from the game list, or at some other point in execution?What's listed in the trace and loaded assemblies would seem to indicate to me that the issue occured getting package information which happens when the game list is created, well before you would have a chance to click on any game on the list.

If y'alls issue is happening at startup rather than on game selection then it would be a different issue than @Riqwaze had but I have a decent idea on what that your issue is. Try this version and see if it acts any differently: GPSaveConverter.zip

Daasin commented 5 months ago

@Patchworkk @Daasin Are you having this issue when you select FH from the game list, or at some other point in execution?What's listed in the trace and loaded assemblies would seem to indicate to me that the issue occured getting package information which happens when the game list is created, well before you would have a chance to click on any game on the list.

If y'alls issue is happening at startup rather than on game selection then it would be a different issue than @Riqwaze had but I have a decent idea on what that your issue is. Try this version and see if it acts any differently: GPSaveConverter.zip

@Fr33dan Mine is straight after opening, after which I couldn't do anything.

But when I built it in VS Code and used NuGet to update the part that seemed relevant to System.Security.Principal (according to Google) ...it just worked after that. Although I did have to delete two lines relating to steam to successfully build and run it

CrimsonNyte commented 3 months ago

@Fr33dan I'm having this pop up too but its happening at start up. Its happening with the version thats in the Downloads page and the one you included in the earlier comment. None of my games show up.

This is what the pop up says under the Details:

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

** Exception Text ** System.IO.FileNotFoundException: Could not load file or assembly 'System.Security.Principal.Windows, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'System.Security.Principal.Windows, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at Microsoft.Windows.Appx.PackageManager.Commands.Helpers.GetCurrentUserSid() at Microsoft.Windows.Appx.PackageManager.Commands.AppxPackageManager.SetUserSid(String user) at Microsoft.Windows.Appx.PackageManager.Commands.GetAppxPackageCommand.BeginProcessing() at System.Management.Automation.Cmdlet.DoBeginProcessing() at System.Management.Automation.CommandProcessorBase.DoBegin()

WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

** Loaded Assemblies ** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

GPSaveConverter Assembly Version: 0.4.0.0 Win32 Version: 0.4.7.0 CodeBase: file:///C:/Users/Anthony/Downloads/GPSaveConverter/GPSaveConverter.exe

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System Assembly Version: 4.0.0.0 Win32 Version: 4.8.9236.0 built by: NET481REL1LAST_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

NLog Assembly Version: 5.0.0.0 Win32 Version: 0.4.7.0 CodeBase: file:///C:/Users/Anthony/Downloads/GPSaveConverter/GPSaveConverter.exe

NLog.Windows.Forms Assembly Version: 5.0.0.0 Win32 Version: 0.4.7.0 CodeBase: file:///C:/Users/Anthony/Downloads/GPSaveConverter/GPSaveConverter.exe

System.ComponentModel.DataAnnotations Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll

System.Text.Json Assembly Version: 8.0.0.3 Win32 Version: 0.4.7.0 CodeBase: file:///C:/Users/Anthony/Downloads/GPSaveConverter/GPSaveConverter.exe

System.Threading.Tasks.Extensions Assembly Version: 4.2.0.1 Win32 Version: 0.4.7.0 CodeBase: file:///C:/Users/Anthony/Downloads/GPSaveConverter/GPSaveConverter.exe

System.Memory Assembly Version: 4.0.1.2 Win32 Version: 0.4.7.0 CodeBase: file:///C:/Users/Anthony/Downloads/GPSaveConverter/GPSaveConverter.exe

System.Runtime.CompilerServices.Unsafe Assembly Version: 6.0.0.0 Win32 Version: 0.4.7.0 CodeBase: file:///C:/Users/Anthony/Downloads/GPSaveConverter/GPSaveConverter.exe

System.Text.Encodings.Web Assembly Version: 8.0.0.0 Win32 Version: 0.4.7.0 CodeBase: file:///C:/Users/Anthony/Downloads/GPSaveConverter/GPSaveConverter.exe

System.Buffers Assembly Version: 4.0.3.0 Win32 Version: 0.4.7.0 CodeBase: file:///C:/Users/Anthony/Downloads/GPSaveConverter/GPSaveConverter.exe

Microsoft.Bcl.AsyncInterfaces Assembly Version: 8.0.0.0 Win32 Version: 0.4.7.0 CodeBase: file:///C:/Users/Anthony/Downloads/GPSaveConverter/GPSaveConverter.exe

System.ValueTuple Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ValueTuple/v4.0_4.0.0.0__cc7b13ffcd2ddd51/System.ValueTuple.dll

System.Numerics.Vectors Assembly Version: 4.1.4.0 Win32 Version: 0.4.7.0 CodeBase: file:///C:/Users/Anthony/Downloads/GPSaveConverter/GPSaveConverter.exe

System.Management.Automation Assembly Version: 3.0.0.0 Win32 Version: 10.0.26100.268 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management.Automation/v4.0_3.0.0.0__31bf3856ad364e35/System.Management.Automation.dll

Microsoft.PowerShell.Commands.Diagnostics Assembly Version: 3.0.0.0 Win32 Version: 10.0.26100.1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Commands.Diagnostics/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Commands.Diagnostics.dll

System.Configuration.Install Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration.Install/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.Install.dll

Microsoft.PowerShell.ConsoleHost Assembly Version: 3.0.0.0 Win32 Version: 10.0.26100.1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.ConsoleHost/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.ConsoleHost.dll

Microsoft.PowerShell.Commands.Utility Assembly Version: 3.0.0.0 Win32 Version: 10.0.26100.1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Commands.Utility/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Commands.Utility.dll

Microsoft.PowerShell.Commands.Management Assembly Version: 3.0.0.0 Win32 Version: 10.0.26100.1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Commands.Management/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Commands.Management.dll

Microsoft.Management.Infrastructure Assembly Version: 1.0.0.0 Win32 Version: 10.0.26100.1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Management.Infrastructure/v4.0_1.0.0.0__31bf3856ad364e35/Microsoft.Management.Infrastructure.dll

System.ServiceProcess Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceProcess/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll

System.Management Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll

Microsoft.PowerShell.Security Assembly Version: 3.0.0.0 Win32 Version: 10.0.26100.1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Security/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Security.dll

Microsoft.WSMan.Management Assembly Version: 3.0.0.0 Win32 Version: 10.0.26100.1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.WSMan.Management/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.WSMan.Management.dll

Microsoft.WSMan.Runtime Assembly Version: 3.0.0.0 Win32 Version: 10.0.26100.1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.WSMan.Runtime/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.WSMan.Runtime.dll

System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.8.9214.0 built by: NET481REL1LAST_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

System.DirectoryServices Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.DirectoryServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll

Anonymously Hosted DynamicMethods Assembly Assembly Version: 0.0.0.0 Win32 Version: 4.8.9241.0 built by: NET481REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll

System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

System.Transactions Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll

Microsoft.Windows.Appx.PackageManager.Commands Assembly Version: 10.0.0.0 Win32 Version: 10.0.26100.1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Windows.Appx.PackageManager.Commands/v4.0_10.0.0.0__31bf3856ad364e35/Microsoft.Windows.Appx.PackageManager.Commands.dll

netstandard Assembly Version: 2.0.0.0 Win32 Version: 4.8.9032.0 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll

** JIT Debugging ** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

For example:

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

image_2024-06-27_134731085

d5aqoep commented 3 months ago

Same issue here Windows 11 24H2

CrimsonNyte commented 1 month ago

@Patchworkk @Daasin Are you having this issue when you select FH from the game list, or at some other point in execution?What's listed in the trace and loaded assemblies would seem to indicate to me that the issue occured getting package information which happens when the game list is created, well before you would have a chance to click on any game on the list. If y'alls issue is happening at startup rather than on game selection then it would be a different issue than @Riqwaze had but I have a decent idea on what that your issue is. Try this version and see if it acts any differently: GPSaveConverter.zip

@Fr33dan Mine is straight after opening, after which I couldn't do anything.

But when I built it in VS Code and used NuGet to update the part that seemed relevant to System.Security.Principal (according to Google) ...it just worked after that. Although I did have to delete two lines relating to steam to successfully build and run it

Could you explain how you got this working? I have this issue still when I open the app and it doesnt even populate the game list. Completely blank.

Daasin commented 1 month ago

@Patchworkk @Daasin Are you having this issue when you select FH from the game list, or at some other point in execution?What's listed in the trace and loaded assemblies would seem to indicate to me that the issue occured getting package information which happens when the game list is created, well before you would have a chance to click on any game on the list. If y'alls issue is happening at startup rather than on game selection then it would be a different issue than @Riqwaze had but I have a decent idea on what that your issue is. Try this version and see if it acts any differently: GPSaveConverter.zip

@Fr33dan Mine is straight after opening, after which I couldn't do anything. But when I built it in VS Code and used NuGet to update the part that seemed relevant to System.Security.Principal (according to Google) ...it just worked after that. Although I did have to delete two lines relating to steam to successfully build and run it

Could you explain how you got this working? I have this issue still when I open the app and it doesnt even populate the game list. Completely blank.

I used VS Code to update some stuff in the code, and then deleted whatever lines stopped me running the code.

I forgot what I needed to update. I just googled and tried to figure out from there. Unfortunately I reset my PC since then so I don't have it anymore, but I'm sure anyone can do it, since I don't know the first thing about development.