Hacking [Release]BootNTR Selector

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,287
Country
United States
Last edited by chaoskagami,

Nanquitas

Well-Known Member
OP
Member
Joined
Sep 29, 2015
Messages
2,345
Trophies
0
Age
30
Location
South of France :)
XP
3,336
Country
France
This was from sitting around and screwing with ntr.bin in IDA, for anyone curious. I repointed all the strings for paths to the end in larger buffers. Only for 3.4p2 right now, but I'm backporting to 3.2.

Xdelta files for anyone curious (don't ask for prepatched from me): https://github.com/chaoskagami/misc_3ds/tree/master/ntr_pathhack
Oh right thank you !
I'll try to see that, it should help improving again the boot time !
A big thank for this advice ! :)
 

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,287
Country
United States
Oh right thank you !
I'll try to see that, it should help improving again the boot time !
A big thank for this advice ! :)

It's not to improve boot time, it's to be able to load NTR files without root path clutter.
 

Nanquitas

Well-Known Member
OP
Member
Joined
Sep 29, 2015
Messages
2,345
Trophies
0
Age
30
Location
South of France :)
XP
3,336
Country
France
I know but for now, in order to do a selector I make a copy of the selected version with the name ntr.bin.
If I can freely put any path I can skip this copy and obviously make the boot faster ;)
 

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,287
Country
United States
I know but for now, in order to do a selector I make a copy of the selected version with the name ntr.bin.
If I can freely put any path I can skip this copy and obviously make the boot faster ;)

This is for NTR.bin itself, and only 3.4p2 atm. It's still hardcoded into NTR.bin. But yeah, there'd be no need to perform a copy here, because it's located elsewhere.

If you apply the xdelta and pop it in a hex editor and go to the end, you'll see what I did. Every path was given 256 character buffers and relocated to the end.
 
Last edited by chaoskagami,

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,287
Country
United States
I thought that this was a limitation on the ntr.bin, but didn't think of editing it.
Thanks to you I'll take a look at it (I'm a noob so it sounds really fun !!! :P).

It is. I repointered the strings to the end to fix it. ;)

It took like...six hours? @Shadowhand, I'm too lazy to look through irc logs. How long did this take?
 
  • Like
Reactions: Nanquitas

Nanquitas

Well-Known Member
OP
Member
Joined
Sep 29, 2015
Messages
2,345
Trophies
0
Age
30
Location
South of France :)
XP
3,336
Country
France
The funny thing is that I really did do it just for the heck of it. I don't even like nor use NTR normally, so aside from 'having fun' there was no reason. ;)
Well you have a lot of skills so I don't doubt your words ahah.

I'm new in the programming world so I still have a long way before me, but one day... Who know ?! :P
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Bunjolio @ Bunjolio: +2