switchbrew / libnx

Library for Switch Homebrew

Home Page:https://switchbrew.github.io/libnx/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

appletRequestLaunchApplication is broken

WerWolv opened this issue · comments

commented

Calling appletRequestLaunchApplication with any titleID and NULL for the AppletStorage results in a popup stating Could not start the Software and the home menu to show up. I do own all the games on my system and they start up properly when launching them from the home menu.

And with a TID for a title that doesn't exist? What sysver? EDIT: From Application or LibraryApplet?

FWIW using appletExecuteProgram with an invalid programIndex has a similar result (which would then use a title that doesn't exist): https://switchbrew.org/wiki/Applet_Manager_services#ProgramSpecifyKind

commented

Same with a titleID that doesn't exist. The titleIDs are definitely valid as I use them without any issue for mounting save data file systems.
System version is 8.1.0.
I tried with both setting __nx_applet_type to ether Application and LibraryApplet and also by launching the homebrew though the Album and through an Application override. Same result every time.

Try from a dedicated app with a hard-coded titleID?

commented

Dedicated app? How would I do that?

As in a nro app.

commented

Nope, doesn't seem to work either...

Code? What libnx build are you using? Vanilla atmo, without any extra /atmosphere/titles/ etc?

Works fine here FWIW...

commented

It works now. Not sure what I did wrong exactly though