Hacking Official Corbenik - Another CFW for advanced users (with bytecode patches!)

chaoskagami

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

All of this inside a unix-like terminal with autoconf, make and devkitPro/dkA

You're gonna love it even more once libctr9 is fully supported (crypto is missing some little things)

Actually no. Just make sure the submodule clones successfully and the build system SHOULD build it itself. I don't use an external one because the API isn't stable yet, and this allows me to fix it at my own rate if Gelex breaks the API.

The chainloader menu has also been fixed for a very long time, and some shims are in place so crypto works. For now.

I just tried the latest commit and it is awesome!!!

The only thing that I saw as a minor problem is that 4 of 5 times I click 'up' or 'down' the selection jumps 2 options
Before the update, it happened sometimes only

I really have no clue what is causing this. Some people have this issue, some don't. I can only assume some consoles have broken dpads. The only fix is to vsync. Luckily, libctr9 now has initial timer support, so this will be much less painful.

So is libctr9 basically like libctru, but for arm9 payloads instead of arm11 ones?

Or is there something I'm missing?

No. libctru is for userland programs - thus the 'u' in it. libctr9 is a sort of abstraction layer for doing more complicated things on ARM9 with less code. I imported it largely to ease maintenance, since I was able to eliminate quite a bit of code.
 
Last edited by chaoskagami,
  • Like
Reactions: Gray_Jack

WilliamO7

Well-Known Member
Newcomer
Joined
Aug 6, 2015
Messages
68
Trophies
0
Location
The troll hole
XP
123
Country
No. libctru is for userland programs - thus the 'u' in it. libctr9 is a sort of abstraction layer for doing more complicated things on ARM9 with less code. I imported it largely to ease maintenance, since I was able to eliminate quite a bit of code.

That's what I meant by it being like libctru - since that is just an abstraction layer for the 3DS ARM11 userspace (through multihax).

Nevertheless, it still looks like a pretty good library.
 
Last edited by WilliamO7,

gnmmarechal

Well-Known Member
Member
GBAtemp Patron
Joined
Jul 13, 2014
Messages
6,049
Trophies
2
Age
25
Location
https://gs2012.xyz
Website
gs2012.xyz
XP
6,033
Country
Portugal
I just tried the latest commit and it is awesome!!!

The only thing that I saw as a minor problem is that 4 of 5 times I click 'up' or 'down' the selection jumps 2 options
Before the update, it happened sometimes only
I can't reproduce this.

Sent from my Nokia 3310 using Tapatalk
 

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
OP
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,287
Country
United States
That's what I meant by it being like libctru - since that is just an abstraction layer for the 3DS ARM11 userspace (through multihax).

Nevertheless, it still looks like a pretty good library.

Gelex is actually a professional, so he's being very careful to design it well. This means making it as flexible as possible and doing things as correctly as possible. Frankly, if people cared as much as him about proper design the whole scene would be a better place.

As a side note unrelated to Corbenik, y'all can throw fatal errors to the global err:f port in ctrulib and trigger ErrDisp now manually. :P
 

Orkna

Well-Known Member
Member
Joined
Feb 7, 2014
Messages
379
Trophies
0
Location
Sviiiiiden
XP
277
Country
I just tried the latest commit and it is awesome!!!

The only thing that I saw as a minor problem is that 4 of 5 times I click 'up' or 'down' the selection jumps 2 options
Before the update, it happened sometimes only

"Nice" to see that I'm not the only one with this problem. ;)
We are talking about the problem a couple of posts before yours.
 
Last edited by Orkna,
  • Like
Reactions: Gray_Jack

The Catboy

GBAtemp Official Catboy™: Savior of the broken
Member
Joined
Sep 13, 2009
Messages
28,144
Trophies
4
Location
Making a non-binary fuss
XP
39,956
Country
Antarctica
I just tried the latest commit and it is awesome!!!

The only thing that I saw as a minor problem is that 4 of 5 times I click 'up' or 'down' the selection jumps 2 options
Before the update, it happened sometimes only
I can not replicate this and I am actually trying pretty hard.
You might have a problem with your D-Pad, have you tried cleaning it or using some compressed air on it?
 

gnmmarechal

Well-Known Member
Member
GBAtemp Patron
Joined
Jul 13, 2014
Messages
6,049
Trophies
2
Age
25
Location
https://gs2012.xyz
Website
gs2012.xyz
XP
6,033
Country
Portugal
So,

Updated to last skeith build and when powering on, black screen, no config menu, on O3DS and N3DS (I wiped everything on the SD to start fresh)
So i renamed "arm9loaderhax.bin to arm9loaderhax_si.bin and now it works/boots fine on O3DS and N3DS.
That's strange. It used to work even without screeninit, did it not?
 

The Catboy

GBAtemp Official Catboy™: Savior of the broken
Member
Joined
Sep 13, 2009
Messages
28,144
Trophies
4
Location
Making a non-binary fuss
XP
39,956
Country
Antarctica
I wonder if it's specific to a particular type of 3DS. Maybe a particular model or region or some combination.
I can post mine and see if that helps
Old3ds: US Version running A9LH (Aurora Wright mini-CFW version) running the current skeith
So,

Updated to last skeith build and when powering on, black screen, no config menu, on O3DS and N3DS (I wiped everything on the SD to start fresh)
So i renamed "arm9loaderhax.bin to arm9loaderhax_si.bin and now it works/boots fine on O3DS and N3DS.
Did you make sure you kept your firmware files?
 

The Catboy

GBAtemp Official Catboy™: Savior of the broken
Member
Joined
Sep 13, 2009
Messages
28,144
Trophies
4
Location
Making a non-binary fuss
XP
39,956
Country
Antarctica
Yupz, i'm sure i used the correct firmware and keys on both systems
(cause it's working now after renaming it to arm9loaderhax_si.bin on both systems)
Are you running the screenin version of A9LH?
 

DjoeN

Captain Haddock!
Member
Joined
Oct 21, 2005
Messages
5,489
Trophies
0
Age
54
Location
Somewhere in this potatoland!
Website
djoen.dommel.be
XP
2,857
Country
Belgium
Are you running the screenin version of A9LH?
There is no seperate screeninit/no screeninit version since last A9LH update. Screeninit and No Screeninit got merged into 1 file (if using AuroraWright's version)
You just use arm9loaderhax.bin for the no screeninit version, rename it arm9loaderhax_si.bin for the screen init version.
 

The Catboy

GBAtemp Official Catboy™: Savior of the broken
Member
Joined
Sep 13, 2009
Messages
28,144
Trophies
4
Location
Making a non-binary fuss
XP
39,956
Country
Antarctica
There is no seperate screeninit/no screeninit version since last A9LH update. Screeninit and No Screeninit got merged into 1 file (if using AuroraWright's version)
You just use arm9loaderhax.bin for the no screeninit version, rename it arm9loaderhax_si.bin for the screen init version.
Ok, so I actually decided to test this out since I used arm9loaderhax_si.bin, but renaming it arm9loaderhax.bin, just boots to a black screen as well on me.
 
  • Like
Reactions: DjoeN

The Catboy

GBAtemp Official Catboy™: Savior of the broken
Member
Joined
Sep 13, 2009
Messages
28,144
Trophies
4
Location
Making a non-binary fuss
XP
39,956
Country
Antarctica
Glad to see it's not me alone ;)
So we can asume, when using AuroraWright's latest A9LH "No Screen Init" doesn't seem to work with latest skeith release.
Well it works, just arm9loaderhax.bin seems broken. Otherwise using arm9loaderhax_si.bin works just fine.
 
  • Like
Reactions: DjoeN

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    Still don't know why he left unless someone really hurt his feelings
  • K3Nv2 @ K3Nv2:
    Don't know why people get so emotional online just get over it ffs
    +2
  • BigOnYa @ BigOnYa:
    He was the ass of gbatemp, everyone knocked on him, I honestly felt bad, even though I was guilty myself, but he egged it all on himself,
  • BigOnYa @ BigOnYa:
    But he still here, but under dif name, he pm me sometimes still even.
  • K3Nv2 @ K3Nv2:
    It's like they think we'll be in their bed pissing on it the next day
  • BigOnYa @ BigOnYa:
    I feel like gbatemp should make t-shirts or memorabilia to remember the lost ones. I bet the Polly shirts would sell out quick.
  • K3Nv2 @ K3Nv2:
    Nah that could actually bring lawsuits
  • K3Nv2 @ K3Nv2:
    Tempsuits
  • BigOnYa @ BigOnYa:
    PollySuits
  • BigOnYa @ BigOnYa:
    Your correct, Somebody would be guilty and there would be riots, then they storm the gbatemp capitol,
  • K3Nv2 @ K3Nv2:
    Online or not there are still certain rights that judges would have no issue handing out a warrant over
  • K3Nv2 @ K3Nv2:
    Just look at Kim dotcom
  • BigOnYa @ BigOnYa:
    Honestly I'm scared to, from you, but ok, lemme turn on vpn, virtual machine, private browser first
  • K3Nv2 @ K3Nv2:
    Remember that Alexa robot I gifted you
  • K3Nv2 @ K3Nv2:
    And that laptop Webcam you never tapped up
  • BigOnYa @ BigOnYa:
    That robot is here somewhere, I hear it moving around at night, but I haven't seen it for months.
  • BigOnYa @ BigOnYa:
    Oh that laptop I give to ancientboi, so you been watching him for months, and he's been watching you
  • K3Nv2 @ K3Nv2:
    Oh good more than enough material for the fbi
    +2
  • BigOnYa @ BigOnYa:
    Damn its 5 in morn, I gotta Go wake your mum and send her to work. Check ya later.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    He could make so much money!!! His arm would never get tired lol
    +2
  • S @ salazarcosplay:
    How are yall doing
    +1
    S @ salazarcosplay: How are yall doing +1