amakvana / SwitchEmuModDownloader

SwitchEmuModDownloader - A Cross-Platform One-Click Games Mod Downloader for Switch emulators. Formerly YuzuModDownloader.
GNU General Public License v3.0
567 stars 35 forks source link

Unhandled exception when choosing TheBoy181 Repo #21

Closed mp44christos closed 1 year ago

mp44christos commented 1 year ago

When selecting the download server “TheBoy181 GitHub Repo” a Microsoft .NET Framework error pops up and the app crashes. The app works perfectly with the official Repo.

Screenshots https://imgur.com/a/aRu58SO https://pastebin.com/vf6aQ9mu

Desktop

amakvana commented 1 year ago

Can't seem to reproduce it on my end.

Can you send me the list of games you have within Yuzu, along with their Game ID's? The ID's begin with 0x, see screenshot below:

image

Also, can you send me a screenshot of your "Filesystem" setup? Open Yuzu > Emulation > Configure > System > Filesystem. It should look like this:

image

mp44christos commented 1 year ago

0100A3D008C5C000 010028600EBDA000 0100000000010000 01007EF00011E000 01006F8002326000 01007300020FA000 01004A4010FEA000 01009BF0072D4000 0100F9F00C696000 0100C1F0051B6000 01002B00111A2000 01004D300C5AE000 0100DCA0064A6000 010067300059A000 0100317013770000 0100152000022000 01006FE013472000 010093801237C000 0100F4C009322000 01001F5010DFA000 0100187003A36000 0100C2500FC20000 01006A800016E000 01006BB00C6F0000 01006000040C2000

https://imgur.com/a/JV2jk7M

reloxx13 commented 1 year ago

+1

Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.Net.WebException: Die Anfrage wurde abgebrochen: Die Verbindung wurde unerwartet getrennt..
   bei System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   bei System.Net.HttpWebRequest.MakeMemoryStream(Stream stream)
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   bei YuzuModDownloader.ModDownloader.<DownloadModsAsync>d__26.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   bei YuzuModDownloader.TheBoy181ModDownloader.<DownloadModsAsync>d__4.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   bei System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   bei YuzuModDownloader.frmMain.<btnDownload_Click>d__2.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)

************** Geladene Assemblys **************
mscorlib
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4515.0 built by: NET48REL1LAST_C.
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll.
----------------------------------------
YuzuModDownloader
    Assembly-Version: 1.3.0.0.
    Win32-Version: 1.3.0.0.
    CodeBase: file:///A:/Emus/yuzu/app/Yuzu%20Early%20Access/YuzuModDownloader.exe.
----------------------------------------
System.Windows.Forms
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4550.0 built by: NET48REL1LAST_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.4536.0 built by: NET48REL1LAST_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.4390.0 built by: NET48REL1LAST_C.
    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.4190.0 built by: NET48REL1LAST_B.
    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.4590.0 built by: NET48REL1LAST_B.
    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.4084.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
Accessibility
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4084.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll.
----------------------------------------
HtmlAgilityPack
    Assembly-Version: 1.11.46.0.
    Win32-Version: 1.11.46.
    CodeBase: file:///A:/Emus/yuzu/app/Yuzu%20Early%20Access/HtmlAgilityPack.DLL.
----------------------------------------
System.Net.Http
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4084.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll.
----------------------------------------
System.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4084.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.resources.dll.
----------------------------------------
mscorlib.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4084.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.
----------------------------------------
System.Windows.Forms.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4084.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.
amakvana commented 1 year ago

Looking the XML's and mod urls pulled when scraping, it's definitely to do with certain characters within the URLs. Going to look into a couple fixes now

amakvana commented 1 year ago

@reloxx13 @mp44christos try the copy attached and let me know if this resolves the issue YMD_Crash_Fix.zip

Extract and override the existing YuzuModDownloader copy you both have

mp44christos commented 1 year ago

@reloxx13 @mp44christos try the copy attached and let me know if this resolves the issue YMD_Crash_Fix.zip

Extract and override the existing YuzuModDownloader copy you both have

It worked. But it only downloaded mods for 3 games.

amakvana commented 1 year ago

It worked. But it only downloaded mods for 3 games.

You may have to check what version your games are on. Not all versions of games are compatible with the mods on theboy181's server.

So for example, Donkey Kong Tropical Freeze v1.0.0 supports mods, however v1.0.1 and v1.0.2 do not therefore if your dump is 1.0.1 or 1.0.2, no mods would be downloaded for this title

I tested your games library in the reply above with all game versions set as 1.0.0 and it downloaded mods for 5 games.

reloxx13 commented 1 year ago

heya, thank you for the fast fix, it works now and downloaded alot mods for 6 games from theboy which is a valid count.

amakvana commented 1 year ago

Thanks for confirming @reloxx13 @mp44christos. I will push this shortly to the main repo

amakvana commented 1 year ago

Closed - Fixed in v1.3.1.0 https://github.com/amakvana/YuzuModDownloader/releases/latest