dezem / SAK

Switch Army Knife (SAK)
2.21k stars 172 forks source link

NRO Forwarder is messing up paths #33

Closed BeckysFootSlave closed 2 years ago

BeckysFootSlave commented 2 years ago

Dear dezem,

I made a nsp with SAK because I wanted to have a NSP version of: NX Theme Installer! If I use the reboot button in the NSP version of it I will always be booted into OFW :( Something gets messed up on the way from NRO to NSP! If I use override of gametitle and do the same in the NRO version it uses "reboot to payload" (that I set up in atmosphere "system_settings.ini") correctly and boots into atmosphere!

I'm not a coder so I just have a maybe idea?!

Would it be possible to catch a "reboot _call" from the NRO and somehow inject it into the NSP when it is forwarded with SAK? Or would it be possible to code a function that recognize any reboot and will then use the "reboot to payload" function and injects that into the created NSP (something like a hook_up)?

Yeah, I know sounds stupid and crazy! Like I said: I'm definitely NOT a coder! Would be more than awesome to get something like that!

Greetings from Germany and thank you so much for your precious time! Have a nice weekend!

dezem commented 2 years ago

Hi there,

for me it works normal, if i use NXThemesInstaller it reboots me to CFW not OFW.

Could you try my attached version for the NSP Forwarder also the NXThemesInstaller.nro

NX Themes Installer-01c6947206ccb000.zip

Greez

BeckysFootSlave commented 2 years ago

Hello dezem,

Thank you so much! Didn't tried it but I will!

I found out, after writing you, that the problem is not using "override title" to get in HBL or using NSP that aren't from the developer itself! Forwarders can make lot of trouble especially if someone just made one!

Then I used override title function to get into high memory mode and your nro worked perfect in any case!

Also found out that the "System_settings.ini" from atmosphere wasn't used in way!

Thank you again and greetings from Germany! Have to try it later and will give you feedback!

PS if you are interested in my atmosphere settings with a really good DNS blocking host file take a look into it! Would be awesome to get feedback from you!

Host file is blocking extreme and also blocks many ads and tracking from Google and YouTube (if you use the YouTube app)! Had to trick a bit with the appstore to let it thru because the address is " switchbru.com" and everything with switch or nintendo is blocked! Also some game servers!

Have a nice weekend!

dezem @.***> schrieb am Fr., 11. Feb. 2022, 20:19:

Hi there,

for me it works normal, if i use NXThemesInstaller it reboots me to CFW not OFW.

Could you try my attached version for the NSP Forwarder also the NXThemesInstaller.nro

NX Themes Installer-01c6947206ccb000.zip https://github.com/dezem/SAK/files/8051098/NX.Themes.Installer-01c6947206ccb000.zip

Greez

— Reply to this email directly, view it on GitHub https://github.com/dezem/SAK/issues/33#issuecomment-1036537409, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADEXMUEO7DMU562ZOILFDWLU2VONTANCNFSM5NT7PNDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

dezem commented 2 years ago

I found out, after writing you, that the problem is not using "override title" to get in HBL or using NSP that aren't from the developer itself! Forwarders can make lot of trouble especially if someone just made one!

Yes, it's not the best way, but it works great for most. I'm personally not a fan of the forwarders and don't use them myself. But the community wants it, so it was integrated from some time ago into SAK. At the time when the original Nro2Nsp tool no longer supported the latest FW.

Also found out that the "System_settings.ini" from atmosphere wasn't used in way! There you can't change which payloads should be used for the reboot to payload. It only changes the feature from the normal reboot from the power menu.

If you want a special payload at reboot, you must change atmosphere/reboot_payload.bin with your one.

PS if you are interested in my atmosphere settings with a really good DNS blocking host file take a look into it! Would be awesome to get feedback from you! Host file is blocking extreme and also blocks many ads and tracking from Google and YouTube (if you use the YouTube app)! Had to trick a bit with the appstore to let it thru because the address is " switchbru.com" and everything with switch or nintendo is blocked! Also some game servers!

Ya i know it, your also on psxtools.de 😉

I'm kempa on psxtools...Grüße aus Deutschland 😄

BeckysFootSlave commented 2 years ago

Ich wusste da war doch was 😉

Das mit den Forwardern finde ich überhaupt nicht gut wenn mein Sohn gerne mal mit meiner switch spielt! So kommt er nicht auf Programme die einiges ändern können 😉

Du scheinst ja recht gut im Thema zu sein was nro angeht! Wie schwer wäre es aus einer apk eine nro zu machen? Wenn man apk in zip umbenennt kommt man ja ganz leicht an alle Daten! Ich denke da ganz speziell an das Youtube von vanced! Komplett schwarz (heute ist es ja schon besser geworden mit einstellen), I'm Hintergrund abspielen und das BESTE 0 ads (man kann ja jetzt bei vanced alles aus oder an machen)!

Gibt es eine Möglichkeit oder ist das Wunschdenken!

Lennytube (Youtube.nro + nsp) ist laut ihm nur eine Verlinkung auf Youtube.com 🤮🤮🤮)

Wünsche dir noch ein schönes Wochenende!

Gruß Oliver

dezem @.***> schrieb am Sa., 12. Feb. 2022, 15:06:

I found out, after writing you, that the problem is not using "override title" to get in HBL or using NSP that aren't from the developer itself! Forwarders can make lot of trouble especially if someone just made one! Yes, it's not the best way, but it works great for most. I'm personally not a fan of the forwarders and don't use them myself. But the community wants it, so it was integrated from some time ago into SAK. At the time when the original Nro2Nsp tool no longer supported the latest FW.

Also found out that the "System_settings.ini" from atmosphere wasn't used in way! There you can't change which payloads should be used for the reboot to payload. It only changes the feature from the normal reboot from the power menu.

If you want a special payload at reboot, you must change atmosphere/reboot_payload.bin with your one.

PS if you are interested in my atmosphere settings with a really good DNS blocking host file take a look into it! Would be awesome to get feedback from you! Host file is blocking extreme and also blocks many ads and tracking from Google and YouTube (if you use the YouTube app)! Had to trick a bit with the appstore to let it thru because the address is " switchbru.com" and everything with switch or nintendo is blocked! Also some game servers! Ya i know it, your also on psxtools.de 😉

I'm kempa on psxtools...Grüße aus Deutschland 😄

— Reply to this email directly, view it on GitHub https://github.com/dezem/SAK/issues/33#issuecomment-1037235045, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADEXMUAOC64PVHMPT5EEWQ3U2ZSMPANCNFSM5NT7PNDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

dezem commented 2 years ago

Please stay in english here 😉

Das mit den Forwardern finde ich überhaupt nicht gut wenn mein Sohn gerne mal mit meiner switch spielt! So kommt er nicht auf Programme die einiges ändern können

Ya, that's why it's the best to DON'T use NRO Forwarders...

Wenn man apk in zip umbenennt kommt man ja ganz leicht an alle Daten! Ich denke da ganz speziell an das Youtube von vanced! Komplett schwarz (heute ist es ja schon besser geworden mit einstellen), I'm Hintergrund abspielen und das BESTE 0 ads (man kann ja jetzt bei vanced alles aus oder an machen)! Gibt es eine Möglichkeit oder ist das Wunschdenken!

Unfortunately that's wishful thinking. Android apps don't run on the Switch in the Horizon OS. You have to install Android on your Switch to use the Android APKs.

You can't compare potatoes with pears 😄

BeckysFootSlave commented 2 years ago

Damn! Then it is indeed wishful thinking! I thought it would be possible because Android is kind of Linux! What is the base of horizon os? Isn't it also kind of Linux?

You see that I'm not a coder 😁

dezem @.***> schrieb am Mo., 14. Feb. 2022, 18:31:

Please stay in english here 😉

Das mit den Forwardern finde ich überhaupt nicht gut wenn mein Sohn gerne mal mit meiner switch spielt! So kommt er nicht auf Programme die einiges ändern können

Ya, that's why it's the best to DON'T use NRO Forwarders...

Wenn man apk in zip umbenennt kommt man ja ganz leicht an alle Daten! Ich denke da ganz speziell an das Youtube von vanced! Komplett schwarz (heute ist es ja schon besser geworden mit einstellen), I'm Hintergrund abspielen und das BESTE 0 ads (man kann ja jetzt bei vanced alles aus oder an machen)! Gibt es eine Möglichkeit oder ist das Wunschdenken!

Unfortunately that's wishful thinking. Android apps don't run on the Switch in the Horizon OS. You have to install Android on your Switch to use the Android APKs.

You can't compare potatoes with pears 😄

— Reply to this email directly, view it on GitHub https://github.com/dezem/SAK/issues/33#issuecomment-1039358929, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADEXMUF5IBFSI6LGSFGNIXTU3E355ANCNFSM5NT7PNDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

dezem commented 2 years ago

The Horizon OS is a own developed OS from Nintendo.

And ya the most OS on the marked are based on linux, also Windows. But you can't run the tools compiled for specific OS and hardware on a different OS without recompile it or use emulator stuff.

So it gets off topic here, i will close it also 😉

BeckysFootSlave commented 2 years ago

Got it, thanks!

dezem @.***> schrieb am Mi., 23. Feb. 2022, 18:04:

Closed #33 https://github.com/dezem/SAK/issues/33.

— Reply to this email directly, view it on GitHub https://github.com/dezem/SAK/issues/33#event-6126600773, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADEXMUG4AKXP3PMUPBMJBJTU4UHRVANCNFSM5NT7PNDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>