libnx released, library to write Nintendo Switch homebrew
Switch hackers Yellows8 and Plutoo have released libnx, a C library to write usermode homebrew for the Nintendo Switch.
Of course, writing and running Nintendo Switch Homebrew will require access to a native Nintendo Switch exploit, which does not publicly exist yet. Pegaswitch is “only” a Webkit entry point which does not give native access to homebrew at the moment.
However, Multiple hackers have confirmed that Nintendo Switch on firmware 3.0.0 and below are vulnerable to smhax. Smhax is an undisclosed native exploit for the Switch, but some people are assuming that the release of libnx implies smhax, or some other native exploit, will be released soon.
Libnx is based on libctru, the library for native 3DS homebrews.
For now, libnx looks extremely barebones. In particular there are no meaningful homebrew samples included yet, although I assume these will come soon if an exploit is released and the scene gets excited about Switch homebrew.
Download and install libnx for Nintendo Switch
You can download libnx from the project’s github here. Make/Use instructions are in the Readme.
Source: Yellows8
Lets hope for some releases infront of Mario Odyssey release 🙂
is it happening? Is it really happening? I can’t wait.
Since “Libnx is based on libctru, the library for native 3DS homebrews” I wonder how easy it will be to port 3DS homebrew (of course libctru based) to the Switch. Would be nice to even see a ‘hello, world’ before the Switch’s 1st year anniversary.
Do C libraries work in C++ or do I need to do a bit of editing?
Should work in C++ out of the box, the headers seem to have the C++ definitions checked
My switch has 3.0.1. Is there any way to downgrade it to 3.0.0, without bricking the console?
No.
See this article: http://wololo.net/2017/08/24/nintendo-switch-prevents-downgrading/