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

BARNWEY

Well-Known Member
Member
Joined
Oct 11, 2016
Messages
1,268
Trophies
0
XP
648
Country
United States
I tried the updator, it works, but now it won't boot system menu. I select launch system, and it says firmwareload fail.
I'm getting that too, but it installs regular corbenik fine... It's really odd to me...

Edit: I found the issues, you have to replace the FIRM files and copy over any missing files from your Corbenik folder. The updater provided corrupted FIRM files and didn't provide some files for me. Afterwards, it worked fine...

How do I report bugs when using skeith?
Edit: Skeith doesn't like HighMem games on O3DS.... IDK why..
 
Last edited by BARNWEY,

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
I'm having compilation issues with the new commits, not sure if is due the fact that I updated the devkitARM to r46 or if is a new compilation bug

Yeah, looks devkitPro related. I'm still using r45 on my laptop, so I guess I'll blame r46 for this. Seems easy enough to resolve, anyways.

I was only using sigpatches and firm protection. Going to try to get the ancient sysdowngraders to work so I can at least have access to signed test menu, devmenu, and some other titles... Fwiw, I tried using a cn dump, but that failed... Might be due to me installing it while on 11.x?

I have no idea. 2.x isn't exactly the most stable firmware. Most of the pre-rewrite firmware versions are physically incompatible with post-rewrite applications. It's not like one would want to run 2.x for a very long time, so if anything I'd say that's more a PoC than anything.

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

It doesn't work, I'll try using Skeith later. For now, I have to go, sorry dude...

Yeah, please use the hourly from jenkins: https://j.chaos.moe/

The stable release is old now. Ancient, even, and there are a few known issues in it. I keep telling myself to make a new stable release and not doing it. :/
 

Gray_Jack

Well-Known Member
Member
Joined
Jan 13, 2016
Messages
732
Trophies
0
XP
417
Country
Yeah, looks devkitPro related. I'm still using r45 on my laptop, so I guess I'll blame r46 for this. Seems easy enough to resolve, anyways.

Btw, I was reading your code, you asked to someone to remember you to fix a thing in reboot.c and in module.c there is a "SUPER FIXME 9000: DO NOT LEAVE AS IS" somewhere.
Just remembering you. You probably remember all of this, but it just feel right to report. :3
 

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
Btw, I was reading your code, you asked to someone to remember you to fix a thing in reboot.c and in module.c there is a "SUPER FIXME 9000: DO NOT LEAVE AS IS" somewhere.
Just remembering you. You probably remember all of this, but it just feel right to report. :3

module.c: It'll keep working as long as nintendo doesn't release a FIRM that's ridiculously larger. It's fine for now. I added that as a reminder that I should be properly realloc'ing there. The memory corruption notice is a renmant of back when things were (somehow) working with the old non-newlib allocator. That should probably be cleaned out.

reboot.c: Nothing actually broken. Just a reminder to myself to rewrite that; and given that I'm going over and cleaning up all the code, that's pretty irrelevant.

I do a grep every once in a while for when I leave a fixme. Trust me, I haven't forgotten. I'm not a little kid. :P

Just checked; devkitpro r46 requires changes to ctrulib, and corbenik uses its own fork, which wasn't updated yet
edit: ninja'd by 19 minutes, whoops

I already fixed ctrulib (probably) but compilation of r46 is proving annoying. I'm doing an `emerge =gcc-6.3.0` since I suspect I need GCC 6.3 to build it (which is sad.) Anyways, whenever this finishes compiling and I test, changes will be pushed. It's also probably going to render the code incompatible with r45.
 

ketal

aiueo
Member
Joined
Aug 20, 2015
Messages
744
Trophies
0
XP
677
Country
Italy
module.c: It'll keep working as long as nintendo doesn't release a FIRM that's ridiculously larger. It's fine for now. I added that as a reminder that I should be properly realloc'ing there. The memory corruption notice is a renmant of back when things were (somehow) working with the old non-newlib allocator. That should probably be cleaned out.

reboot.c: Nothing actually broken. Just a reminder to myself to rewrite that; and given that I'm going over and cleaning up all the code, that's pretty irrelevant.

I do a grep every once in a while for when I leave a fixme. Trust me, I haven't forgotten. I'm not a little kid. :P



I already fixed ctrulib (probably) but compilation of r46 is proving annoying. I'm doing an `emerge =gcc-6.3.0` since I suspect I need GCC 6.3 to build it (which is sad.) Anyways, whenever this finishes compiling and I test, changes will be pushed. It's also probably going to render the code incompatible with r45.
code will be incompatible with r45 for sure;
there was a bug once that made it impossible to compile gcc5 with gcc6, not sure about the other way around
 
  • 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,287
Country
United States
code will be incompatible with r45 for sure;
there was a bug once that made it impossible to compile gcc5 with gcc6, not sure about the other way around

It's funny because for all that gcc6 brought to the table, it broke a lot. It's actually masked on Gentoo since it breaks half of the packages in portage.

Anyways, I'm hopeful that it's only ctrulib that needs to be updated. Given all the warning flags I have on and that most are also -Werror -- my code is standard C aside from a few uses of __attribute__ and cast alignment issues (which actually aren't; memalign.)
 
  • Like
Reactions: ketal

Gray_Jack

Well-Known Member
Member
Joined
Jan 13, 2016
Messages
732
Trophies
0
XP
417
Country
I do a grep every once in a while for when I leave a fixme. Trust me, I haven't forgotten. I'm not a little kid.
Oh!! I didn't mean to offend you, sorry if it sound like it. >.<
I just got a little scared about a fixme with only upper cases and in the reboot.c you asked to someone to remember you about, so I did it

I'm really really sorry if I offended you. >.<
 
  • 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,287
Country
United States
Oh!! I didn't mean to offend you, sorry if it sound like it. >.<
I just got a little scared about a fixme with only upper cases and in the reboot.c you asked to someone to remember you about, so I did it

I'm really really sorry if I offended you. >.<

Aw, jeez. Nah, not offended~

Uppercase with me is usually when I'm tired and push something incomplete. If I actually needed to fix it; it'd be fixed. Immediately. Next commit. Heh.
 
  • Like
Reactions: Gray_Jack

The Catboy

GBAtemp Official Catboy™: Savior of the broken
Member
Joined
Sep 13, 2009
Messages
28,186
Trophies
4
Location
Making a non-binary fuss
XP
40,075
Country
Antarctica
I've been keeping up with the nightlies for quite some time and they've been extremely stable for me. Why not after this bug is fixed, push out a stable release?
If anything, the Stable release will really be welcomed with the Pokemon S/M patch working without any hassle.
 

BARNWEY

Well-Known Member
Member
Joined
Oct 11, 2016
Messages
1,268
Trophies
0
XP
648
Country
United States
Yeah, looks devkitPro related. I'm still using r45 on my laptop, so I guess I'll blame r46 for this. Seems easy enough to resolve, anyways.



I have no idea. 2.x isn't exactly the most stable firmware. Most of the pre-rewrite firmware versions are physically incompatible with post-rewrite applications. It's not like one would want to run 2.x for a very long time, so if anything I'd say that's more a PoC than anything.

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



Yeah, please use the hourly from jenkins: https://j.chaos.moe/

The stable release is old now. Ancient, even, and there are a few known issues in it. I keep telling myself to make a new stable release and not doing it. :/
Alright, thank you. I was using Corbenik Updater to download Skeith and it didn't work correctly (like HighMem games wouldn't load.) I'll try skeith from there later...
 

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
Alright, thank you. I was using Corbenik Updater to download Skeith and it didn't work correctly (like HighMem games wouldn't load.) I'll try skeith from there later...

I think his updater fetches from my jenkins, but I'm unsure. I can't officially support the updater.

Anyways, R46 should work now. I'm crossing my fingers that next jenkins build succeeds (and is sane.) Triggering it manually.
 
Last edited by chaoskagami,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    @Xdqwerty I don't have a ROG ally
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i don't have one either
    +1
  • SylverReZ @ SylverReZ:
    @AcuteBulbasaurappears, A cute bulbasaur appears. :D
    +2
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, The Wii U gamepads are tied to the console's region, so its impossible to find a cheap gamepad that supports your model.
  • SylverReZ @ SylverReZ:
    Unless you modify your system, of course, and remove the region check.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, im now by episode 8 of lain
  • S @ salazarcosplay:
    @Xdqwerty can we discuss chrono trigger
  • S @ salazarcosplay:
    @Xdqwerty I like how the game had the middle ages 1000AD, the dark ages 600AD.It was great seeing the post robot apocalypse 2300 like Terminator and enter the matrix. some of mad max and fallout. 2300ad though it could had used more elements instead of just a generic ai uprising. It was a great idea for their judgement day to be 1999 Y2K.

    -great additions if they would have made an expansion or dlc in my opinion would be finding out humans trapped in a matrix -

    a follower having a cyborg character living tissue over metal endoskelleton like terminator, and the synths from fallout
  • S @ salazarcosplay:
    4After Zeal fell it would have been good to see more ancient eras. Perhaps Sumeria based in one area, then Egypt based in another area, Greek based in another area, then roman based in another area before the middle ages.---------

    ----between 1000ad and 1999 is a big gap they should have had the age of revolution like the american and French Revolution

    then the cowboyy era in one area of map and the Industrial revolution/age of enlightmentthen a ww1 and ww2 and a cold war era
  • S @ salazarcosplay:
    they could have added 75,000 bc like assassins creed. zeal was already establish in 12, 000 bc , soething before the kindom rose
  • S @ salazarcosplay:
    @Xdqwerty they could also add age of dscover, colonialism ect
    +1
  • S @ salazarcosplay:
    renaissance
  • S @ salazarcosplay:
    @Xdqwerty what did you think
  • S @ salazarcosplay:
    @Xdqwerty I think glenn (the frog) after becomming human had an affair with the queen
  • S @ salazarcosplay:
    so he is the great great great great grandfather of marle @Xdqwerty
  • S @ salazarcosplay:
    they made it like Lancelot from king arthur legends
  • BakerMan @ BakerMan:
    just found out i'm now taller than my dad
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, sorry i was busy
  • S @ salazarcosplay:
    @Xdqwerty thats completely fine
    +1
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay,
    the ds version added a secret boss reference to chrono cross
  • S @ salazarcosplay:
    @Xdqwerty did you finish watching naruto shippuden and Boruto
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, i havent even started lol
    Xdqwerty @ Xdqwerty: @salazarcosplay, i havent even started lol