Oh. Seems like you are teaching me something new every day. lol.
I just know that I couldn't figure out how to use it until I read the README
Also, for some reason when I launch the secondary launcher it causes sound issues on some Homebrew (like PHBank).
Bug found maybe?
N3DS on version 10.1.0-27u
Using emergency launcher with themehax to default launch Mashers Grid Launcher and emergency boot Smealums Homebrew launcher.
When launching a Homebrew, like PcHex and PHBank, using the 'emergency launcher' there is a high pitched beep at the debug screen and then garbled garbage sound in the Homebrew itself.
It happens on the emergency launcher only and I have tested this by swapping default and emergency launchers around.
So I looked at the configure file and figured out how to change the delay myself. Just looked at the two files side by side and played Spot-The-Difference.
Anyways it's not making the sound with delay at 100.
Still not sure what the delay is but the sound is gone.
Going to try the old emergency boot just to make sure.
-------------
Tried the old emergency boot and did not have the same sound issue.
But looking at the configure file for the two releases there is a big difference.
------------
I can't replicate the issue I was having before at all now
Remember this incident? Well I can now 100% of the time replicate it and it happens with both launchers. Just not sure if it's Emergency Boot related now though...
N3DS on 10.1.0-27u
Emergency boot v0.2 (I believe that's the right version)
Mashers launcher as default boot.
Smeas launcher as secondary.
Using themehax.
Load Mashers HBL, wait a second or two for titles to load. Launch PHBank, no issue. Return to Launcher. Wait 3 seconds. Load 3DS Blackjack, which has sound. Exit back to launcher. Wait 3 seconds. Load PHBank again and during red screen/debug screen you hear a screeching, staticky beep. Then after it loads you hear staticky garbled garbage noise.
The screeching beep I mentioned also appears during the red/debug screen when launching other Homebrew titles too after having opened 3DS Blackjack.
Wish I could upload a short video showing this but I am on slow internet. (Basically dial up speed. 64kbs)
Went ahead and skipped to testing each launcher without emergency boot involved.Well, first upload to the lastest version (not that will probably help).
Secondly, try to replicate this issue chainload Homebrew Launcher. How? Remove HBL-emergency and directly boot Homebrew Launcher, copy the .3dsx that is your Homebrew Launcher to the 3ds folder, from there launch Homebrew Launcher from Homebrew Launcher menu. Repeat all steps (always remembering to relaunch Homebrew Launcher first before launching the homebrew).
Why? I want to know if this issue is caused by Homebrew Launcher original source code or my modifications. If the issue is on the original code I probably can't fix.
Went ahead and skipped to testing each launcher without emergency boot involved.
Grid launcher had the noise distortion.
Smea's launcher had the noise distortion.
------------
Fortunately I had IronHax to try as well, it had the same results.
------------
But unfortunately this means it's not something you can fix.
Further testing shows that it's an issue with Blackjack 3DS itself. Somehow the sound gets stuck trying to play after the game is closed?
Have you been able to replicate the issue that I have been describing?Author of 3DS Blackjack here. Looking into the sound issue. The game is made with Lua Player Plus so I'm trying to figure out if I'm doing something wrong or if there is a bug in the LPP source.
Have you been able to replicate the issue that I have been describing?
When I try to run PHBank bank it tells me to select a target then only lists system settings... I don't have a pokemon game so I don't think I can use it.
Regardless, I have been able to reproduce an issue with Blackjack 3DS and another test Lua program I made. Still trying to figure out exactly what's happening but at the moment I think there is a bug when terminating the sound system in LPP.
I'm less inclined to believe it's a sleep related issue. LPP basically just wraps libctru's CSND library, so right now I think it's an issue with either the library or possible the sound channel I'm using. Changing the sound channel seems to fix it but I'm still doing testing...I don't know exactly how it works in LPP, however the one thing that you may try (if it is possible in LPP) is to detect if the system is put in sleep, and finish the sound service. After the system goes out of the sleep, reinitialize the sound service.
Hi what's the difference in loading the payload, for example cakes.dat instead of cakes.3dsx?New release (0.5), adding support for payload loading: https://github.com/m45t3r/HBL-Emergency/releases/tag/v0.5
So now you can directly load /rxTools/sys/code.bin or /Cakes.dat. See the included boot_config.ini for examples. This feature is basically a reimplementation of CtrBootManager. The code from @cpasjuste helped a lot.
While adding payload support I saw the need for a standalone version of @mid-kid's CakeBrah, that may be used as a submodule (CakeBrah itself does not allow it since there is a main() function in it, so you first would need to exclude the main.c file from the project, making everything a mess). So I created a fork called libcakebrah. It includes some modifications from @d0k3, and fixes all the warnings, so you don't need to include -w in your Makefile just because of CakeBrah. I may upstream my modifications if @mid-kid find them interesting.
Hi what's the difference in loading the payload, for example cakes.dat instead of cakes.3dsx?
(CakeBrah itself does not allow it since there is a main() function in it, so you first would need to exclude the main.c file from the project, making everything a mess)
https://github.com/mid-kid/CakeBrah/pull/2
Same thing applies, just filter main.c in your Makefile, no need for forking.
I'll merge the warning fixes soon™, though right now I'm working on exams.