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

Gray_Jack

Well-Known Member
Member
Joined
Jan 13, 2016
Messages
732
Trophies
0
XP
417
Country
I still doesn't tested the CETKs to decrypt the FIRMs. Gonna try it tomorrow

Well, thank you all for the help, I appreciate it :3
 
Last edited by Gray_Jack,

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
I still doesn't tested the CETKs to decrypt the FIRMs. Gonna try it tomorrow

Well, thank you all for the help, I appreciate it :3

CETK decryption should be unbroken on a9lh now, yeah. The code hasn't been tested on O3DS but I assume at least that it's fine.
 
  • Like
Reactions: Gray_Jack

gnmmarechal

Well-Known Member
Member
GBAtemp Patron
Joined
Jul 13, 2014
Messages
6,045
Trophies
2
Age
25
Location
https://gs2012.xyz
Website
gs2012.xyz
XP
6,023
Country
Portugal
CETK decryption should be unbroken on a9lh now, yeah. The code hasn't been tested on O3DS but I assume at least that it's fine.
Hum, I think the README is wrong on something, gonna submit a pull request. Though my repo is a mess cuz I keep merging instead of rebasing, so it says I'm 27 commits ahead x.x

oh well.
 
Last edited by gnmmarechal,

gnmmarechal

Well-Known Member
Member
GBAtemp Patron
Joined
Jul 13, 2014
Messages
6,045
Trophies
2
Age
25
Location
https://gs2012.xyz
Website
gs2012.xyz
XP
6,023
Country
Portugal
No idea what happened here, just compiled Corbenik, and this happens. I only made changes to strings, so I'll check my changes and see if they are an issue. The menu is all messed up.



Sent from my Nokia 3310 using Tapatalk
 

gnmmarechal

Well-Known Member
Member
GBAtemp Patron
Joined
Jul 13, 2014
Messages
6,045
Trophies
2
Age
25
Location
https://gs2012.xyz
Website
gs2012.xyz
XP
6,023
Country
Portugal
No idea what happened here, just compiled Corbenik, and this happens. I only made changes to strings, so I'll check my changes and see if they are an issue. The menu is all messed up.



Sent from my Nokia 3310 using Tapatalk
250797dfb093e05846c1c8ddda042ed9.jpg


Sent from my Nokia 3310 using Tapatalk







EDIT: NVM, erasing the config fixed it.


I should've followed my own advice and not do a dirty update x.x
 
Last edited by gnmmarechal,

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
Has anything changed in regards to the menu selection lately? ;) Having trouble selecting stuff in the settings again.

Yes, because that code was a workaround. It's some kind of issue with your dpad.

The delay being innaccurate was slowing down the menu with re-renders and hogging the input. I couldn't justify keeping it any longer. I'm rather sure that your dpad is shorted, or has food under it or...something.

I know that's probably not what you want to hear.

--------------------- MERGED ---------------------------

250797dfb093e05846c1c8ddda042ed9.jpg


Sent from my Nokia 3310 using Tapatalk







EDIT: NVM, erasing the config fixed it.


I should've followed my own advice and not do a dirty update x.x

Yes, that weird behavior is due to adding the accent color as an option. Having it be black causes strange issues with transparency, so it's initialized by default to 2 (green). The value is clamped from 1-7. Old configs have that as zero.
 
Last edited by chaoskagami,
  • Like
Reactions: gnmmarechal

Orkna

Well-Known Member
Member
Joined
Feb 7, 2014
Messages
379
Trophies
0
Location
Sviiiiiden
XP
277
Country
Yes, because that code was a workaround. It's some kind of issue with your dpad.

The delay being innaccurate was slowing down the menu with re-renders and hogging the input. I couldn't justify keeping it any longer. I'm rather sure that your dpad is shorted, or has food under it or...something.

I know that's probably not what you want to hear.

Then it shouldn't work perfect in all other apps and games? This is ONLY happening in Corbenik settings. Thanks for taking your time to answer. :)
 

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
Then it shouldn't work perfect in all other apps and games? This is ONLY happening in Corbenik settings. Thanks for taking your time to answer. :)

I already answered this question before: Luma and other CFWs loop at 60fps rate limited (vsync). Games also don't usually check for buttondown and then buttonup, and also vsync to the display. Realistically, it's physically impossible in most games to get more than one input per frame, which is why the shorting isn't an issue during normal use on your console.

I run as fast as the CPU lets me, and I stall on waiting for input, so the framerate is uncapped in the menu.

As I've said; If I get timer code implemented and rewrite the menu code, this will be resolved. I'm doing other things at the moment, and I can't repro this.
 
  • Like
Reactions: Gray_Jack and Orkna

gnmmarechal

Well-Known Member
Member
GBAtemp Patron
Joined
Jul 13, 2014
Messages
6,045
Trophies
2
Age
25
Location
https://gs2012.xyz
Website
gs2012.xyz
XP
6,023
Country
Portugal
Yes, because that code was a workaround. It's some kind of issue with your dpad.

The delay being innaccurate was slowing down the menu with re-renders and hogging the input. I couldn't justify keeping it any longer. I'm rather sure that your dpad is shorted, or has food under it or...something.

I know that's probably not what you want to hear.

--------------------- MERGED ---------------------------



Yes, that weird behavior is due to adding the accent color as an option. Having it be black causes strange issues with transparency, so it's initialized by default to 2 (green). The value is clamped from 1-7. Old configs have that as zero.
Yay colours :)

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
@chaoskagami
Did you changed the libraries needed to compile the last commit?

Yes.

You'll need more requirements now to build. Corbenik now uses Gelex's libctr9_io as a submodule. You'll need to fetch that, and you'll also need automake/autoconf on your system.
 

Wolfvak

nyaa~
Member
Joined
Oct 25, 2015
Messages
918
Trophies
1
XP
3,486
Country
Uruguay
How do I compile that library?
autoreconf -if
./configure --host arm-none-eabi
make

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

Can I say that I love so much this CFW? <3

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

The Catboy

GBAtemp Official Catboy™: Savior of the broken
Member
Joined
Sep 13, 2009
Messages
28,096
Trophies
4
Location
Making a non-binary fuss
XP
39,843
Country
Antarctica
You're gonna love it even more once libctr9 is fully supported (crypto is missing some little things)
So you're saying there's a new feature I abuse and spend all night attempting to break? :tpi:
 

Wolfvak

nyaa~
Member
Joined
Oct 25, 2015
Messages
918
Trophies
1
XP
3,486
Country
Uruguay
So you're saying there's a new feature I abuse and spend all night attempting to break? :tpi:
Not really, libctr9 is already what i use for KGB and its been heavioy tested already. Nothing shouod break, but feel free to muck around. For example, from what i recall the FatFS version used by libctr9 behaved differently than the previous one - chainloader menu broke.
 
  • Like
Reactions: gnmmarechal

The Catboy

GBAtemp Official Catboy™: Savior of the broken
Member
Joined
Sep 13, 2009
Messages
28,096
Trophies
4
Location
Making a non-binary fuss
XP
39,843
Country
Antarctica
Not really, libctr9 is already what i use for KGB and its been heavioy tested already. Nothing shouod break, but feel free to muck around. For example, from what i recall the FatFS version used by libctr9 behaved differently than the previous one - chainloader menu broke.
80% of what I do to this CFW is spending hours throwing random shit at it until it's either broken or I get bored of trying. I mean, sure it's stable, but it hasn't gone through the Crystal abuse yet :tpi:

Accent colors!
 
Last edited by The Catboy,
  • Like
Reactions: gnmmarechal

Gray_Jack

Well-Known Member
Member
Joined
Jan 13, 2016
Messages
732
Trophies
0
XP
417
Country
autoreconf -if
./configure --host arm-none-eabi
make

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

Is the library installed in the devkitpro folder?
Cause I installed it but I still get the same error when compiling corbenik

Code:
autoreconf: 'configure.ac' or 'configure.in' is required
Makefile:62: recipe for target 'ctr9io' failed
make: *** [ctr9io] Error 1
 

Gray_Jack

Well-Known Member
Member
Joined
Jan 13, 2016
Messages
732
Trophies
0
XP
417
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
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/FdYTKAVSsXY?si=9E-2AU0JN-4hRZi3