New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Suggestion) Launch the HBL by pressing R #11

Closed
mariogamer2 opened this Issue Jul 12, 2018 · 15 comments

Comments

Projects
None yet
4 participants
@mariogamer2
Contributor

mariogamer2 commented Jul 12, 2018

The first issue seem to be forgotten. I also wanted to clean it up.

Here are the changes made to ldr_npdm and ldr_nso in a pastebin:
https://pastebin.com/RqgZpqVA

I know that doing it in atmosphere isn't a solution. It is a work around until the official framework come.

@mariogamer2

This comment has been minimized.

Contributor

mariogamer2 commented Jul 12, 2018

The title id line was fixed by someone. Don't remember the name in the commit tho.

And please telle if there are errors and I'll hopefully fix them ASAP.

It is supposed to launch the exefs normally except for album, which load normally if nothing is pressed (and hb if R is pressed)

@tumGER

This comment has been minimized.

Member

tumGER commented Jul 13, 2018

Could you put that into a github repo instead - Pastbin isn't ideal for code sharing

@tumGER tumGER added the enhancement label Jul 13, 2018

@mariogamer2

This comment has been minimized.

Contributor

mariogamer2 commented Jul 13, 2018

Atmosphere-NX/Atmosphere@master...mariogamer2:master

Had no time yesterday.
Might be a little weird since I committed in my phone.

@tumGER

This comment has been minimized.

Member

tumGER commented Jul 13, 2018

2144-0001 crashes on clicking on the album

@tumGER tumGER added the help wanted label Jul 13, 2018

@mariogamer2

This comment has been minimized.

Contributor

mariogamer2 commented Jul 13, 2018

At least the system boots. That means I didnt messed the comparison.
Every other title are working fine right?

@tumGER

This comment has been minimized.

Member

tumGER commented Jul 13, 2018

Yup, other titles work fine

@mariogamer2

This comment has been minimized.

Contributor

mariogamer2 commented Jul 13, 2018

Try this with an sd card inserted.
It should write a dbgnpdm.txt to youre.sd, who contain dbg* (*=number). Tell me the number please. (All of this while launching album with nothing pressed)

https://github.com/mariogamer2/Atmosphere/tree/test1/stratosphere

(May not work tho)

@WerWolv98

This comment has been minimized.

Collaborator

WerWolv98 commented Jul 13, 2018

I tinkered around myself a bit with that now and I'm pretty sure that sysmodules don't have real access to the hid because they aren't applets. So far I haven't found a workaround for that...

@WerWolv98

This comment has been minimized.

Collaborator

WerWolv98 commented Jul 13, 2018

Additionally, because loader is no applet, we can't initialize hid with libnx. This means the sharedMemory is uninitialized, which causes hidScanInput() to throw an access violation.

@mariogamer2

This comment has been minimized.

Contributor

mariogamer2 commented Jul 13, 2018

Ok. Definitely knew there was something wrong with the hid stuff. Still surprised by the error code tho.

There might be othere ways of doing this tho, but that would involve a lot of modification in hbl or sth else.

@mariogamer2 mariogamer2 reopened this Jul 13, 2018

@mariogamer2

This comment has been minimized.

Contributor

mariogamer2 commented Jul 13, 2018

Actually there must be some other ways, since tx probably did something similar, but somewhere else,maybe?

@tumGER

This comment has been minimized.

Member

tumGER commented Jul 14, 2018

I'd guess that it somehow is doable but I think it would require some manual work on lower level stuff that no one really wants to invest serious time into. There is also the easy option to just wait until SX OS is cracked and look at how they did it :P

@mariogamer2

This comment has been minimized.

Contributor

mariogamer2 commented Jul 15, 2018

Yeah.
I'd love to avoid that, even if it's an option :p. (Tho it would be simple, but since they did it, we should be able to do it too :) )

@Brawl345

This comment has been minimized.

Collaborator

Brawl345 commented Jul 15, 2018

Hardcoding the TID is reaaaally not what we want. It's a feature request for Atmosphère, not for SDFiles, hence I will close this issue (and you should really have a way to test it yourself and make sure it's working).

@Brawl345 Brawl345 closed this Jul 15, 2018

@Brawl345 Brawl345 added wontfix and removed help wanted labels Jul 15, 2018

@mariogamer2

This comment has been minimized.

Contributor

mariogamer2 commented Jul 15, 2018

As I said before this is a workaround until the official framework get implemented onto atmo, thus not being a request for atmo, but for sdfiles.

(I don't have a 64bit pc by the way, for stupid reasons :p)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment