Hacking libnx now public

adrifcastr

Well-Known Member
Member
Joined
Sep 12, 2016
Messages
2,038
Trophies
0
XP
1,947
Country
Germany
It doesn't "work" with any firmware. This isn't to run homebrew, it's merely the libraries used to write and build homebrew. Even with this we would still need code execution and an entry point, which isn't currentely available (at least not publicly).
It will work on whatever firmrwares we have code execution on.
Well, I am pretty sure the private builds of CTU are capable of debugging NRO binaries.
 

Chuardo

Well-Known Member
Member
Joined
Oct 4, 2015
Messages
418
Trophies
0
Age
23
XP
1,021
Country
Uruguay
It doesn't "work" with any firmware. This isn't to run homebrew, it's merely the libraries used to write and build homebrew. Even with this we would still need code execution and an entry point, which isn't currentely available (at least not publicly).
It will work on whatever firmrwares we have code execution on.
Understandable, I will probably get a Switch from the 1st wave made in March made so I don't know on which firmware would that even be or if the games ask for a newer firmware if they are new like the 3DS and Wii U did and if it really is the wisest decision to keep the console on 3.0.0 from what I'm reading in here being like 5.3.2 on Wii U some time ago.
 

billcosby

New Member
Newbie
Joined
Aug 31, 2017
Messages
3
Trophies
0
Age
34
XP
57
Country
United States
Heh I'll believe homebrew when I see it. It took other consoles forever to have homebrew so it must be the case here. Also a mod this thread should be closed.
/s
 
  • Like
Reactions: Deleted User

BtheDestroyer

Member
Newcomer
Joined
Apr 1, 2016
Messages
16
Trophies
0
Age
26
XP
124
Country
United States
Someone asked this before but it was never answered.

`Makefile:9: /opt/devkitpro/devkitA64/base_rules: No such file or directory`

Been searching the internet for a while and can't figure out where to get base_rules from. It's not in devkitpro's sourceforge.

EDIT: Found it! They're in libnx's buildscripts folder.
 
Last edited by BtheDestroyer,

nop90

Well-Known Member
Member
Joined
Jan 11, 2014
Messages
1,556
Trophies
0
Location
Rome
XP
3,136
Country
Italy
Someone asked this before but it was never answered.

`Makefile:9: /opt/devkitpro/devkitA64/base_rules: No such file or directory`

Been searching the internet for a while and can't figure out where to get base_rules from. It's not in devkitpro's sourceforge.

EDIT: Found it! They're in libnx's buildscripts folder.

Run "make install" from the libnx top folder after installing devkitA64 and setting thr DEVKITA64 variable, end everything will be copyed in the right position. Beware that there are a couple of things to be fixed (already sent a PR)
 
  • Like
Reactions: peteruk

Bladexdsl

fanboys triggered 9k+
Member
Joined
Nov 17, 2008
Messages
21,157
Trophies
2
Location
Queensland
XP
12,261
Country
Australia
Again, no one in this thread has stated anything about backup loaders. So far we've only talked about homebrew.
BULLSHIT mate that's what it's always about! no one gives a rats ass about actual homebrew. all people care about is can't wait to play ma pirated gaems :rofl:
 
Last edited by Bladexdsl,

BtheDestroyer

Member
Newcomer
Joined
Apr 1, 2016
Messages
16
Trophies
0
Age
26
XP
124
Country
United States
Run "make install" from the libnx top folder after installing devkitA64 and setting thr DEVKITA64 variable, end everything will be copyed in the right position. Beware that there are a couple of things to be fixed (already sent a PR)

Yeah the problem I had with that was I forgot to use `-E` with `sudo` so `sudo make install` was installing to `/` rather than `$DEVKITA64`
 

Risingdawn

Tempallica
Member
Joined
May 22, 2010
Messages
1,088
Trophies
1
XP
1,700
Country
United Kingdom
Plus, the Switch has eFuses, so no downgrading... It's gonna be interesting to see what comes of Switch homebrew, and if the system will ever get a hack as amazing as A9LH/B9S that Nintendo can't patch out.
I don't think A9LH would have even been possible at all had efuses been in the 3DS, possibly B9S too, at least as far as running software past a certain FW you're not on.

It's going to take a long long time to see software post 3.0.1 run on a 3.0.0 unit as far as I'm aware and could very well never happen.

Anyone looking for backup loaders for new games on 3.0.0 are in for just as rocky road as 3.0.1+ looking for homebrew I reckon. But I'm by no means an authority on the situation.
 

vgmoose

Well-Known Member
Member
Joined
Jan 31, 2016
Messages
360
Trophies
1
Website
github.com
XP
3,072
Country
United States
If anybody needs help setting this up and compiling the "simple" example, I wrote up the steps I took to compile it here: https://gist.github.com/vgmoose/8844a812c4bf50889e3f2b65359a6930

Like someone else said earlier in the thread, there's no way (even privately I think) to run these on a retail switch, but CageTheUnicorn should allow it to be emulated. I haven't tried it yet, though. Their "simple" example just sleeps for 5 seconds then exits, there's no graphical functions that are included in libnx at this time.

I think that the next steps would be to have something similar to the Wii U's OSScreen library RE'd, and then also of course a way to run it on the console. That should put the switch at the 5.5.1/Userland homebrew days of the Wii U.
 

WiiFoundLove

Well-Known Member
Member
Joined
Jan 18, 2015
Messages
280
Trophies
0
Age
54
XP
367
Country
Afghanistan
Ok. "make install" fails on creating "/aarch64-none-elf/lib", even with sudo. After a manual create i have three files in there:

switch_crt0.o
switch.ld
switch.specs

Is this correct?
 
Last edited by WiiFoundLove,

V-Temp

Well-Known Member
Member
Joined
Jul 20, 2017
Messages
1,227
Trophies
0
Age
34
XP
1,342
Country
United States
I think that the next steps would be to have something similar to the Wii U's OSScreen library RE'd, and then also of course a way to run it on the console. That should put the switch at the 5.5.1/Userland homebrew days of the Wii U.

Will be much more limited than 5.5.1 WiiU due to the lack of software compatibility of lower than 3.0.1 firmware going forward (and already if digital or DLC) and inability to spoof FW. This was discovered too early, too, so the compliant Switches will be irrelevantly small if not already except for those few who are paying attention to the current scene which, unfortunately, won't be many since there's nothing for the general low-end user.

It will still be a bit until we get public retail code execution and get actual software development going for it.
 
Last edited by V-Temp,

vgmoose

Well-Known Member
Member
Joined
Jan 31, 2016
Messages
360
Trophies
1
Website
github.com
XP
3,072
Country
United States
Ok. "make install" fails on creating "/aarch64-none-elf/lib", even with sudo. After a manual create i have three files in there:

switch_crt0.o
switch.ld
switch.specs

Is this correct?
Are you using my instructions? For me, the "/aarch64-none-elf/lib" is included from extracting the devkitA64 .7z file in step 1.

Will be much more limited than 5.5.1 WiiU due to the lack of software compatibility of lower than 3.0.1 firmware going forward (and already if digital or DLC) and inability to spoof FW. This was discovered too early, too, so the compliant Switches will be irrelevantly small if not already except for those few who are paying attention to the current scene which, unfortunately, won't be many since there's nothing for the general low-end user.

It will still be a bit until we get public retail code execution and get actual software development going for it.
By 5.5.1/Userland days, I'm referring to the period of time when 5.3.2 had a kernel exploit and could run gx2 apps, but 5.5.1 only had a userland exploit and could run small, simple OSScreen homebrews. Forgot that 5.5.1 went on to be the champion of the Wii U scene :)

So basically libnx could become something like this with a bit more RE-ing and a way to execute the userland apps: https://github.com/wiiudev/libwiiu . I agree all of those things you said would be needed eventually and the road ahead is long, but this is at least a foot in the door.
 
Last edited by vgmoose,

TotalInsanity4

GBAtemp Supreme Overlord
Member
Joined
Dec 1, 2014
Messages
10,800
Trophies
0
Location
Under a rock
XP
9,814
Country
United States
Will be much more limited than 5.5.1 WiiU due to the lack of software compatibility of lower than 3.0.1 firmware going forward (and already if digital or DLC) and inability to spoof FW. This was discovered too early, too, so the compliant Switches will be irrelevantly small if not already except for those few who are paying attention to the current scene which, unfortunately, won't be many since there's nothing for the general low-end user.

It will still be a bit until we get public retail code execution and get actual software development going for it.
*cough* Wii U IOSU *cough* this is just like that *cough*
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: This parrot is no more it has ceased to be!