iUltimateLP / NXGallery

🎮 A Nintendo Switch Homebrew Application to transfer your screenshots to your phone or PC in no-time 📱⚡
MIT License
70 stars 3 forks source link

NXGallery crashes on trying to connect to the IP via web browser. #7

Closed velencourte closed 2 years ago

velencourte commented 3 years ago

I'm on Atmosphère 0.18.1 and FW 11.0.1, in a file-based EmuMMC. Upon launching NXGallery via title override, it crashes as soon as I enter my Switch's IP in a web browser. Additional information that might be helpful: Screenshots are stored in: SD:/emuMMC/SD00/Nintendo/Album Other sysmodules I'm running are sys-clk and nx-ovlloader.

Hopefully this helps, I don't really know what went wrong.

velencourte commented 3 years ago

Doing a little more testing, it seems to be in the same situation as Issue #4, as deleting all screenshots/videos allows me to connect via web browser. After taking one screenshot, it starts crashing NXGallery again.

iUltimateLP commented 3 years ago

Interesting, can you take a photo when your switch crashes? Thanks!

velencourte commented 3 years ago

Interesting, can you take a photo when your switch crashes? Thanks!

Sure! This is the webpage giving me an error, as well as a photo of NXGallery needing to be closed due to an error. Dunno what exactly you can glean from this, but I hope it helps. unknown PXL_20210325_175559801

iUltimateLP commented 3 years ago

Yea that did actually help very much, because it means that not the whole console crashed (in opposite to #4), but only the title you were running it from. If you try another title, does it still crash? Also, does it crash when NOT running it from a title, but the album hbmenu?

velencourte commented 3 years ago

Yea that did actually help very much, because it means that not the whole console crashed (in opposite to #4), but only the title you were running it from. If you try another title, does it still crash? Also, does it crash when NOT running it from a title, but the album hbmenu?

The title used for overriding doesn't appear to make a difference, but when running from the album hbmenu it results in a full-on Atmosphere crash. https://cdn.discordapp.com/attachments/745194418675515512/824708098647785543/PXL_20210325_1815072882.jpg I'll see if I can get a better image of the screen for readability; I'll update this comment when I can!

Edit: Done!

iUltimateLP commented 3 years ago

Thanks for your effort, I think that photo is already good enough! Going to use a few spare hours to see how I can replicate this, my Switch is still at FW 10, so I'll need to update that first. I'll keep you posted!

velencourte commented 3 years ago

Hey, any luck recreating this bug? I think the issue might be with the type of emuMMC used, as I believe the popular option is partition-based while I'm using a file-based emuMMC!

iUltimateLP commented 3 years ago

Hey! Didn't have the time to reproduce it, I also never used a file-based emuMMC, but my guess would be that the files for the album are stored elsewhere? What's the path yours are in?

iUltimateLP commented 3 years ago

Nevermind, just saw you attached the path in the original post. That might be it, since it does not check for that path. I'll add it and send you back a .nro you can test on your end. If it works, I'll make a new release with the fix :)

velencourte commented 3 years ago

Awesome! I'll keep my fingers crossed :)

iUltimateLP commented 3 years ago

Hey, sorry for the long time no answer. I've prepared this, try unzipping this on the root of your sd card, and try if it works. This also has debug mode enabled, so it will show debug messages on your switch. Let me know how it goes!

NXGallery_1.1b.zip

pixeltester commented 3 years ago

Hey, sorry for the long time no answer. I've prepared this, try unzipping this on the root of your sd card, and try if it works. This also has debug mode enabled, so it will show debug messages on your switch. Let me know how it goes!

NXGallery_1.1b.zip

Hello there. I just came across this and tested both this build and the master build compiled with the latest commits and the issue still exists unfortunately, exactly as described earlier in this issue.

edit: also I'm using normal sysnand - atmosphere 0.19.3 and firmware 12.0.2

iUltimateLP commented 3 years ago

@pixeltester Hm, your screenshots are stored at the same path as for @velencourte?

pixeltester commented 3 years ago

@pixeltester Hm, your screenshots are stored at the same path as for @velencourte?

Just normal sysnand, so the path is SD:/Nintendo/Album

iUltimateLP commented 3 years ago

@pixeltester Ah okay, you mentioned you compiled it yourself, what is the console output when running the app on the switch? It should be compiled with DEBUG.

iUltimateLP commented 2 years ago

Should be fixed in v2.0.0. If not, please comment here.