Hacking Official [Release] CakesFW

  • Thread starter Thread starter mid-kid
  • Start date Start date
  • Views Views 842,156
  • Replies Replies 3,542
  • Likes Likes 73
So, time for a new nightly.
N3DS support for AGB_FIRM patching alongside some fixes to the firmware.bin decryption on n3ds.
For this to work you need to have the reboot patch enabled.
Here are the updated AGB cakes that also work on n3ds:
agb_signatures.cake: http://chunk.io/f/6060f6a6decb4f26afcf638170903bcf.cake
agb_bootscreen.cake: http://chunk.io/f/8468a371cb26400285e91b3db1278382.cake
Most of the info on how to install from previous nightly is still valid: http://gbatemp.net/threads/release-cakesfw.391200/page-145#post-6229995
Get the agb_firmware.bin and agb_cetk from here: https://raw.githubusercontent.com/mid-kid/CakesForeveryWan/master/agb_firmurln3ds
Please report any and all shortcomings you may find.

I know it's a bit shitty how I go around putting cakes to download on random posts, but that won't be the case for long. I want some central place where my and other people's cakes can be featured and downloaded from, either a site or just another thread. I'll be working to make that a thing soon enough. I just don't want to bloat the "core" set of cakes. 5 is more than enough.
I've removed the "future hopeful features" from the OP, as I haven't been updating it properly, and isn't quite as accurate anymore.
Next thing to work on will be TWL, after which I'll probably fix the userland .cake files. @WhoAmI? almost finished the website, after which I'll have to start filling it with content.

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

Oh, and here goes asking for people if they can still reproduce this problem in nightly 157: https://github.com/mid-kid/CakesForeveryWan/issues/28
@GothicIII, could you check?

The agb_bootscreen isn't working on my N3DS, the GBA games stay on a black screen for like 3 seconds and then the game starts without the game boy bootscreen, can someone confirm that?
 
The agb_bootscreen isn't working on my N3DS, the GBA games stay on a black screen for like 3 seconds and then the game starts without the game boy bootscreen, can someone confirm that?

It worked for @liomajor, who tested it for me. I hear from aureinand that some games don't like the bootscreen, though.
 
here is the arm9loaderhax.bin for the 157 nightly
just extract it to your sd card

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

I didn't do it :v

not sure how..
read the info for your boot manager it will tell you how to do it
 

Attachments

To anyone here who's on a windows environment and is still having problems compiling this, I have managed to compile it with the following steps:

I'm on windows 10 and have set all parameters for the "PATH" that includes python2.7 and 3.4 (which is the last version of python3 that has yaml support)

So:
1. Get python from https://www.python.org/downloads/ and download version 3.4.4
2. Get Pyaml from http://pyyaml.org/wiki/PyYAML -- choose "for python 3.4" and your corresponding windows os flavor/bit.
3. Install both packages.
4. Configure/add them to your PATH /windows environment details
5. Open CMD to test -- type "py -3" without the quotes, it will give you the python 3 version on your system. Then you can type "Exit()" to return to cmd prompt.
6. Clone mid-kid's cakes cfw repo (https://github.com/mid-kid/CakesForEveryWan.git)
7. Open the makefile on a text editor and change this line:
"PYTHON :=" to "PYTHON := py -3" , save and compile.

Worked for me without issues!

Code:
built ... Cakes.3dsx
built ... Cakes.smdh
rm /e/VM/output/git/CakesForEveryWan/out/3ds/Cakes/Cakes.elf
make[1]: Leaving directory `/e/VM/output/git/CakesForEveryWan/CakeBrah'

Thanks for @mid-kid for pointing out the solution!
 
  • Like
Reactions: Madridi and DjoeN
To anyone here who's on a windows environment and is still having problems compiling this, I have managed to compile it with the following steps:

I'm on windows 10 and have set all parameters for the "PATH" that includes python2.7 and 3.4 (which is the last version of python3 that has yaml support)

So:
1. Get python from https://www.python.org/downloads/ and download version 3.4.4
2. Get Pyaml from http://pyyaml.org/wiki/PyYAML -- choose "for python 3.4" and your corresponding windows os flavor/bit.
3. Install both packages.
4. Configure/add them to your PATH /windows environment details
5. Open CMD to test -- type "py -3" without the quotes, it will give you the python 3 version on your system. Then you can type "Exit()" to return to cmd prompt.
6. Clone mid-kid's cakes cfw repo (https://github.com/mid-kid/CakesForEveryWan.git)
7. Open the makefile on a text editor and change this line:
"PYTHON :=" to "PYTHON := py -3" , save and compile.

Worked for me without issues!

Code:
built ... Cakes.3dsx
built ... Cakes.smdh
rm /e/VM/output/git/CakesForEveryWan/out/3ds/Cakes/Cakes.elf
make[1]: Leaving directory `/e/VM/output/git/CakesForEveryWan/CakeBrah'

Thanks for @mid-kid for pointing out the solution!
@Madridi this does indeed solve the problem :)
Thanks @Sev501 and @mid-kid for this.

Here's the batch file (Thanks to @WhoAmI? ) i use to compile it on my Laptop with Python 3:

Code:
@echo off
Title = Building CakeFW...
cls
%~d0
cd %~dp0
if exist "CakesForeveryWan" (
    xcopy d:\CakesForeveryWan\out\* d:\CFWBackups\CakesForeveryWan\ /e /i /y
    cd CakesForeveryWan
    Title = Building CakeFW ^(Update^)...
    echo Updating repo...
    git pull origin master
    git submodule update --init --recursive
) else (
    Title = Building CakeFW ^(Clone^)...
    echo Cloning repo...
    git clone --recursive https://github.com/mid-kid/CakesForeveryWan.git
    cd CakesForeveryWan
)
echo Building...
Title = Building CakeFW ^(Clean^)...
make clean
Title = Building CakeFW ^(Release^)...
make
Title =  Building CakeFW ^(Done^)
echo.
xcopy d:\CakesForeveryWan\build\main.bin d:\CakesForeveryWan\out\arm9loaderhax.bin* /y
echo.  
echo ################################################
color A
echo Done. All Files are in the "CakesForeveryWan/out" folder.
cd %~dp0
pause >nul
goto :EOF

Use make release to have the out folder zipped into a Cakes_xxx.zip file
 
To anyone here who's on a windows environment and is still having problems compiling this, I have managed to compile it with the following steps:

I'm on windows 10 and have set all parameters for the "PATH" that includes python2.7 and 3.4 (which is the last version of python3 that has yaml support)

So:
1. Get python from https://www.python.org/downloads/ and download version 3.4.4
2. Get Pyaml from http://pyyaml.org/wiki/PyYAML -- choose "for python 3.4" and your corresponding windows os flavor/bit.
3. Install both packages.
4. Configure/add them to your PATH /windows environment details
5. Open CMD to test -- type "py -3" without the quotes, it will give you the python 3 version on your system. Then you can type "Exit()" to return to cmd prompt.
6. Clone mid-kid's cakes cfw repo (https://github.com/mid-kid/CakesForEveryWan.git)
7. Open the makefile on a text editor and change this line:
"PYTHON :=" to "PYTHON := py -3" , save and compile.

Worked for me without issues!

Code:
built ... Cakes.3dsx
built ... Cakes.smdh
rm /e/VM/output/git/CakesForEveryWan/out/3ds/Cakes/Cakes.elf
make[1]: Leaving directory `/e/VM/output/git/CakesForEveryWan/CakeBrah'

Thanks for @mid-kid for pointing out the solution!
>windows
 
  • Like
Reactions: astronautlevel
@mid-kid
n3DS_XL with A9LH here. It looks as if autoboot no longer works with v157. Autoboot gives a black screen. Power and L is booting into the Config and starting CakesCFW from there works as expected.
Back to v155 and autoboot is ok again.
Anyhow, thanks for CakesCFW! Great work!
 
@mid-kid
n3DS_XL with A9LH here. It looks as if autoboot no longer works with v157. Autoboot gives a black screen. Power and L is booting into the Config and starting CakesCFW from there works as expected.
Back to v155 and autoboot is ok again.
Anyhow, thanks for CakesCFW! Great work!

Try "Force saving patched FIRM" in the options. See if that fixes the problem.

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

3.4 (which is the last version of python3 that has yaml support)

PyYAML works fine on 3.5. You could try `C:\python3whatver\python.exe -m pip install pyyaml`, instead of installing it with the installer from the website, but either way is fine.
 
  • Like
Reactions: Sev501
So, time for a new nightly.
N3DS support for AGB_FIRM patching alongside some fixes to the firmware.bin decryption on n3ds.
For this to work you need to have the reboot patch enabled.
Here are the updated AGB cakes that also work on n3ds:
agb_signatures.cake: http://chunk.io/f/6060f6a6decb4f26afcf638170903bcf.cake
agb_bootscreen.cake: http://chunk.io/f/8468a371cb26400285e91b3db1278382.cake
Most of the info on how to install from previous nightly is still valid: http://gbatemp.net/threads/release-cakesfw.391200/page-145#post-6229995
Get the agb_firmware.bin and agb_cetk from here: https://raw.githubusercontent.com/mid-kid/CakesForeveryWan/master/agb_firmurln3ds
Please report any and all shortcomings you may find.

I know it's a bit shitty how I go around putting cakes to download on random posts, but that won't be the case for long. I want some central place where my and other people's cakes can be featured and downloaded from, either a site or just another thread. I'll be working to make that a thing soon enough. I just don't want to bloat the "core" set of cakes. 5 is more than enough.
I've removed the "future hopeful features" from the OP, as I haven't been updating it properly, and isn't quite as accurate anymore.
Next thing to work on will be TWL, after which I'll probably fix the userland .cake files. @WhoAmI? almost finished the website, after which I'll have to start filling it with content.

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

Oh, and here goes asking for people if they can still reproduce this problem in nightly 157: https://github.com/mid-kid/CakesForeveryWan/issues/28
@GothicIII, could you check?

Great Job mate!!!

This looks more cool each time i check it.

Im still on 138 cause I dont play GBA\ds games neither use emunand\rednand. Is there any advantage to upgrade it right now?
 
Great Job mate!!!

This looks more cool each time i check it.

Im still on 138 cause I dont play GBA\ds games neither use emunand\rednand. Is there any advantage to upgrade it right now?

No, not really. Well, region free, if you're into that.
 
  • Like
Reactions: klear

Site & Scene News

Popular threads in this forum