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

The Catboy

GBAtemp Official Catboy™: Big Smug
Member
Joined
Sep 13, 2009
Messages
26,705
Trophies
4
Location
Making a non-binary fuss
XP
33,795
Country
Antarctica
Yeah, I can't believe I forgot Cakes. I even used it when hacking my first 3DS.
I am currently running CakesFW 178. I basically run Nightlies if they are available.
But Corbenik is now my main and has been since launch. I am honestly loving the hell out of this CFW.
 
  • Like
Reactions: chaoskagami

GBHAKC75

Well-Known Member
Member
Joined
Jan 26, 2008
Messages
406
Trophies
0
XP
553
Country
France
No duh. You can't load userland patches without loader. That's not a bug.

EDIT: Apologies if I seem hostile above. Kinda tired at the moment, and I would have thought this would be pretty clear from the README (apparently not). :sleep:

Maybe you could lock those options if loader isn't enabled ? I know it's a CFW mainly for devs and such, but let's be honest, a lot of users are not devs and if that's not a huge pain it would be nice I think.
Btw, Corbenik (I always spells it as Cobernik, don't know why...) is now my main CFW, and it's great, really. Looks like what I wanted Cakes to be : customizable, with a lot of patches.

Few (more) ideas if you're interrested :
- Display "Sys"/"Emu" instead of "Ver." in System Settings
- Not sure if possible, but load NTR plugins (or have a comparable plugin system as NTR is dead) would be amazing ! I use cheats (I know, it kills the game, it's bad, blah. I don't care, I play my games offline the way I want) but I would like to ditch NTR as it's not active anymore and forces us to use 10.2 FIRM

Anyway, really nice work here, I just love this CFW.
 
Last edited by GBHAKC75,

Orkna

Well-Known Member
Member
Joined
Feb 7, 2014
Messages
379
Trophies
0
Location
Sviiiiiden
XP
277
Country
As long as I hit no severe bugs in my usage tomorrow, I'll be releasing end-of-day another version.

As for @Orkna - if you're still having speed issues when recompiling the latest git, something is wrong with your system. I'm rate limiting keypresses to an approximate human measured limit - somewhere around ~4 per second.

Next release will be a while after the next unless anything severe happens. I'm currently sitting here staring at radare2 and doing something utterly insane. I'll refrain from saying what I'm doing unless I actually finish. :sleep:

Woho! It's much better. It does jump two selections sometimes but not all the time. Thank you!!!
 

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
OP
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,248
Country
United States
Maybe you could lock those options if loader isn't enabled ? I know it's a CFW mainly for devs and such, but let's be honest, a lot of users are not devs and if that's not a huge pain it would be nice I think.
Btw, Corbenik (I always spells it as Cobernik, don't know why...) is now my main CFW, and it's great, really. Looks like what I wanted Cakes to be : customizable, with a lot of patches.

Few (more) ideas if you're interrested :
- Display "Sys"/"Emu" instead of "Ver." in System Settings
- Not sure if possible, but load NTR plugins (or have a comparable plugin system as NTR is dead) would be amazing ! I use cheats (I know, it kills the game, it's bad, blah. I don't care, I play my games offline the way I want) but I would like to ditch NTR as it's not active anymore and forces us to use 10.2 FIRM

Anyway, really nice work here, I just love this CFW.

This isn't for people who don't know what they're doing, and I'm not going to limit my scope to newbies. I'm being plenty honest here, and I've literally told people who would do something stupid to go use Luma3DS.

Anyways, on your suggestions:

1) I've been planning to implement dependencies for patches so enabling a patch which needs another patch (or an option) will automatically toggle it and disabling an option others depend on will automatically disable dependents. The only case I'll be hiding options is if they're physically unsupported (like the n3ds CPU speed stuff, which IS hidden on o3DS)

2) Any advanced user knows whether they're in emunand, and that requires exporting said information to the VM. I can, if people really want this. It isn't that hard. But why, seriously?

3) I will not go out of my way to copy NTR. A plugin system is unreasonable at this time, and I'd rather (again) have the VM be resident somehow for memory modification. That's on the table as 'I'd like to have cheats' but I've not even started that and it's a long project.

I can at least guarantee it will either use the same VM as everything else or GS-style codes. ARM11 binaries are probably out of the question, since the VM provides a certain amount of sandbox that I like.

---

As an aside - I've been thinking about this, but the userland patches (aside from sysmodules/HOME) could technically be toggleable while the system is running. I need a menu application.
 
Last edited by chaoskagami,

The Catboy

GBAtemp Official Catboy™: Big Smug
Member
Joined
Sep 13, 2009
Messages
26,705
Trophies
4
Location
Making a non-binary fuss
XP
33,795
Country
Antarctica
Maybe you could lock those options if loader isn't enabled ? I know it's a CFW mainly for devs and such, but let's be honest, a lot of users are not devs and if that's not a huge pain it would be nice I think.
Btw, Corbenik (I always spells it as Cobernik, don't know why...) is now my main CFW, and it's great, really. Looks like what I wanted Cakes to be : customizable, with a lot of patches.

Few (more) ideas if you're interrested :
- Display "Sys"/"Emu" instead of "Ver." in System Settings
The best way to know if you are running in either sysNAND or emuNAND, is to make sure you turned on the emuNAND option. If you turned it on, you really shouldn't need a reminder.

Honestly, there's plenty of User Friendly CFW's on the market right now. There's really no reason to dumb down a project for mass appeal when there's already CFW's that fill the needs of the masses.
 

GBHAKC75

Well-Known Member
Member
Joined
Jan 26, 2008
Messages
406
Trophies
0
XP
553
Country
France
This isn't for people who don't know what they're doing, and I'm not going to limit my scope to newbies. I'm being plenty honest here, and I've literally told people who would do something stupid to go use Luma3DS.

Anyways, on your suggestions:

1) I've been planning to implement dependencies for patches so enabling a patch which needs another patch (or an option) will automatically toggle it and disabling an option others depend on will automatically disable dependents. The only case I'll be hiding options is if they're physically unsupported (like the n3ds CPU speed stuff, which IS hidden on o3DS)

2) Any advanced user knows whether they're in emunand, and that requires exporting said information to the VM. I can, if people really want this. It isn't that hard. But why, seriously?

3) I will not go out of my way to copy NTR. A plugin system is unreasonable at this time, and I'd rather (again) have the VM be resident somehow for memory modification. That's on the table as 'I'd like to have cheats' but I've not even started that and it's a long project.

I can at least guarantee it will either use the same VM as everything else or GS-style codes. ARM11 binaries are probably out of the question, since the VM provides a certain amount of sandbox that I like.

---

As an aside - I've been thinking about this, but the userland patches (aside from sysmodules/HOME) could technically be toggleable while the system is running. I need a menu application.

1) Nice, that's exactly what I meant :)

2) That's true, to be honest it's more a "cosmetic" thing than a real useful feature, I just suggested it because if that's simple I'd like to have it, but clearly this is not a "needed" feature

3) I perfectly understand that. I suggested it because I really like your CFW so I thought you might want to hear features ideas for long-term :)

But anyway, do as you like, it's only suggestions, it's your CFW and it's already awesome :)

The best way to know if you are running in either sysNAND or emuNAND, is to make sure you turned on the emuNAND option. If you turned it on, you really shouldn't need a reminder.

Honestly, there's plenty of User Friendly CFW's on the market right now. There's really no reason to dumb down a project for mass appeal when there's already CFW's that fill the needs of the masses.

As I said before, IMO this is not a feature to make the CFW more user-friendly, but it's just a cosmetic feature.
 
Last edited by GBHAKC75,

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
OP
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,248
Country
United States
MSET version has changed to ".hack//1100:33E"

I can revert that if people don't like it. I was just fooling around with the format strings. I'd rather come up with a more permanent way to expand said settings string so I can keep the dots (god why)
 
Last edited by chaoskagami,
  • Like
Reactions: astronautlevel

The Catboy

GBAtemp Official Catboy™: Big Smug
Member
Joined
Sep 13, 2009
Messages
26,705
Trophies
4
Location
Making a non-binary fuss
XP
33,795
Country
Antarctica
So I've been testing out region-free for a bit. I've tested Ace Attorney trilogy, which is the EU version and Ecco 3D (EU) and thus far the games work just fine on my US system.
I can revert that if people don't like it. I was just fooling around with the format strings.
I actually like it more
 
  • Like
Reactions: chaoskagami

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
OP
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,248
Country
United States
So I've been testing out region-free for a bit. I've tested Ace Attorney trilogy, which is the EU version and Ecco 3D (EU) and thus far the games work just fine on my US system.

I actually like it more

...Same. B-)
 

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
OP
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,248
Country
United States
Quick question, does this support RedNAND? I don't use emuNAND/RedNAND myself, but knowledge is power!

Yes, it supports first-sector at back (gateway/"emunand") and direct copy (redirected/rednand).

You'll see 'emunand: layout is gateway' in the log with the former and 'emunand: layout is normal' for the latter.

EDIT: By the way, is it me or is 3dbrew guru meditating/503?
 
Last edited by chaoskagami,

GBHAKC75

Well-Known Member
Member
Joined
Jan 26, 2008
Messages
406
Trophies
0
XP
553
Country
France
It was down last night for a couple hours too, I don't think it's maintenance

Actually, 503 is usually used for maintenance. It could be overloaded servers, but then you could see the pages.
It's not a server issue (as it's not 500/502).

Just wait a few moments and it should be fine.
 

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
OP
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,248
Country
United States
Actually, 503 is usually used for maintenance. It could be overloaded servers, but then you could see the pages.
It's not a server issue (as it's not 500/502).

Just wait a few moments and it should be fine.

That actually isn't necessarily correct here. The page is being served through varnish - which is an in-the-middle cache server. Varnish may report 503, but that says nothing of the actual server behind it. It says 'backend fetch failed' which means the actual server could have crashed. Or worse.

Oh well. A couple of months ago I let dumpgenerator get me a copy (I rate limited properly like a nice person, fyi.) Bit out of date, but eh.
 
Last edited by chaoskagami,
  • Like
Reactions: gnmmarechal

GBHAKC75

Well-Known Member
Member
Joined
Jan 26, 2008
Messages
406
Trophies
0
XP
553
Country
France
That actually isn't necessarily correct here. The page is being served through varnish - which is an in-the-middle cache server. Varnish may report 503, but that says nothing of the actual server behind it. It says 'backend fetch failed' which means the actual server could have crashed. Or worse.

Oh well. A couple of months ago I let dumpgenerator get me a copy (I rate limited properly like a nice person, fyi.) Bit out of date, but eh.

Funny, does Varnish really reports "backend fetch failed" as 503 ? It should be 502...
I have myself Varnish on few servers, but never experienced failure with it.
 
General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Training constantly