Homebrew crashes on exit when launched through forwarder
admiralspeedy opened this issue · 2 comments
Describe the bug
When trying to exit a homebrew app that has been launched through the HB Menu forwarder, it crashes with an error saying "The software was closed because an error occurred" instead of going back to HB Menu.
To Reproduce
- Install HB Menu forwarder
- Run a homebrew application
- Close application with + button or in-app exit button
- See error
Expected behavior
The app should return to HB Menu on exit.
Additional context
This has been a long standing issue with NSP forwarders, however I am 99.9% sure that your forwarder did not have this issue until I updated to HOS 16.0.0, AMS 1.5.1 tonight because when I found it about two months ago and tried it, it did not do this, which is why I switched to it over the other forwarder I was using before.
In the past, every other forwarder that I tried or made myself using the available tools exhibited this issue, at least after HOS 12.0.0 was released (which completely broke all NSP forwarders, and I had never used a forwarder before this version so I cannot confirm whether or not the issue existed prior to HOS 12.0.0), however like said, this issue did not appear to present on HOS 15.0.0 or 15.0.1 with Atmosphere 1.4.1 with your forwarder.
If you override the forwarder on launch by hold the right bumper, this issue doesn't happen, so a temporary fix is to set an override in the AMS config files to something like "override_key_1=!L" so that it automatically overrides the forwarder instead of just booting it normally.
This is more or less a duplicate of #1
However, I don't think your statements about it not having happened on older versions are true, unfortunately.
If you build the homebrew from the latest commit on master
branch, you will get to use a WIP forwarder build that may or may not help. Just I've not had enough testers for it, nor have an open-source version of its code. Hence no update including that ROM.
To do so, follow https://github.com/rlaphoenix/nton#from-source-code for instructions.
I was thinking about it a bit more, and I know for absolute fact that the first time I installed this forwarder on 15.0.1 it did not crash because I actually specifically tested it with NX Theme Injector, which has a software exit button in its menu (I've been using AMS for years and learned last night that you can hit the + button to close homebrew, had no idea) and it actually exited to the Homebrew Menu instead of crashing.
In fact, I actually flipped back and fourth with both your forwarder and the one I had installed before it that night and your worked while the other didn't, so I don't know if there is some variability in whatever causes this to where it could potentially work sometimes?